MCP in practice: one inquiry tool with list/call shape
The same synthetic inquiry policy as an MCP tool JSON. 12 offline results match the oracle; no live client or SDK transport.
Open the official reference| Item | Details |
|---|---|
| Provider | Model Context Protocol |
| Level | Intermediate |
| Published | 2026-08-15 |
| Updated | 2026-09-06 |
| Official source | Model Context Protocol |
| Topics | #agents · #engineering · #open-source |
Same task: one MCP tool, not a fictional production server
The repo ships examples/inquiry-routing/mcp/tool.json and handler.mjs. Tool name route_synthetic_inquiry; inputSchema has only inquiry. listTools returns that one tool; callTool uses the same routeInquiry policy. This is the MCP tool data shape. It is not a stdio server registered in a client, and no live MCP SDK tools/call frame was sent.
See MCP tools for name, description and inputSchema. Writes still need a human. This tool sets readOnlyHint and always sendAllowed: false.
node --test examples/inquiry-routing/adapters.test.mjsAll 12 structuredContent values must equal expected-output.json. Unknown names return isError.
Example-domain checks are not redaction. A real transport, auth and client registration needs a separate authorized integration.
Same-task Skill and SDK: Agent Skills tutorial, Agents SDK tutorial.
Sources & Further Reading
This page is grounded in the authoritative sources below — verifiable and citable by AI engines and readers.
- 🔗 Official source
- 👤 Person: Model Context Protocol
- # Topic: AgentsBuilding, orchestrating and shipping AI agents
- # Topic: EngineeringAPIs, prompting and system design
- # Topic: Open SourceOpen models, frameworks and ecosystems
Citation: Please attribute Laojin Global (laojinchuhai.com) and keep the original link.
Made by Laojin · AI that ships
AllModelsAPIOne key for many models
AllModelsAPI is a multi-model API gateway: one key reaches many models through an OpenAI-compatible interface — point your existing code at a new base URL and you're migrated. It's not a demo: our own production workloads run on it every day.
More from Laojin: Sellenca · 365AIOrg · 365Loopa · 365 Ops · 365Skill
Related
Linked by topic, people and hubs