← Back to glossary
+Suggest a term
Concept·Agents & Automation·Added 1 month ago

Tool poisoning

Also known as: MCP tool poisoning, malicious tool description

An attack where a malicious MCP server or tool definition includes hidden instructions in its description or response, causing the agent to execute attacker-controlled actions while appearing to do normal work.

MCP (Model Context Protocol) servers expose tools to agents by describing what each tool does. Tool poisoning embeds malicious instructions inside those descriptions. When the agent reads the tool's definition to decide whether to use it, it also ingests the hidden instructions. Because the agent treats tool descriptions as part of its operating context, those instructions can override intended behavior.

A poisoned tool might instruct the agent to exfiltrate data through a side channel, modify files outside its intended scope, or quietly disable safety checks before proceeding. The attack is particularly hard to catch because the tool appears legitimate in the tool list, and the malicious behavior only activates under specific conditions.

This class of attack is why the security community distinguishes between trust levels for MCP servers. Official, first-party servers are higher trust than community-contributed ones. Builders connecting agents to third-party MCP servers should review tool descriptions carefully, run agents with minimal permissions, and monitor for unexpected tool calls. The broader lesson: anything an agent reads can in principle influence its behavior, including metadata and descriptions that feel like documentation.

This definition is AI-generated and refreshed weekly. It may contain inaccuracies. Use your own judgment, especially for production decisions.
Related terms
Indirect prompt injectionMCP serverGuardrailsTool useSandboxing