MCP Server Security

Tool annotations: definition and example

Tool annotations are optional properties on a tool definition that describe its behavior, for example whether it only reads data or can destroy it. Clients use them to decide how much approval to ask for. They are hints from the server, not enforcement.

Facts read on .

Example

The tools specification says clients must consider tool annotations untrusted unless they come from trusted servers.

Sources