CertPrep
Domain 8 · 10% of the exam

Tools and MCP

Designing a tool: schema, a description that drives correct calls, minimal actionable results, errors, where it executes and when it needs approval; building and integrating MCP servers (tools, resources, prompts, stdio or HTTP, authentication); and choosing between built-in tools, custom tools, Skills and MCP.

  1. 8.1Designing Tools and Shaping Their ResultsImplement tools that the model calls correctly and uses well: a precise schema, a description that says what the tool does, when to use it and what each parameter means, minimal and readable results with paging, actionable error results, server-side execution for sensitive work, approval gates for risky actions, and a small, clearly separated tool set.
  2. 8.2Building and Integrating MCP ServersBuild an MCP server with the right primitives (tools, resources, prompts), choose stdio for local servers and Streamable HTTP for remote shared ones, authenticate remote users with OAuth and audience-bound tokens, and integrate the server into Claude Code, the Agent SDK, plugins or the Messages API with secrets kept out of configuration files.
  3. 8.3Choosing Tools, Skills or MCPChoose between built-in tools, custom tools, Skills and MCP servers by asking where the capability must live, who maintains it and how Claude discovers and invokes it, and justify the choice against simpler alternatives.