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.
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

Related terms

Prompt injection · MCP server · Least privilege · Model Context Protocol

Try it here

Lock down your agents · MCP servers and skills, explained

Sources

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.

The Ultimate AI Glossary (2027): every term