Tool poisoning and excessive agency
Words made simple
A few useful meanings before you read the explanation.
- AI
- Software techniques for tasks such as recognizing patterns, understanding language or generating content.
- Agent
- An application that uses a model to choose its next action within defined limits. It can use tools and continue through several steps.
- Authorization
- Checking what that identity is allowed to read or do. Being logged in does not grant access to every record.
More words from this lesson
- MCP
- A shared protocol for connecting AI applications to tools and resources. It does not replace permission checks or application security.
Overview
- Tool poisoning uses malicious tool definitions or descriptions to influence model behavior.
- Excessive agency gives the AI more permissions or autonomy than its task needs.
- A harmless-looking tool name can conceal a sensitive operation or destination.
Why this matters
Dynamic integration ecosystems can introduce capabilities that developers have not reviewed.
An everyday example
A contractor advertises “filing help” but asks for the keys to the entire building.
A technical example
A new MCP tool description tells the agent to read secret configuration before searching policies.
How it works
- Trust/review server identity and definitions
- Expose minimal tool set
- Validate each call
- Apply independent action policy
- Monitor changes.
Architecture and flow
Tool catalog → trust review → per-task allowlist → invocation authorization → audit.
The insurance assistant example
A FAQ assistant needs policy search, not claim approval, bank-detail modification, or unrestricted email sending.
When to use it
Any tool-enabled agent, especially dynamic MCP or plugin integrations.
When to avoid it
Do not automatically grant every discovered capability or reuse staff-admin credentials for customer chat.
Interview answer
“I expose only task-appropriate, reviewed tools and enforce policy at execution time. Tool descriptions and annotations are not security controls.”
Benefits, trade-offs, and production considerations
- Pin definitions where practical, review changes, restrict downstream network access, and separate read, draft, and commit capabilities.
- Model-accessible tooling should be narrower than a human administrator's tooling.
Can you explain it without the notes?
Tool poisoning and excessive agency
Use your own words. Explain an example and one limitation before checking the explanation.
Check your explanation
Tool poisoning uses malicious tool definitions or descriptions to influence model behavior. Excessive agency gives the AI more permissions or autonomy than its task needs. A harmless-looking tool name can conceal a sensitive operation or destination.
Turn this concept into a clear answer.
Practice this conceptAdapted from 13_AI.MD · “Tool poisoning and excessive agency”. Examples are study fragments; framework behavior can depend on your version.