Design MCP tools around distinct user jobs, not backend endpoints. Give each tool a namespaced verb-and-object name, a precise “use when” description, bounded parameters, compact source-aware output, actionable errors and accurate risk annotations. Test selection and completion on held-out tasks.
Start from model decisions
The model decides whether to call a tool, which one to choose, which arguments to provide and what to do with the result. Every field should reduce uncertainty at one of those moments. Internal service names and generic verbs such as execute make that harder.
Prefer workspace.search_documents to query. Explain what is searched, when it is appropriate, what it returns and its limits. If tools sound interchangeable, merge them or sharpen their jobs.
Design the next useful response
Return identifiers, titles, concise passages, source identity and pagination. Put bulk payloads behind follow-up retrieval. Anthropic’s tool guidance emphasizes meaningful context and token efficiency: more output is not automatically more useful.
{ "results": [{ "document_id": "doc_…", "title": "Refund policy", "snippet": "…", "source": "handbook", "score": 0.82 }], "next_cursor": null }
Make risk legible
Separate read tools from tools that create, update, send or delete. MCP annotations are useful hints, but the specification warns that untrusted annotations are not proof. Enforce policy in code and request confirmation when consequences warrant it.
Errors should say what the model can change—date range, workspace, permission or tool—without exposing stack traces or secrets.
Evaluate real tasks
- Create realistic prompts, including ambiguous and adversarial cases.
- Record whether the model chose correctly.
- Validate arguments and policy.
- Judge whether output carried enough—not excessive—context.
- Test with nearby tools present.
Use the MCP tool design worksheet for every proposed tool.
Built for the next step
A smaller tool surface can do more
See how SPYN3 exposes four focused workspace tools instead of mirroring every internal endpoint.
View the MCP quickstartSPYN3 is AI-ready data infrastructure for technical solopreneurs and AI builders. It connects business data into a workspace-isolated knowledge layer and exposes it through a unified REST API and hosted MCP server, with permission-scoped access and source-aware returns. SPYN3 is currently in private beta; current capabilities and product direction are documented on the product facts page.
Sources
- Anthropic: writing effective tools for agents — namespacing, response design and tool evaluations. Verified 13 Sep 2026
- MCP specification: tools — tool discovery, invocation and security considerations. Verified 13 Sep 2026
- MCP project: tool annotations — risk hints and their enforcement limits. Verified 13 Sep 2026
