# 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.

[MCP tools in the 2026-07-28 protocol](https://modelcontextprotocol.io/specification/2026-07-28/server/tools)

## 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.

[MCP tools in the 2026-07-28 protocol](https://modelcontextprotocol.io/specification/2026-07-28/server/tools) · [TypeScript SDK guide to calling tools](https://ts.sdk.modelcontextprotocol.io/v2/clients/calling)

## 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.

[MCP tools in the 2026-07-28 protocol](https://modelcontextprotocol.io/specification/2026-07-28/server/tools) · [GitHub Agentic Workflows script-backed tools](https://github.github.com/gh-aw/reference/mcp-scripts/) · [Anthropic’s programmatic tool-use example](https://www.anthropic.com/research/code-execution-with-mcp)

## 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.

[MCP tools in the 2026-07-28 protocol](https://modelcontextprotocol.io/specification/2026-07-28/server/tools) · [TypeScript SDK guide to calling tools](https://ts.sdk.modelcontextprotocol.io/v2/clients/calling)

## 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.

[MCP tools in the 2026-07-28 protocol](https://modelcontextprotocol.io/specification/2026-07-28/server/tools) · [Anthropic’s programmatic tool-use example](https://www.anthropic.com/research/code-execution-with-mcp)

## 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.

[Inspect the repository-instructions example](https://github.com/hopperlabs-ai-opensource/hopper-mcp-skills-demo)

## 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.

```
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)
```

[TypeScript SDK guide to calling tools](https://ts.sdk.modelcontextprotocol.io/v2/clients/calling)

## 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.

[MCP tools in the 2026-07-28 protocol](https://modelcontextprotocol.io/specification/2026-07-28/server/tools)

## Timeline

- 2024-11-25 — Anthropic introduces the Model Context Protocol [Anthropic introduces the Model Context Protocol](https://www.anthropic.com/news/model-context-protocol) · [Chronoscope](https://chronoscope.hopperlabs.ai/#/ai-engineering/x/ai-engineering%3A2024-mcp-launch)

- 2025-06-18 — MCP adds elicitation and structured tool output [MCP adds elicitation and structured tool output](https://modelcontextprotocol.io/specification/2025-06-18/changelog) · [Chronoscope](https://chronoscope.hopperlabs.ai/#/ai-engineering/x/ai-engineering%3A2025-mcp-elicitation)

- 2025-11-04 — Anthropic describes using code to call MCP tools [Anthropic’s programmatic tool-use example](https://www.anthropic.com/research/code-execution-with-mcp)

- 2026-07-28 — MCP releases its stateless protocol revision [MCP releases its stateless protocol revision](https://blog.modelcontextprotocol.io/posts/2026-07-28/) · [Chronoscope](https://chronoscope.hopperlabs.ai/#/ai-engineering/x/ai-engineering%3A2026-mcp-stateless)

## Related articles

[Model Context Protocol](/wiki/model-context-protocol/)

[Skills over MCP](/wiki/skills-over-mcp/)

[WebMCP](/wiki/webmcp/)

[Agent Skills](/wiki/agent-skills/)
