When you give an agent tools, the question isn't whether it will call the wrong one. It will. The question is what happens when it does.
The rule I use: read-only by default, a human for anything that changes state, and deny anything nobody has described. The Model Context Protocol already gives you the vocabulary for this, in tool annotations.
The three annotations that matter
readOnlyHint: truemeans the tool only reads. Prices, search, lookups. The agent can call it freely.readOnlyHint: falsemeans it changes something: sends an email, places an order, writes a record. A person approves it first.destructiveHint: truemarks the changes you can't undo. Those get the strictest gate and the clearest approval prompt.
A tool with no annotations is a tool nobody has thought about yet, so the harness refuses it.
Try the gate
Call each tool below. Read-only calls run straight away. State-changing ones stop and ask you. The unannotated one never runs.
get_price({ "symbol": "ACME" })
readOnlyHint: true
search_docs({ "query": "refund policy" })
readOnlyHint: true
send_email({ "to": "client@example.com" })
readOnlyHint: false, destructiveHint: false
delete_record({ "id": 4182 })
readOnlyHint: false, destructiveHint: true
legacy_export({ "all": true })
no annotations
Why deny by default
Allow-by-default means every new tool is trusted the moment someone registers it. Deny-by-default means someone has to say what a tool does before an agent can touch it. The second one costs a few lines of metadata per tool and removes a whole class of incident.
What makes it hold up in production
- The caller's own permissions. Each call runs under the user's short-lived token, so the agent can never do more than the person could.
- An audit trail. Every call is logged with who made it, the arguments and the result.
- Evals before release. A regression suite checks that the agent picks the right tool with the right arguments, so a prompt change doesn't quietly shift what gets called.