~/courses $ cd c4
Tool Design & MCP Integration
C4 · 18% of the exam · 6 lessons · about 64 min of reading
Design tools Claude can use well, handle their errors, and connect systems through MCP: hosts, clients, servers, transports, and least privilege.
Course progress0/6
- Tool definitions and descriptionsDefine tools with a name, a description and an input_schema, and write descriptions that make Claude pick the right tool with the right arguments.10 min
- Tool errors and retriesReport tool failures with is_error, write error messages Claude can act on, and decide what your loop retries and what it stops on.10 min
- tool_choice, parallel calls and tool countControl whether and which tool Claude calls, handle several calls in one turn, and keep large tool sets accurate with tool search.10 min
- MCP architecture and transportsHow MCP hosts, clients and servers fit together, what the stdio and Streamable HTTP transports do, and how to add a server to Claude Code.12 min
- MCP primitives: tools, resources and promptsChoose between MCP tools, resources and prompts by who controls them, and know the client features and annotations in the current spec.10 min
- MCP security and least privilegeScope MCP servers, credentials and permissions tightly, treat tool output as untrusted input, and use Claude Code's MCP scopes safely.12 min