MetorialDocs

Give teams read-only access or block write and destructive tools

Use Metorial tool filters to allow only read-only tools, or reject write and destructive tools, per integration, team, Magic MCP server, or session.

Metorial sorts every tool of an integration into Read-Only Tools, Write Tools, and Destructive Tools. In an integration's Tool Filters, set each group to Allow, Reject, or Mixed: allow read-only tools and reject the other two, and the integration becomes read-only for everyone who uses it. Grant that integration to a team's group and the restriction applies in every AI client they connect, because rejected tools are never sent to the client.

What you'll learn

  • How Metorial classifies tools
  • How to create a read-only integration and give it to one team
  • Where else filters apply, from Magic MCP servers to API sessions

Before you start

How tools are classified

Each tool carries tags from its provider. Metorial reads them like this:

GroupContains
Read-Only ToolsTools tagged read-only, such as listing issues or reading a file
Write ToolsTools that create or change data, and any tool without a read-only or destructive tag
Destructive ToolsTools tagged destructive, such as deleting a repository or a record

Untagged tools land in Write Tools, so rejecting write tools errs on the side of blocking. If a harmless tool ends up there, allow it on its own with Mixed.

Tool filters can also be grouped by Category instead of Access, for example to allow all issue tools but no repository administration tools.

Make an integration read-only for one team

Create the integration

In the dashboard, open Integrations, then Integrations, and select Create Integration. Choose the provider and configure its authentication.

Set the tool filters

Open Tool Filters and group by Access. Set Read-Only Tools to Allow, and Write Tools and Destructive Tools to Reject. To allow a few write tools, set Write Tools to Mixed and select them.

Create it

Review the authentication and filters, then select Create Integration.

Give it to the team

In Workforce, open Access, Integrations, select Add Integration, then Existing Integration, and choose the integration you created. Open it, select Add Group in the Access section, set the team's group to Allow, and select Save.

Check it

Open the integration in Metorial Explorer and confirm only the tools you allowed are listed. Then sign in to the portal as a member of the team and check their client.

Teams that need write access get a second integration for the same provider with different filters, granted to their group.

Where filters apply

WhereHow
IntegrationTool Filters when you create or edit the integration
Magic MCP serverTool Filters while you set up the server
Workforce group grantThe Configure Integration panel when you grant an integration to a group
Client connectionMetorial's consent screen, where each person picks the tools a client may use
API session or templatetool_filters on each provider when you create a session

Admins set the outer limit. A person can narrow it on the consent screen for one client, but cannot widen it.

For agents built on the API, set the filter per provider in the session:

{
  "providers": [
    {
      "provider_deployment_id": "pdp_def456",
      "tool_filters": {
        "type": "allow",
        "keys": ["send_message", "list_channels"]
      }
    }
  ]
}

Add more layers

  • Protoguard checks each tool request against your filters and access policies and blocks requests that do not match, with a record of each decision.
  • Outpost middleware can block a named tool inside your own network before the request reaches Metorial. See Keep data inside your network.
  • Client approval settings add prompts on top: Codex's default_tools_approval_mode = "writes", Claude Code permission rules, and Cursor's run settings. They are set per machine, so use them as a second layer behind Metorial's filters.

Troubleshooting

A read tool is missing from a read-only integration

The provider did not tag it read-only, so it is in Write Tools. Set Write Tools to Mixed and allow that one tool.

A team can still call a write tool

Another grant gives it to them. Check the account's Access page for other groups and direct grants, and check whether a second integration for the same provider is allowed for one of their groups.

Tools changed after a provider update

Providers add tools in new versions. Review filters after an update, and pin the integration to a provider version you have reviewed.

FAQ

Can we make an AI agent read-only for one team but not another?

Yes. Create two integrations for the same provider with different tool filters, and grant each to a different group. Each person gets the version their group allows.

Does the AI client see the tools we rejected?

No. Rejected tools are filtered out before the tool list reaches the client, so the model cannot pick them.

Can users override the filters we set?

No. People can narrow tools further for a client on the consent screen, but they cannot add tools an admin rejected.

Is a read-only filter enough to stop all data changes?

It removes the tools that are tagged as writes or deletes. The app's own permissions still apply on top, so combine filters with per-user OAuth to keep each call within the person's own rights.