Skip to content
docs/concepts
Get started

Tool policy: read, write, approve

A connection’s tool policy decides, for each of the service’s tools, whether an agent’s call runs, waits for you, or is refused. It has three parts: a classification per tool, a default per classification, and an override per tool.

Every tool is one of read, write, or unclassified. A new connection starts with every tool unclassified. The server’s own hints are shown beside each tool as a suggestion: the read-only flag an MCP server may set on a tool, or the HTTP method of a REST operation, where GET suggests read and the rest suggest write. A suggestion is only that. The dashboard takes none of them until you choose Use suggestions, and you can change any tool afterwards.

The classification is what the policy is about, not what the tool does. A GET that triggers a job is a write, however the method reads.

Each classification has a default policy of allow, approve, or deny:

Policy A call
allow runs when the agent makes it
approve waits for you, then runs once if you approve
deny is refused, and the agent is told so

A new connection starts with reads allowed and both writes and unclassified tools requiring approval. Leaving a tool unclassified therefore does not let it run free; it waits for you like a write.

A tool can carry its own policy, which wins over its classification’s default. A read that should still ask, or a write you are happy to let run, is an override on that one tool. The connection’s page shows the effective policy for each tool, which is the override if there is one and the default otherwise.

A call whose effective policy is approve becomes an approval: the tool, the connection, the session that asked, its justification, and the exact arguments. Approving runs those arguments once; the agent cannot change them afterwards, and a second approval of the same call does nothing. Denying runs nothing. An approval not decided within 24 hours expires.

An agent calling a tool that requires approval must give a justification, and the call is refused without one.

You do, on the connection’s page or in its setup. An agent may propose a policy from a file naming only the defaults and tools it wants changed, and the dashboard shows the proposal as a review of what would change. Applying it is your decision. An agent cannot apply its own proposal and cannot approve its own calls.

Applying a policy change cancels calls still waiting under the old policy, so nothing runs under terms you no longer hold. A change to the connection’s endpoint or document clears the classifications, because they describe one service’s tools and do not carry to another; a new document keeps the classification of every tool whose definition is unchanged and leaves the new or changed ones unclassified.