# MCP Tools, Resources, and Prompts: Which to Use

> Canonical: https://skillalmanac.com/learn/mcp-tools-resources-prompts | Updated: 2026-11-21 | Index status: not offered to search engines

Pick between MCP tools, resources, and prompts by who triggers each one, what it returns, and whether the model or the user decides when it runs.

## Facts

- 2026-11-21: MCP tools are described as model-controlled, and the spec says a human should stay in the loop able to deny invocations (https://modelcontextprotocol.io/docs/concepts/tools)
- 2026-11-21: MCP resources are application-driven; clients list them with resources/list and read contents by URI with resources/read (https://modelcontextprotocol.io/docs/concepts/resources)
- 2026-11-21: MCP prompts are user-controlled and are typically exposed as slash commands; clients call prompts/list and prompts/get with arguments (https://modelcontextprotocol.io/docs/concepts/prompts)
- 2026-11-21: Tool execution errors come back as a normal result with isError set to true, while unknown tools use JSON-RPC errors (https://modelcontextprotocol.io/docs/concepts/tools)
- 2026-11-22: For a non-existent resource URI, servers must return JSON-RPC error -32602 and must not return an empty contents array (https://modelcontextprotocol.io/docs/concepts/resources)
- 2026-11-21: An Agent Skill is a folder with a SKILL.md file whose name is at most 64 characters and description at most 1,024 characters; Claude Code reads it from ~/.claude/skills/ or .claude/skills/ (https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview)

MCP defines three things a server can expose: tools, resources, and prompts. They differ mainly in who decides when each one runs and what the client does with the result.

## The three primitives side by side

As of 2026-11-21, the MCP documentation describes these differences:

| Feature | Tools | Resources | Prompts |
| --- | --- | --- | --- |
| Who decides to use it | The model, with a human able to deny | The application, through its own UI or heuristics | The user, often as a slash command |
| Discovery | `tools/list` | `resources/list`, `resources/templates/list` | `prompts/list` |
| Invocation | `tools/call` with arguments | `resources/read` with a URI | `prompts/get` with arguments |
| Identifier | Tool name | URI | Prompt name |
| Result | Text, image, audio, or structured content | Text or binary contents | Messages with role `user` or `assistant` |
| Typical example | Run a query, create a ticket | A schema file at a `file://` URI | A code review template |

## How to choose

Use this rule: choose a tool when the operation takes parameters that the model fills in, or when it changes something. Choose a resource when the content is read-only and can be addressed by URI, and the client should decide whether to attach it. Choose a prompt when a person should start a workflow on purpose and the server supplies the instructions.

Worked example: a server for a release team. A `CHANGELOG` file is a resource at `file:///repo/CHANGELOG.md`, so a client can attach it. A `create_release_draft` action is a tool with a `version` parameter, because it writes to an external system. A `release-notes` prompt takes a `version` argument and returns the instructions a person runs on purpose from a slash command. Splitting the three this way keeps writes out of the read path.

What the primitives are not: a resource read returns stored content for a URI, not the result of an action. A prompt is not inserted into a conversation on its own, since the spec places its use under user control. A tool is not a skill: it is a function the server exposes over the protocol.

Tool definitions have a fixed shape: `name`, `title`, `description`, an `inputSchema` written in JSON Schema, and optional `outputSchema` and `annotations`. The spec says clients should treat annotations as untrusted unless they come from a trusted server, so do not rely on a hint like "read-only" for safety.

## Pitfalls

1. **Actions hidden in resources.** If reading a URI changes data, a client that prefetches resources will trigger writes. Notice this by checking which reads have side effects. Move those operations to tools.
2. **Errors the model cannot fix.** Returning a protocol error for a bad date means the model never sees why the call failed. Return input and business errors as tool results with `isError: true` and a message that names the fix, such as the expected date format.
3. **Empty responses for missing resources.** The resources spec says a missing URI must return error `-32602`, not an empty `contents` array, because an empty array is ambiguous. Test a bad URI and confirm the error.
4. **Tool names that collide.** The spec suggests names of letters, digits, `_`, `-`, and `.`, up to 128 characters, unique within a server. When a client merges several servers, two `search` tools collide, so prefix names with a server identifier.
5. **Expecting a prompt to run automatically.** If you need the model to call the workflow itself, expose it as a tool. A prompt only runs when the user selects it.

## When to use a skill instead

If the job is to tell Claude how to work, not to connect it to a live system, a skill is usually the lighter choice. An Agent Skill is a folder with a `SKILL.md` file, and Claude loads it when the description matches the request, so only the name and description sit in context until then. For designing the server side of this choice, [mcp-server-builder](/skills/skill-almanac/mcp-server-builder) covers tool design, JSON Schema inputs, error contracts, and the tool versus resource versus prompt decision for a server you are writing. Use a skill for reusable instructions and an MCP server when the action needs an external system or live data.

## FAQ

**MCP vs skills vs tools: what is the difference?**
MCP is the protocol that connects a client to a server. Tools are one of the three primitives a server can expose through it. A skill is a set of instructions that Claude loads from disk, not something a server serves.

**What error should a server return for a missing resource?**
The resources spec says a non-existent URI must produce a JSON-RPC error with code `-32602` (Invalid Params), and it forbids an empty `contents` array for that case. Servers should use `-32603` for internal failures, and clients should also accept the older `-32002`.

**How do prompt arguments reach the server?**
A client calls `prompts/get` with the prompt name and an arguments object, and the server returns messages built from those values. For a release-notes prompt, that means one `version` argument goes in and the filled-in instructions come out, so the version string must be passed exactly as the server expects.

## Related skills

- [mcp-server-builder](https://skillalmanac.com/skills/skill-almanac/mcp-server-builder.md): Platform Score 56/100 (provisional)

## Related guides

- [What Is an MCP Server? Tools, Resources and Prompts](https://skillalmanac.com/learn/what-is-an-mcp-server.md)
- [Debug an MCP Server with MCP Inspector](https://skillalmanac.com/learn/debug-an-mcp-server-with-inspector.md)
- [What Are MCP Apps? Interactive UI in AI Chats](https://skillalmanac.com/learn/what-are-mcp-apps.md)
- [MCP Server Examples: Learning From a Reference Server](https://skillalmanac.com/learn/mcp-server-examples.md)
- [How MCP Servers Work: Message Flow and Transports](https://skillalmanac.com/learn/how-mcp-servers-work.md)
- [Obsidian MCP: Editing a Vault Without Breaking Links](https://skillalmanac.com/learn/obsidian-mcp-guide.md)

## Sources

- https://modelcontextprotocol.io/docs/concepts/tools
- https://modelcontextprotocol.io/docs/concepts/resources
- https://modelcontextprotocol.io/docs/concepts/prompts
- https://platform.claude.com/docs/en/agents-and-tools/agent-skills/overview

Platform Scores report our assessment under a published method. They are not a safety guarantee.
