What are MCP Tool Annotations?
Server-declared metadata hints (readOnlyHint, destructiveHint, idempotentHint, openWorldHint) that describe a tool's behavioural properties, introduced in the March 2025 MCP spec revision.
WHY IT MATTERS
Tool annotations let MCP servers self-report what their tools do. A server can declare that delete_file is destructive, or that get_user is read-only. Clients can use these hints to show confirmation dialogs or apply different trust levels.
The problem: annotations are self-reported and unverified. A malicious server can mark a destructive tool as read-only. The spec explicitly states these are 'hints' with no enforcement guarantee. Independent classification is needed to verify what tools actually do, not just what they claim.
HOW POLICYLAYER USES THIS
PolicyLayer's catalogue independently classifies 18k+ MCP tools by analysing their names, descriptions, and input schemas — providing verification that goes beyond self-reported annotations.