New here? Start this series at Day 31: Give an agent an outcome, a boundary and a stop condition first
- Day 31: Give an agent an outcome, a boundary and a stop condition first
- Day 32: Agent behavior is a loop, not a prompt
- Day 33: Plan before acting when actions cost money or carry risk
- Day 34: Tool access is where AI becomes operational risk
- Day 35: Agent memory is several stores, each with its own rules
- Day 36: Reflection is worth it only when it changes the next action
A model without tools can be wrong. A model with tools can be wrong and send the email, update the record, issue the refund, or delete the rows.
That is the exact line where AI risk stops being reputational and becomes operational.
A tool call is a real operation, not a longer answer.
Once a system can search, write, update, purchase, message, or delete, permission design matters as much as prompt quality.
Treat the tool list like attack surface
The tool list is attack surface. Four rules hold up:
- Strict schemas. Typed parameters with validation, not free text handed to a powerful system. A tool that accepts an arbitrary query string is a tool whose behaviour you have not actually specified.
- Narrow beats general. Specific tools (
get_order_status,issue_refund_under_50) are safer than onerun_query. Narrow tools are easier to validate, easier to log, easier to reason about, and dramatically harder to misuse. The cost is a longer tool list, which raises the odds of the model picking the wrong one, so give each agent only the tools its task needs. - Read-only by default. Write access is granted deliberately, per tool, with a scope and a reason someone can recall in six months. When a tool acts for a user, call it with that user's delegated identity through token exchange (on-behalf-of), so the agent can never do more than the user could.
- Every call logged with arguments, result, and the requesting context. When something goes wrong, the tool log is the investigation.
The blast-radius question
For each tool, ask what the worst outcome would be if it were called with the worst possible arguments, at the worst possible moment, by an agent that has been confidently misled.
Do not ask "would the model do that"; assume it might, because the post on retrieved content covers exactly how an attacker arranges for it to. The question is what currently prevents the damage, and the answer needs to be a system property rather than a hope about model behaviour.
If a tool's worst case is unacceptable, the fix is one of three things: narrow its scope, require human approval, or make it reversible. "The prompt tells it to be careful" is not on the list.
The tool audit
The uncomfortable pattern is that agent systems accumulate tools faster than anyone reviews them. Each addition is individually justified, added under deadline, and never revisited. Six months in, nobody on the team can enumerate what the agent can actually do.
Put a recurring review on the calendar. Print the tool list, and for each one confirm it is still needed, still correctly scoped, and still logged. It takes twenty minutes and it is the cheapest control in this entire series.
Then stop the drift at the source, so that a new tool enters the registry only when its worst case is written down, along with the control outside the model that contains it.
Key takeaways
- A tool call is a real operation, not a longer answer.
Terms in this piece
About this explainer
- Format
- Explainer
- Level
- Practitioner
- Read
- 2 min read
- Published
- Jun 24, 2026
- Disciplines
Short mental models: one idea, why it matters, what to do about it.
More on these topics
Article · · 4 min read
Your AI feature, seen from the security reviewer's chair
A reviewer has an hour and a diagram. The five questions they ask about an assistant or agent, what they are really checking with each, and the answers that stall a review.
Checklist · · 29 checks
Security review checklist for an AI feature
What to check before an assistant, RAG app or agent goes in front of real users. Grouped by area, ticked off locally; progress stays in your browser.
Explainer · · 2 min read
Your agent should not be a superuser
Bind every AI action to a user, a service and a run, then scope the verb rather than only the data.
Discussion