# Tool poisoning

Canonical page: https://www.theglitch.ai/ai-glossary/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.

[Tool poisoning, common card \#267 in The Glitch AI glossary: 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.](https://www.theglitch.ai/images/cards/glossary/tool-poisoning.png?v=ca060efbd6ee5834)

GLS 267 · common

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](https://www.theglitch.ai/ai-glossary/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](https://www.theglitch.ai/ai-glossary/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](https://www.theglitch.ai/ai-glossary/prompt-injection) · [MCP server](https://www.theglitch.ai/ai-glossary/mcp-server) · [Least privilege](https://www.theglitch.ai/ai-glossary/least-privilege) · [Model Context Protocol](https://www.theglitch.ai/ai-glossary/model-context-protocol)

## Try it here

[Lock down your agents](https://www.theglitch.ai/learn/agent-security) · [MCP servers and skills, explained](https://www.theglitch.ai/learn/mcp-and-skills)

## Sources

- [Invariant Labs · MCP Security Notification: Tool Poisoning Attacks](https://invariantlabs.ai/blog/mcp-security-notification-tool-poisoning-attacks)

- [Model Context Protocol · Security Best Practices](https://modelcontextprotocol.io/docs/tutorials/security/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](https://www.theglitch.ai/ai-glossary/tool-poisoning.md).

Definition updated 2026-11-28.

[The Ultimate AI Glossary (2027): every term](https://www.theglitch.ai/ai-glossary)

---

Site: [The Glitch](https://www.theglitch.ai) · [About Rabin](https://www.theglitch.ai/about) · [Agent guide](https://www.theglitch.ai/agent.md)
