10 questionsQuestion · Short answer
Tool Design & MCP Integration
Your application executes client tools requested through the Claude Messages API. Anthropic executes supported server tools on its infrastructure. For application-owned effects, your executor and the destination service must authorize the…
Tool Design & MCP Integration
Give each Claude client tool one coherent business action, a descriptive name, and a JSON Schema input_schema for its inputs. Use the description to say when to use it, when to choose another action, what units or formats it expects, and…
Tool Design & MCP Integration
Have the MCP host control which servers connect and obtain informed consent for data sharing and side effects. Have the server or destination authorize each sensitive operation using the actual caller's identity and the operation's scope.…
Tool Design & MCP Integration
The MCP host coordinates clients and manages connection and consent policy. Each client communicates with one server, and a server exposes focused capabilities. Use a resource when the application selects context, a prompt when the user…
Tool Design & MCP Integration
For MCP 2025-06-18, the client sends initialize with its requested protocol version, capabilities and client information. The server returns its supported choice and capabilities. If the client cannot use the returned version, disconnect.…
Tool Design & MCP Integration
Treat a timed-out write as an unknown outcome if the destination may have received it. Check the destination using the recorded operation ID or idempotency key before retrying. Retry only within a defined budget and when the destination…
Tool Design & MCP Integration
For custom client tools, append Claude's assistant message, then send the results together in the immediately following user message. Return one tool_result for every client tool_use , even on failure, and set each tool_use_id to the ID…
Tool Design & MCP Integration
Keep protocol failures, tool execution failures, and completed no-data results distinct. Choose recovery from the observed cause and the operation's effects. In MCP 2026-07-28, an unknown tool or malformed protocol request uses a JSON-RPC…
Tool Design & MCP Integration
Normalize from each tool's documented contract, and retain the raw result, tool identity, and any conversion failure. A common representation is useful only when it preserves the meaning of the original data. For timestamps, establish…
Tool Design & MCP Integration
Use tool_choice to control what Claude may request in one response, and enforce stage prerequisites in application code. Selection policy does not execute or authorize an operation. Request-level value Selection behavior {"type":"auto"}…