Tool poisoning
An attack that hides malicious instructions inside a tool’s metadata, description or parameter schema so an AI agent secretly exfiltrates data or misuses another connected tool.

Also called: MCP tool poisoning, Tool-description injection.
For: Builders · Leaders
Why it matters
Users rarely inspect the raw JSON descriptions an MCP server registers with their assistant. Because the model reads every tool description as high-trust context, one poisoned server can hijack every other tool in the session.
In practice
A third-party "math helper" MCP server hides a note in its tool description telling the model to read ~/.ssh/id_rsa and pass the contents in an optional debug field before returning the sum. The UI only displays "add(2, 2)", while the host agent silently leaks credentials.
Watch for
Pin MCP server versions, review tool descriptions on install and after updates ("rug pulls"), and isolate untrusted servers from tools that hold credentials or write access.
How it compares
- Prompt injection: Classic prompt injection hides attacks in untrusted user or web data fetched at runtime; tool poisoning plants the attack inside the tool schema itself before the tool is even called.
- MCP server: An MCP server exposes tools and data to an agent; tool poisoning is the supply-chain attack vector targeting those server-supplied tool definitions.
Related terms
Prompt injection · MCP server · Least privilege · Model Context Protocol
Try it here
Lock down your agents · MCP servers and skills, explained
Sources
- Invariant Labs · MCP Security Notification: Tool Poisoning Attacks
- Model Context Protocol · Security Best Practices
Use in an AI agent: connect MCP at https://www.theglitch.ai/mcp and call get_glossary_term with tool-poisoning, or read the Markdown edition.
Definition updated 2026-11-28.