MCP server features: tools, resources, prompts

An MCP server can offer three features: tools the model can invoke, resources that supply context data, and prompts the user can select. The Model Context Protocol specification, version 2026-07-28, defines each feature with its own capability flag, list and fetch methods, and data types.

Verified against the sources on 2026-11-25. Labels: Proven means the primary source we opened states it. Practice means widely used practice or secondary reporting the primary source does not confirm. Experimental means a proposal or draft.

What is an MCP tool?

  • Proven The tools page says servers expose tools that language models can invoke, for example to query databases, call APIs or perform computations.
  • Proven Tools are described as model-controlled: the model can discover and invoke them based on context and the user’s prompts.
  • Proven For trust and safety, the page says there SHOULD always be a human in the loop who can deny tool invocations.
  • Proven Clients discover tools with tools/list and invoke one with tools/call, passing a name and arguments.
  • Proven A tool definition has a name, an inputSchema (a JSON Schema, defaulting to 2020-12 when no $schema is given) and optional title, description, icons, outputSchema and annotations.
  • Proven Clients MUST treat tool annotations as untrusted unless they come from trusted servers.

What can a tool call return?

  • Proven Results can hold unstructured content items (text, image, audio, resource links, embedded resources) and structured JSON in structuredContent.
  • Proven If a tool declares an outputSchema, servers MUST return structured results that conform to it, and clients SHOULD validate them.
  • Proven Protocol errors (such as an unknown tool) are JSON-RPC errors; tool execution errors (such as invalid input or API failures) are returned in the result with isError: true so the model can self-correct.

What is an MCP resource?

  • Proven The resources page says resources let servers share data that gives context to language models, such as files, database schemas or application-specific information, each identified by a URI.
  • Proven Resources are described as application-driven: the host application decides how to incorporate them.
  • Proven Clients use resources/list, resources/read and resources/templates/list; templates use RFC 6570 URI templates for parameterized resources.
  • Proven Contents are either text (text) or binary (blob, base64-encoded), and optional annotations include audience, priority (0.0 to 1.0) and lastModified.
  • Proven The capability can advertise listChanged and subscribe; a missing resource MUST produce a JSON-RPC error with code -32602, not an empty contents array.

What is an MCP prompt?

  • Proven The prompts page says prompts let servers provide structured messages and instructions for interacting with language models, which clients can retrieve and customize with arguments.
  • Proven Prompts are described as user-controlled: the user explicitly selects them, and the page gives slash commands as an example interface.
  • Proven Clients use prompts/list and prompts/get; a prompt has a name and optional title, description, icons and arguments.
  • Proven Each returned message has a role of user or assistant and content that can be text, image, audio, a resource link or an embedded resource.

What do all three features share?

  • Proven Each feature is declared as a server capability (tools, resources, prompts) and can signal list changes with a list_changed notification to clients that opened a subscriptions/listen stream.
  • Proven For all three, the returned list MUST NOT vary per connection but MAY vary by the authorization presented on the request.
  • Proven All three list operations support pagination, and each page says the protocol does not mandate a specific user interaction model.

What this page does not cover

  • Transports, authorization, sampling, elicitation and other features, which the specification covers on separate pages.
  • Which MCP clients or agent products implement these features; the pages we opened do not say.
  • Earlier specification versions, whose method and field details may differ.

Sources

  1. MCP specification 2026-07-28: Tools
  2. MCP specification 2026-07-28: Resources
  3. MCP specification 2026-07-28: Prompts

Related guides