wise-mcp
Installation
SKILL.md
Designing MCP servers that agents use well
This skill is the design half of building an MCP server: what to build and why. It deliberately leaves the API to FastMCP's own sources, which track every release:
- FastMCP API — the
fastmcp-serverskill from gofastmcp.com, if installed. Otherwise read the index at https://gofastmcp.com/llms.txt and fetch the pages you need as.md; don't loadllms-full.txt, which runs to megabytes. Check the project's installed FastMCP version first: unversioned pages describe the current line,/v3/pages the 3.x line. - Arcade's pattern catalog — 54 patterns for agent-facing tools at https://www.arcade.dev/patterns, plain text at https://www.arcade.dev/patterns/llm.txt. The
(see: NAME)tags below are its pattern names. It is a practitioner's catalog, not a measured one: where measurements disagree with it, this skill follows the measurements.
Written against FastMCP 4.2.0 and MCP spec 2026-07-28, the latest at the time of writing (2026-11-15). Where an API named here disagrees with the installed version, the installed version wins; the judgment usually still holds. Every source the advice rests on, with the date it was last checked, is in references/sources.md.
1. Guiding principles
- Machine experience — design for LLM comprehension, not human reading. Names, descriptions, parameters and errors are the agent's only interface; a terse description a developer would understand leaves an agent guessing about purpose, prerequisites and valid inputs. (see: TOOL_DESCRIPTION, MACHINE_EXPERIENCE)
- Tool DAGs — hint at what comes next. Every tool should answer "what do I call before this?" and "what might I call after?", so the agent builds workflows without trial and error. (see: DEPENDENCY_HINT, NEXT_ACTION_HINT)
- Error-guided recovery — errors teach, not just fail. "Permission denied" teaches nothing; "Permission denied: requires the
adminscope. Callrequest_elevated_access()first" lets the agent self-correct. (see: RECOVERY_GUIDE, ERROR_CLASSIFICATION) - Security boundaries — prompts express intent, code enforces rules. Authorization, validation and audit happen in the tool layer, never in a system prompt or a tool description. (see: SECRET_INJECTION, PERMISSION_GATE)