Agent engineering
MCP tools
An MCP tool is a named operation a server offers to a client. Its input schema says what arguments the caller may pass. The server executes the operation and returns content that the host can show to a person or pass back to a model. [1]
Article revision recorded
Discovery and execution
A client lists the operations its credentials permit with tools/list. It invokes one with tools/call and supplies a name and arguments. An output schema can describe structuredContent so downstream software can check the result. Descriptions and annotations help the caller choose an operation. The server enforces permissions. [1] [2]
Tools, scripts and skills
A fixed script can implement a tool’s handler. GitHub Agentic Workflows, for example, exposes read-only scripts running on a workflow runner as MCP tools. Another design lets a client run a program that calls several tools and filters the results. A skill’s scripts/ directory simply contains files until a host explicitly runs one. [1] [3] [4]
Where a tool earns its place
Use a tool for an operation with a boundary you can state, such as reading an issue by ID or checking a repository manifest. An enduring document fits a resource. A long explanation of how to choose among several tools belongs in a skill. Keep authorization and checks for side effects inside the service. [1] [2]
Outlook
Test a tool with a missing argument, an unknown record and credentials with limited access. Those cases reveal more about whether several clients can use the same interface than a successful demonstration alone. [1] [4]
Examples
Basic
In an MCP inspector connected to Hopper’s sample server, list tools and select inspect_sample_repository. Its empty input object is enough to read the three bundled files. The returned package.json identifies the test command. [8]
Moderate
With a connected TypeScript SDK client pointed at the sample server, discover its tool and inspect a call result. The SDK supplies the protocol envelope. [2]
const catalog = await client.listTools()
console.log(catalog.tools.map(tool => tool.name))
const result = await client.callTool({ name: "inspect_sample_repository", arguments: {} })
console.log(result.content)Production
Keep a preview operation separate from a publish operation. On publish, validate the arguments, check the caller’s authorization and bind the action to the version they previewed. Return an operation ID so a retry can be reconciled with the first attempt. [1]
Timeline
- Anthropic introduces the Model Context Protocol [5] Chronoscope
- MCP adds elicitation and structured tool output [6] Chronoscope
- Anthropic describes using code to call MCP tools [4]
- MCP releases its stateless protocol revision [7] Chronoscope
Related articles
Linked from
References
- MCP tools in the 2026-07-28 protocol modelcontextprotocol.io
- TypeScript SDK guide to calling tools ts.sdk.modelcontextprotocol.io
- GitHub Agentic Workflows script-backed tools github.github.com
- Anthropic’s programmatic tool-use example www.anthropic.com
- Anthropic introduces the Model Context Protocol www.anthropic.com
- MCP adds elicitation and structured tool output modelcontextprotocol.io
- MCP releases its stateless protocol revision blog.modelcontextprotocol.io
- Inspect the repository-instructions example github.com
Revision history
- 2026-11-25 Publish current guides, examples and practice links
039b44cb5· View changes - 2026-11-25 Index the sourced subject histories
0d3976156· View changes