MCP Server Security

Tool description: definition and example

A tool description is the text a server attaches to each tool so the model can decide when and how to call it. The agent reads it as part of its context, which makes the description a place where hidden instructions can sit. A review of a server should cover every field of the tool definition, not only this one.

Facts read on .

Example

The OWASP cheat sheet says to hash the complete tool definition, including inputSchema, outputSchema and annotations, because a flipped readOnlyHint or destructiveHint can change client approval behavior without any visible change to the description.

Sources