Skip to content

Build an agent

AI agent tools vs MCP vs skills: what your agent can use, explained for developers

A tool is the function, MCP is how any AI application finds and calls it, and a skill is the know-how an agent loads to use tools well. Each is defined from its own specification, with how an agent gets an inbox, a phone number and a browser through each.

AI agent tools vs MCP is a question of layers: a tool is one function a model can ask to run, and MCP (the Model Context Protocol) is the open standard that lets any AI application find and call a server’s tools. Skills sit on top, as folders of instructions and scripts an agent loads only when a task needs them. An agent can use all 3 at once, with tools for actions, MCP to connect them and skills for the procedure.

ComparedAI agent tools vs MCP vs skills, comparedGo straight to the comparison
On this page
  1. What is a tool for an AI agent?
  2. What is MCP?
  3. What are agent skills?
  4. AI agent tools vs MCP vs skills, comparedCompared
  5. How an agent gets an inbox, a phone number or a browser
  6. Which one should you use?
  7. Limits and safety
  8. Questions about AI agent tools vs MCP

Developers building agents, and teams choosing what to connect to Claude, ChatGPT or Cursor, meet 3 words for adding abilities to a model: tools, MCP servers and skills. They sit at different layers of the same agent, which is why they get mixed up. The difference matters most when the agent needs something outside your code, such as an inbox, a phone number or a browser of its own.

What is a tool for an AI agent?

A tool is a function the model can ask your application to run. Anthropic’s tool use guide calls it tool use, also called function calling. Claude decides when to call a tool from the user’s request and the tool’s description, then returns a structured call that your application runs. OpenAI’s function calling guide describes the same flow in 5 steps. Your application sends the request with the tools, receives a tool call, runs the code, sends the result back, and gets the final answer or more tool calls.

Each tool is defined by 3 parts:

  • Name: a short identifier, such as get_weather.
  • Description: what the tool does and when to use it. The model reads it to decide whether to call the tool.
  • Input schema: a JSON Schema that lists the arguments, such as a location written as text.

The model never runs anything itself. In Anthropic’s format, Claude replies with a tool_use block naming the tool and its arguments, your code runs the lookup, and a tool_result block carries the answer back. Tools that run in your application are client tools. Server tools, such as Anthropic’s web search and code execution, run on the provider’s own servers, with no handler code on your side.

Every tool costs tokens. Each tool’s name, description and schema count as input tokens on every request, and Anthropic adds a tool use system prompt of 286 tokens on Claude Opus 5.5 when tools are present. Server tools can add fees on top: Anthropic’s pricing page listed web search at $10 per 1,000 searches on 22 November 2026.

What is MCP?

MCP, the Model Context Protocol, is an open standard for connecting AI applications to outside tools and data through one interface. The specification, version 2026-07-28, names 3 roles that exchange JSON-RPC 2.0 messages, a plain request and response format:

  • Host: the AI application that starts the connection, such as Claude Code or a chat app.
  • Client: the connector inside the host application.
  • Server: the service that provides tools and data, such as an email provider or a company database.

A server can offer 3 kinds of feature: tools (functions for the model to run), resources (data for the person or the model) and prompts (templated messages and workflows). The tools section of the specification defines 2 calls. A client sends tools/list to discover a server’s tools, each with a name, a description and an inputSchema in JSON Schema, and tools/call to run one with arguments. The result comes back as content, such as text, with an isError flag.

MCP sits underneath tool calling and leaves it unchanged. The model still picks a tool and returns its arguments; the host then sends tools/call to the server that owns it. A server written once works in every host that speaks the protocol, so nobody writes a connector per app.

Servers run in 2 ways. A local server runs as a program on your machine and talks over standard input and output, which Claude Code’s MCP guide calls a stdio server. A remote server answers over HTTP, which the same guide recommends for cloud services: claude mcp add --transport http, followed by a name and the server’s address. A server added this way is private to one project by default. The flag --scope project shares it with the team through a .mcp.json file, and --scope user makes it available across all your projects.

The official MCP Registry is the public directory of MCP servers. Managed services such as Composio wrap more than 1,700 apps as tools behind one MCP server and handle each app’s sign-in. Web search is one of the most common tools to add, and the best web search APIs for AI agents compares the providers. The glossary defines hosts, clients and servers in more depth.

What are agent skills?

A skill is a folder of instructions, scripts and reference files that teaches an agent how to do one job. The Agent Skills format defines it as a folder containing a SKILL.md file with a name and a description at minimum, plus optional scripts, references and assets. Anthropic’s Agent Skills guide loads a skill in 3 stages, which it calls progressive disclosure:

  • At startup: only each skill’s name and description, about 100 tokens per skill.
  • When a task matches the description: the body of SKILL.md, under 5,000 tokens.
  • As needed: reference files when the agent reads them, and scripts, whose output enters the context while their code does not.

A skill holds know-how and doesn’t act on its own. It tells the agent which tools to call, in what order and what to check, and the agent then calls those tools directly or through MCP. The Agent Skills site says a large number of AI tools and agent clients support the format, and Claude Code loads skills from SKILL.md folders. The MCP specification also lists Skills over MCP as an extension, for finding skills through a server.

AI agent tools vs MCP vs skills, compared

We make Obsession, so every other option is described from its provider’s own pages as of 22 November 2026.

OptionWhat it does wellPriceWhere it stopsBest for
No toolsthe model aloneWrites and reasons with no setupModel tokens onlyCan’t look anything up or actDrafting and analysis
Your own tools, through function callingAny function your code can run, in one requestInput tokens for every definition and callDefined per app; formats differ by providerOne app calling your own APIs
Provider server toolsweb search, code executionRun on the provider’s side, with no handler codeTokens, plus fees such as $10 per 1,000 web searchesOnly the tools that provider offersSearch and code runs inside one model’s API
An MCP serverOne server works in Claude Code, Cursor and every other MCP hostThe standard is free; each server is priced by its makerAnnotations untrusted unless the server is trustedA capability used in several apps or by other teams
A skillSKILL.md and scriptsKnow-how loaded only when a task needs itAbout 100 tokens per skill until usedCalls tools, and holds no inbox or numberProcedures the agent keeps getting wrong
Composiomanaged app connections1,700+ apps with sign-in handled, over MCP or SDKHobby: 100,000 tool calls a month freeWorks through accounts people already holdAgents acting in a user’s own apps
AgentMailinboxes over API and MCPEmail inboxes with webhooks, websockets and an MCP serverFree: 3 inboxesDeveloper $20 a monthEmail onlyAn agent that needs an inbox
ObsessionOursEmail, Phone, Browser and Sandbox over API, SDK and MCPAn inbox, a number, a browser and a sandbox as tools, under one identityFree, then $20, $99 or $499 a month; usage per pieceStops before payment unless given your cardAgents that must receive email, texts and calls
Ways to give an AI agent abilities, from each specification and provider’s own pages, as listed on 22 November 2026. Prices in US dollars

How an agent gets an inbox, a phone number or a browser

A model can’t hold an address. A service outside it has to create the inbox, the number or the browser, keep it running and hand back what arrives. Tools, MCP and skills each cover a different part of that job.

As a tool in your own code

You write a function such as create_inbox that calls an email provider’s API, and describe it to the model with a name, a description and a schema. Sending is the easy half. When a reply or a login code arrives, the provider sends it to a webhook, an address in your code that receives each event. Your code then wakes the agent and passes the email in as a new message. Texts and calls on a number work the same way, and a browser session has to stay signed in between turns. Give an AI agent an inbox that signs up and waits covers the parts in detail, and long running AI agents covers agents that wait weeks for a reply.

As an MCP server

A provider with an MCP server lists its tools once, such as creating an inbox, sending an email or opening a browser, and every MCP host can call them. As listed on 22 November 2026, AgentMail’s pricing page included an MCP server on every plan, beside webhooks and websockets. A server answers when it is called, so new mail still reaches the agent through events: a tool that lists what arrived, or a webhook your code passes on.

As a skill

A skill holds the procedure: create an inbox, open the portal in a browser, wait for the login code, enter it, and keep a screenshot of each page. It calls those tools and owns none of the pieces itself. That makes it the right place for your rules and the wrong place to keep an inbox.

Obsession is the toolkit for AI agents, and its Build agent products blueprints puts email inboxes, phone numbers, a cloud browser and a sandbox on one API and one bill, under one identity. Its MCP server, added with claude mcp add obsession, gives an agent tools to create inboxes, numbers and browsers itself, and the events API shows each email, text and page as it lands, dated. Teams without engineers pick a blueprint such as Support bot check, and Obsession runs it and sends them every answer.

Which one should you use?

  1. A few functions in one app: write tools. Use function calling when the capability lives in your own code and one application uses it. A pass: the model calls the tool with valid arguments, and your code returns a result it uses.
  2. The same capability in several apps: use or build an MCP server. When Claude Code, Cursor and your own agent all need it, or another team will, one server saves writing it again for each. A pass: tools/list shows it in each host, and tools/call runs it.
  3. A procedure the agent keeps getting wrong: write a skill. Put the steps, the checks and the stop rules in SKILL.md, with scripts for anything that must be exact. A pass: the description triggers it on the right tasks, and the body stays under about 5,000 tokens.
  4. Anything the agent must receive or wait for: add a service. Email, texts, calls and a browser that stays signed in need a provider that holds them and sends events back. A pass: an email sent to the agent reaches your handler, and the agent acts on it.

Measure the choice in task success, latency from an event landing to the agent acting on it, and cost per call, since every tool definition adds input tokens. The AI agent infrastructure stack maps the 10 layers these choices sit in, and how to build an AI agent from scratch wires them into a working loop.

Limits and safety

  • Tools run code. The MCP specification says tools represent arbitrary code execution, and that descriptions of tool behaviour, such as annotations, are untrusted unless they come from a trusted server.
  • People approve. The specification says hosts must get the user’s explicit consent before invoking any tool, and that a person should be able to deny a call.
  • Servers can carry injected instructions. Claude Code’s guide says to verify you trust each server, because servers that fetch outside content can expose you to prompt injection, text that tries to give the model new orders.
  • Skills are software. Anthropic’s guide says to use skills only from trusted sources and to audit every file, since a skill can direct the agent to call tools or run code.
  • More tools cost more. Every definition is input tokens on every request. Anthropic and OpenAI both offer tool search, which loads rarely used tools only when the model needs them.

Questions about AI agent tools vs MCP

No. Function calling, also called tool calling, is how a model asks to run a tool: it returns the tool’s name and arguments, and an application runs it. MCP is a standard for where tools come from: a server lists them with tools/list and runs them with tools/call, so any MCP host can offer them to its model.

An API is a service’s own interface, which a developer writes code against. An MCP server describes some of that service’s actions as tools in one standard format, so an AI application can find and call them with no code written for that service. Many services offer both.

See the API and MCP

Both, for different jobs. An MCP server gives an agent actions, such as creating an inbox or querying a database. A skill gives it a procedure for using those actions well, and loads only when a task matches its description, so many skills cost little context until they are used.

No. Function calling works with tools defined in your own code. An MCP server helps when the same tools must work in several applications, or when a provider already offers one.

From an email provider built for agents, through its API, its SDK or its MCP server. The provider creates the inbox, and each email that arrives reaches your code as a webhook event or through a tool the agent calls. AgentMail listed 3 free inboxes on 22 November 2026, and agent toolkits add a phone number and a browser on the same identity.

Email for AI agents

Yes. A tool from an MCP server reaches the model as a tool definition, so its name, description and schema count as input tokens like any other tool. Tool search, offered by Anthropic and OpenAI, loads rarely used tools only when the model needs them.

ShareLinkedInX

Sources

In the order the article cites them. Every link was checked on 22 Nov 2026.

  1. Tool use with ClaudeAnthropic
  2. Function callingOpenAI
  3. PricingAnthropic
  4. Specification, version 2026-07-28Model Context Protocol, 28 Jul 2026
  5. ToolsModel Context Protocol, 28 Jul 2026
  6. Connect Claude Code to tools via MCPAnthropic
  7. Official MCP RegistryModel Context Protocol
  8. ComposioComposio
  9. Agent Skills overviewAgent Skills
  10. Agent SkillsAnthropic
  11. PricingAgentMail

What should your first AI agent do?