Built-in Tool, Custom Tool, Skill or MCP Server? Pick the Lightest One That Fits
Five support-team needs, four ways to extend Claude. A tiny chooser asks four questions, lightest first: is it built in, is it know-how, is it shared, or is it our own action? Plus what each option costs in context.
What you will learn
- Say what you provide and who does the work for a built-in tool, a custom tool, a skill and an MCP server
- Compare what each one puts in context at the start and when it is used
- Choose between them with four questions, lightest first
- Spot the over-built answer in a scenario question
Before you start
- Tool descriptions: how Claude picks a tool
- Basic Python
A support team wants Claude to help with refunds, and someone asks: which one do we build? There are four ways to extend Claude, and they are not the same thing: a built-in tool, a custom tool, a skill and an MCP server. The need decides which one fits.
A toolbox, a gadget, a handbook and a socket
Picture a new helper at a desk.
- The toolbox on the desk has a hammer, a saw and a tape. It's already there. That is a built-in tool.
- Sometimes you build a little gadget made for your own shop, and you run it yourself. That is a custom tool.
- A handbook on the shelf is read when the job needs it, then followed. That is a skill.
- A wall socket is one standard plug: any appliance fits, any socket works. That is an MCP server.
What you provide, and who does the work
| Option | What you provide | Who does the work |
|---|---|---|
| Built-in tool | Nothing: Read, Write, Edit, Bash, Grep and Glob are already there | Claude Code |
| Custom tool | A name, a description and an input_schema | Your application |
| Skill | A SKILL.md file with a name and a description | Claude reads it, then acts |
| MCP server | A server offering tools, resources and prompts | The server |
One note: Anthropic's own schema tools, like bash, are still client tools. Your code runs them (more in client tools, server tools and approval gates).
What each one puts in context
The four options also differ in what they cost before they are used.
needs.py: five needs as plain facts
The lesson project describes five support-team needs as data. Each need says whether a built-in tool already does it, whether it is an action or knowledge, and whether several clients share it.
"""Five support needs, described by plain facts."""
NEEDS = [
{"ask": "Find callers of refund_order",
"built_in": "Grep", "kind": "action",
"shared": False},
{"ask": "Run the tests after a change",
"built_in": "Bash", "kind": "action",
"shared": False},
{"ask": "Look up an order in our app",
"built_in": None, "kind": "action",
"shared": False},
{"ask": "Write refund emails in house tone",
"built_in": None, "kind": "knowledge",
"shared": False},
{"ask": "Let three clients read orders",
"built_in": None, "kind": "action",
"shared": True},
]
chooser.py: lightest shelf first
"""Pick the lightest mechanism for a need."""
def choose(need):
if need["built_in"]:
return "built-in tool", need["built_in"]
if need["kind"] == "knowledge":
return "skill", "know-how"
if need["shared"]:
return "MCP server", "many clients"
return "custom tool", "our own code"
And main.py prints one choice per need:
from chooser import choose
from needs import NEEDS
for number, need in enumerate(NEEDS, start=1):
mechanism, why = choose(need)
print(f"{number}. {need['ask']}")
print(f" -> {mechanism} ({why})")
1. Find callers of refund_order
-> built-in tool (Grep)
2. Run the tests after a change
-> built-in tool (Bash)
3. Look up an order in our app
-> custom tool (our own code)
4. Write refund emails in house tone
-> skill (know-how)
5. Let three clients read orders
-> MCP server (many clients)
Grep and Bash are built in, so there is nothing to build. An order lookup inside our own app needs a custom tool. House tone is know-how, so it becomes a skill. Three clients (our app, Claude Code and a dashboard) reading the same orders call for one MCP server; building one is covered in building an MCP server.
The four questions
- Does a built-in tool already do it? Use it.
- Is it know-how rather than an action? Write a skill.
- Do several clients need it? Build an MCP server.
- Does only our own app need a new action? Write a custom tool.
This order is a rule of thumb for this lesson, not an official algorithm. The options also combine: a skill can teach Claude how to use the tools an MCP server provides.
Common mistakes: the over-built answer
Scenario questions often offer several ways to meet a need. The wrong ones usually build too much:
| Tempting answer | Why it's wrong |
|---|---|
| Rebuild Grep as a custom tool | A built-in tool already does it |
| Put the house tone in a custom tool | It's know-how, so it's a skill |
| Build an MCP server for one app's private lookup | Nobody else connects, so a custom tool is enough |
Quick recap
| Option | Pick it when |
|---|---|
| Built-in tool | It's already there |
| Skill | It's know-how, loaded when needed |
| MCP server | One connection, many clients |
| Custom tool | Our own action, run by our own app |
Inside Claude Code there are more homes again, such as hooks, rules files, subagents, slash commands and plugins. Choosing between those is in choosing a Claude Code extension.
Try it yourself
Add a sixth need to needs.py: follow the refund policy when deciding partial refunds, used by both our app and Claude Code. Which facts would you set, and does the chooser give the answer you expect? If not, what question is missing?
Related course on Udemy
Claude Certified Developer - Foundations (CCDV-F) Exam Prep
Build and ship Claude apps: the API, agents, tools and MCP, prompts, evals, security and model choice.View on Udemy ↗: Claude Certified Developer - Foundations (CCDV-F) Exam Prep (paid course, opens in a new tab)Related posts
The Claude Messages API: Your First Call, Field by Field
One request in, one Message out. The four fields of a Messages API call (model, max_tokens, system, messages), how to read content blocks, stop_reason and usage, and why every turn resends the history.
Claude Tool Use: How tool_use and tool_result Work in the Messages API
Follow one order question through Claude's tool round trip: define a tool, read the tool_use block, run your own function and send a matching tool_result back, including parallel calls and is_error.
Claude Client SDKs Wrap One REST API: Raw HTTP, Python, TypeScript and Async Calls Compared
Every Claude client SDK wraps the same REST request: a POST to /v1/messages with a JSON body. See it built by hand, through the Python and TypeScript SDKs, as typed errors, and as async calls that wait together.
Anthropic SDK Timeouts, Retries and Error Classes: Configure the Client Once, Then Give 429, 529, 400 and Timeouts Their Own Move
Configure the Anthropic SDK client (timeout, max_retries, with_options, async, pagination), see which errors it retries by itself, then repair a retry wrapper so a 429, a 529, a 400 and a timeout each get the move the docs support.