AI Agents · Guardrails · Security · Production

Unused, convenient or load-bearing: auditing what an agent is able to do

Published · Updated

Of the three root causes of excessive agency, only one is readable before anything runs: the tool list. Here is how to scope it to the deliverable, then bound what survives the cut.

OWASP names three root causes of excessive agency: excessive functionality, excessive permissions, excessive autonomy. Two of those are runtime properties you infer from behaviour. Functionality is different. It is a list. The set of tools an agent can call is written down somewhere and can be read before a single run happens. That makes it the cheapest audit available, and the one most often skipped, because the list grew one convenient addition at a time.

The deliverable decides the list

Start from what ships, not from what the model might find useful. The Tatano Energy platform is described as a multilingual e-commerce deployment across four country domains, a daily SEO autoblog driven by search trends, and multi-language generative video campaigns. The stated results are four country domains indexed separately, seven languages served, eight SEO articles published every day, and zero manual intervention required. That sentence is a capability specification: anything off that path is a candidate for deletion.

The Matthieu Pesesse platform reads the same way. An autonomous publishing engine with AI-written articles, three model fallback levels, SEO and GEO optimisation, plus newsletter and social distribution, with weekly content operations time reported at about zero hours. Write the equivalent list for your own agent in plain sentences first. Every tool that cannot be traced back to one of those clauses is carrying risk without carrying a deliverable.

Available means reachable

The reason an unused tool is not harmless sits in the definition of an agent. Anthropic draws the line between workflows, where models and tools are orchestrated through predefined code paths, and agents, where the model dynamically directs its own processes and tool usage while keeping control over how a task gets done. In a predefined path, an unused tool is dead code. Under dynamic direction, it is a branch the agent can take on a bad day.

Descriptions are not evidence

The Model Context Protocol specification is blunt about what a tool is: tools represent arbitrary code execution and must be treated with appropriate caution. It goes further on the metadata, stating that descriptions of tool behaviour such as annotations should be considered untrusted unless obtained from a trusted server. So the list cannot audit itself. A tool labelled read-only earns that label from the code and credentials behind it, not from the string beside its name.

Trimming is not authorising

A shorter list reduces what can be attempted; it does not decide what succeeds. OWASP's guidance is to implement authorisation in downstream systems rather than relying on an LLM to decide whether an action is allowed. For a publisher spanning four country domains and seven languages, that means the publishing credential itself refuses work outside its scope, so a misdirected call fails at the boundary instead of being talked through it.

The same guidance recommends human-in-the-loop approval before high-impact actions. When the stated result is zero manual intervention, that control has nowhere to stand at run time, which pushes the weight onto mechanisms that need no one on duty. Rate-limiting is the one named for exactly this: reduce the number of undesirable actions that can take place within a given time period. A quota is a guardrail that keeps working at three in the morning.

Bound what survives the cut

Two more bounds belong beside the quota. Anthropic notes it is common to include stopping conditions, such as a maximum number of iterations, to maintain control. And on their multi-agent research system they describe combining the adaptability of agents with deterministic safeguards like retry logic and regular checkpoints, plus systems that can resume from where the agent was when errors occurred, with completed phases summarised into external memory before new tasks begin.

Those two bounds interact, which is easy to miss. Retries are calls, and calls consume the same rate budget as first attempts. A recovery loop and an action quota set without reference to each other will either starve legitimate recovery or quietly widen the ceiling you thought you had set. Decide which number is the real limit on outward actions per period, and make the retry policy spend from it rather than beside it.

The bill tracks autonomy, not tool count

Cost sits on the autonomy axis more than the functionality one. Anthropic's data shows agents typically using about 4× more tokens than chat interactions, and multi-agent systems about 15× more tokens than chats. The same guidance pairs higher costs with the potential for compounding errors, and recommends extensive testing in sandboxed environments along with appropriate guardrails. Deleting tools narrows the blast radius; it does not change the multiplier you signed up for by choosing an agent.

Practical sequence: write the deliverable as sentences, list the tools, and strike every tool that no sentence requires. For what remains, record which downstream system enforces its authorisation and which quota bounds its use per period, and treat any tool where both columns are empty as unfinished. One long-running step may also need an asynchronous shape, since MCP's Tasks cover long-running operations with polling, mid-flight input and durable handles. Re-read the list whenever the deliverable changes.

Sources

Anthropic — Building effective agents — https://www.anthropic.com/engineering/building-effective-agents

Anthropic — How we built our multi-agent research system — https://www.anthropic.com/engineering/multi-agent-research-system

Model Context Protocol — Specification (version 2026-07-28) — https://modelcontextprotocol.io/specification/2026-07-28

OWASP Gen AI Security Project — LLM06:2025 Excessive Agency — https://genai.owasp.org/llmrisk/llm062025-excessive-agency/

Neurolinks case study — Four markets, one codebase — https://neurolinks.be/work/tatano-energy

Working on a project where these methods apply?