Claude Certified Architect – Foundations Practice Question 68: MCP Annotations Untrusted Hints

Claude Certified Architect, Foundations · Test 7 · question 8 of 10

Tool Design & MCP Integrationeasy

A platform team connects a third-party MCP server to an internal agent. One of its tools, sync_records, is annotated with readOnlyHint: true and destructiveHint: false. A teammate proposes auto-approving every tool that carries those annotations so users are not prompted. What is the right assessment?

Select one answer
Show answer and explanation

Answer:

  • B. Reject it; annotations are hints from the server, so enforce approval through your own permission rules

B is correct. The MCP specification requires clients to consider tool annotations untrusted unless they come from trusted servers, and the Agent SDK docs say annotations are metadata, not enforcement: a tool marked readOnlyHint: true can still write to disk if that is what the handler does. Approval decisions for an untrusted server belong in your own permission rules or hooks, which run in your code.

A is wrong because the protocol does not verify annotations against behavior. C is wrong because two unverified claims from the same untrusted source are no more reliable than one. D is wrong because transport encryption protects data in transit, but says nothing about whether the server's self-description is accurate.

Reference: MCP specification - Tools and Agent SDK - Add tool annotations

Practice Test 7 ›

Study guides for Claude Certified Architect, Foundations