mcp-tool-design

mcp-tool-design is a skill for Claude Code from sigistry/marketplace. It costs 97 tokens per session (1,097 once invoked), scanned A, original, MIT.

A design guide for the tools, readable resources, and user-started prompts exposed by a Model Context Protocol (MCP) server. It explains how to make tool names, inputs, side effects, errors, and outputs clear to an AI agent.

In plain words
What is it for?
Use it to design MCP tool schemas, distinguish actions from readable data and prompts, describe side effects, and keep results bounded and safe.
Why use it?
It helps prevent agents from choosing the wrong tool, misunderstanding inputs, wasting context on too many small tools, or hiding destructive actions behind vague names.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the mcp-server-smith plugin — 4 skills, 3 commands, 2 agents shipped together

Good fit Use it to design MCP tool schemas, distinguish actions from readable data and prompts, describe side effects, and keep results bounded and safe.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sigistry/marketplace/mcp-tool-design
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add sigistry/marketplace --skill mcp-tool-design
Clone the repo
git clone --depth 1 https://github.com/sigistry/marketplace

Made for: Claude Code.

Or install mcp-server-smith, the plugin that ships this one along with the rest of its 4 skills, 3 commands, 2 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for mcp-tool-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/sigistry/marketplace/mcp-tool-design/github.svg)](https://agentmods.dev/skills/sigistry/marketplace/mcp-tool-design)
Your own site
<a href="https://agentmods.dev/skills/sigistry/marketplace/mcp-tool-design"><img src="https://agentmods.dev/badge/skills/sigistry/marketplace/mcp-tool-design/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for mcp-tool-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/sigistry/marketplace/mcp-tool-design"><img src="https://agentmods.dev/badge/skills/sigistry/marketplace/mcp-tool-design.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 97 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,097 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00097 $0.01097
Opus 5.5 $0.00039 $0.00439
Sonnet 5.5 $0.00019 $0.00219
Haiku 4.5 $0.00010 $0.00110

Measured 1mo ago against content hash 9c5f44e50d6d, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

mcp-tool-design scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/mcp-server-smith/skills/mcp-tool-design/SKILL.md · 61 lines

How it starts

The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.

MCP Tool Design

Purpose

An MCP server's tools are the API the model reasons over, its quality decides whether the agent uses the server well or thrashes. The failure mode is not usually a bug; it is too many thin, ambiguous tools with loose schemas, which burn context, invite wrong calls, and hide destructive actions behind innocent names. This skill is the design discipline: few powerful tools, complete schemas, honest annotations, safe errors, bounded output.

Tools vs resources vs prompts

Primitive For Example
Tool an action the model invokes (may have side effects) create_issue, run_query, search_docs
Resource readable content addressed by URI, app-controlled file://…, db://schema, a document the host attaches
Prompt a user-initiated templated workflow a /summarize-pr slash command
Do not model a read as a destructive tool, or a user workflow as an always-on tool. Picking the right primitive removes whole classes of misuse.

Few, powerful tools

  • Prefer one search_orders(status?, customer?, since?) over list_orders + filter_by_status + filter_by_customer. Each extra tool is permanent context cost and another way to be called wrong.
  • A powerful tool has a clear verb-noun name, does one coherent job, and exposes its variations through parameters, not through sibling tools.
  • If two tools are almost always called in sequence, consider merging them; if one tool has a boolean that flips it into a different operation, consider splitting, judgment, but bias toward fewer.

Complete input schemas

Every tool needs a full JSON Schema inputSchema:

  • Type every field; use enum for closed sets; mark required accurately; set sane defaults.
  • Give every parameter a description written for the model ("ISO-8601 date; results on or after this instant"), the description is how the model knows what to pass.
  • Constrain: minimum/maximum, maxLength, format, pattern where they prevent bad calls.
  • Reject unknown fields (additionalProperties: false) so a hallucinated parameter fails loudly. A tool whose description invites an action the schema does not constrain is a design bug (and a security one): the model may attempt the unconstrained thing.

Read the full file on GitHub · 61 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 61 lines · 97 tokens per session scan A 9c5f44e50d6d

Subscribe to this mod's changes

mcp-tool-design is a skill published in the GitHub repository sigistry/marketplace (3 stars, last pushed 4d ago), licensed MIT. It adds 97 tokens to every session and 1,097 once invoked, about $0.0004 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

design-code-architecture

Guided journey from an app idea to a deliberate architecture: boundaries, domain model, data decisions, and resilience, making only the expensive-to-reverse decisions and deferring the rest. Orchestrates eight skills phase by phase - clean-architecture, domain-driven-design, system-design, ddia-systems…

wondelai/skills · 220 tokens

system-design

Design scalable distributed systems using structured approaches for load balancing, caching, database scaling, and message queues. Use when the user mentions "system design", "scale this", "high availability", "rate limiter", "design a URL shortener", "design Twitter", "design Uber", "design a news feed", "system…

wondelai/skills · 139 tokens

mcp-tool-dev

Create MCP tools — individual tool functions exposed via Model Context Protocol. Use this skill whenever users mention MCP tools, tool handlers, tool functions, tool definitions, or want to add capabilities to an MCP server. Also use when the conversation involves designing tool schemas, writing tool descriptions, or…

andisab/swe-marketplace · 158 tokens

mcp-server-dev

Create MCP servers — multi-tool services exposed via Model Context Protocol. Use this skill whenever users mention MCP servers, building servers, server scaffolding, tool registration, or want to package tools for distribution via uvx or npx. Also use when the conversation involves stdio transport, server lifecycle…

andisab/swe-marketplace · 175 tokens

architect

This skill should be used when the user asks to "design system architecture", "evaluate microservices vs monolith", "create architecture diagrams", "analyze dependencies", "choose a database", "plan for scalability", "make technical decisions", or "review system design".

Joncik91/ucai · 56 tokens

backend

This skill should be used when the user asks to "design REST APIs", "optimize database queries", "implement authentication", "build microservices", "review backend code", "set up GraphQL", "handle database migrations", or "load test APIs".

Joncik91/ucai · 54 tokens