Topic 3 of 4 · 5 min read
Serving agent skills from an MCP server
Goal: Decide which guidance belongs in tool descriptions, which in a served skill, and outline the skill a server should publish.
A skill served over MCP is a folder with a SKILL.md that the server publishes, so the instructions for using a service travel with the service. Tools say what each call does. A skill says how to get a job done with several calls.
Check yourself · 1 of 3
What is the main benefit of a server publishing a skill instead of each user keeping a local copy?
Why it matters
Say your server has 25 tools for a billing system. Each description explains one operation. Nobody has told the model that refunds above a limit need a second approval, that you check the invoice status before issuing a credit, or which report to use for month end. Teams used to paste that into each user's prompt or copy a skill folder into every repository, and the copies drift. When the server publishes the skill itself, every host that supports the extension gets the current version.
What goes where
- Tool description: what this one tool does, its inputs, side effects and errors. Always in context, so keep it short.
- Served skill: the multi-step workflow, the order of calls, the checks, house rules and reference files such as a field glossary. Loaded only when needed.
- Server instructions or a prompt: short guidance that applies to every session.
How it works
A skill is a directory with SKILL.md (YAML frontmatter with name and description, then instructions) and optional files such as references/checklist.md, following the Agent Skills format. A server that supports the extension declares the resources capability and the io.modelcontextprotocol/skills extension. It implements skills/list and skills/get, and serves file contents through resources/read. Each listing entry has a skill:// URI, the frontmatter, and a manifest with each file's SHA-256 digest and size. The host reads the short description first and loads the body only when the skill is relevant.
Reading SKILL.md does not activate it. The host routes the content through its own skill-loading path, where it can check the content and ask the user for approval.
Before and after
Weak: a 900-word description on the issue_refund tool that explains the whole refund policy. It is in context on every request, including ones about invoices.
Better: the tool description says what it does in two lines. A billing-refunds skill holds the policy:
---
name: billing-refunds
description: Issue or deny refunds. Use when a customer asks for money back.
---
1. Call get_invoice and confirm status is "paid".
2. Under 100 USD: call issue_refund.
3. 100 USD or more: call request_approval first. Never call issue_refund.
4. Read references/denial-reasons.md before writing a denial.
What goes wrong
- Skill as a prompt-injection channel. Instructions from a server enter the model's context. Hosts should verify and approve them, and servers should not serve text they would not stand behind.
- Stale copies. A skill that duplicates tool descriptions must change in two places and drifts.
- Assuming support. Host support is still being rolled out, so the tools must work without the skill.
Examples
Splitting a bloated description
A create_report tool has a 700-word description covering formats, month-end rules and three common errors. Move the month-end procedure and the error table into a month-end-reporting skill. Leave a two-line tool description. Every unrelated request now carries 700 fewer words, and the procedure has one place to update.
What the listing exposes
skills/list returns one entry: URI skill://billing-refunds/SKILL.md, frontmatter with name and description, and a manifest of two files, each with a sha256 digest and size. The host compares digests against its cache and fetches only files that changed.
Key points
- A served skill is a folder with SKILL.md and optional files, published by the server so workflow guidance stays next to the service.
- Tool descriptions say what one call does; a skill says how to complete a job across several calls.
- A server declares the resources capability and the io.modelcontextprotocol/skills extension and implements skills/list and skills/get.
- Listing entries carry a skill:// URI, the frontmatter and a manifest with a digest and size for every file.
- Reading SKILL.md does not activate a skill: the host decides whether and how to load it, and may ask the user first.
Common mistakes
- Pasting a whole workflow into a tool description, which is always in context and mixes unrelated concerns.
- Writing a skill description that does not say when to use it, so the host never loads it.
- Duplicating the tool descriptions inside the skill, creating two sources to keep in sync.
- Building tools that only work if the skill was loaded, when many hosts do not support the extension yet.
Check yourself · 2 of 3
Which content belongs in a served skill rather than in a tool description?
Check yourself · 3 of 3
A host reads skill://billing-refunds/SKILL.md through resources/read. What does that read do by itself?
Practice items, not counted towards your mastery.
Start here
- MCP extensions overview (opens in a new tab)DocsFree
Extension identifiers, the experimental/beta/stable lifecycle, and how clients and servers negotiate support.
- MCP Apps overview (opens in a new tab)DocsFree
How a tool points at a ui:// resource, how the host renders it, and when a UI is worth building.
- MCP Apps SDK and specification repository (opens in a new tab)ToolFree
The SDK, working examples and the full MCP Apps specification, including CSP and visibility rules.
More for this topic
- Skills over MCP extension (opens in a new tab)DocsFree
The skills/list and skills/get messages, the manifest with digests, and the capability declaration.
- ext-skills repository (opens in a new tab)ToolFree
The published specification and the list of implementations for serving skills over MCP.
- Agent Skills specification (opens in a new tab)DocsFree
The SKILL.md format (frontmatter, folder layout) that a server serves over MCP.