Dev & Engineering

Agent Tool Design Guide

Design tool interfaces agents can route, call, and recover from reliably.

51/ 100
Use with care

Useful, but reliability, evidence or controls still have material gaps.

See how it was scored ↓
Works as-is in
Codex · Claude Code
Stars
★ 18k
Last updated
16d ago
License
MIT
tool-interface-designmcpapi-schemaerror-recovery
+1tool-consolidation

What does this skill do, and when should you use it?

This Agent Skill focuses on the tool-interface layer of an agent system, covering descriptions, schemas, response formats, naming, error recovery, and MCP tool design. It treats each tool as an explicit contract between deterministic software and a non-deterministic agent, using consolidation and namespacing to reduce routing ambiguity. It also addresses response-size choices, primitive tools, tool testing, and iterative improvement from observed failures. It fits engineers building or auditing agent tool catalogs, but does not own project-level pipeline architecture or decisions about splitting work among sub-agents.

It provides concrete methods for designing and auditing individual tools or tool catalogs: descriptions should state what a tool does, when to use it, what inputs it accepts, and what it returns; parameters should include types, constraints, defaults, and examples; names should follow verb-noun conventions with consistent fields and fully qualified MCP names in the form ServerName:tool_name. It guides actionable error messages, concise and detailed response modes, and decisions about merging overlapping tools. It also includes an audit checklist, five testing criteria, and a Python-style pseudocode pattern for analyzing tool failures and improving descriptions.

Good fit
  • An agent repeatedly selects the wrong tool, so an engineer uses the skill to identify overlap and restructure the catalog.
  • A team is designing a new API or MCP tool and needs a clear schema, return shape, and recovery path.
  • Tool calls frequently use malformed inputs, so a developer adds format examples, defaults, and explicit constraints.
  • A tool catalog is growing rapidly, so an architect evaluates namespacing, consolidation, and primitive capabilities.
  • Tool responses consume too much context, so an engineer designs concise and detailed response modes.

How do you install this skill?

Before you use it
  • Use the “arbitrary bash command” pattern only with strict isolation, least privilege, resource limits, auditing, and human approval; do not grant direct access to production hosts or sensitive data.
  • The case-study figures for success rate, latency, and token use lack reproducible experimental details in the supplied material and should not be treated as general guarantees.
  • MCP naming examples still need validation against the target deployment, version, and server constraints; generated descriptions and error templates should be tested against real schemas, abnormal inputs, and API behavior.

After obtaining the repository, copy the complete tool-design directory into the target Agent Skills directory while preserving SKILL.md and the folder structure. For example: mkdir -p .codex/skills && cp -R skills/tool-design .codex/skills/. It can also be copied to .claude/skills/ or .agents/skills/. Do not flatten SKILL.md into a single file. The README also supports using the repository as a plugin directory, but it does not document client-specific standalone installation steps beyond these layouts.

Generic route: install into Claude Code manually (macOS / Linux)
tmp="$(mktemp -d)"
git clone --depth 1 https://github.com/muratcankoylan/Agent-Skills-for-Context-Engineering.git "$tmp"
mkdir -p ~/.claude/skills
cp -R "$tmp/skills/tool-design" ~/.claude/skills/
rm -rf "$tmp"

Generated from the source repository and skill path; it copies only this skill's folder. If the author's install steps above differ, follow those first. To scope it to one project, replace ~/.claude/skills with that project's .claude/skills.

How do you use this skill?

Try saying

Once installed, send your agent any of these to trigger it:

  • Design a clear MCP tool description, parameter schema, response format, and actionable error messages, then check the catalog for overlapping tools.

In an Agent Skills-compatible client, describe the work as a tool-interface task, for example: “Design a clear MCP tool description, parameter schema, response format, and actionable error messages, then check the catalog for overlapping tools.” Activate it when the unit of work is one tool or a tool set. Route project pipeline architecture, sub-agent decisions, and trajectory-level context optimization elsewhere.

What are this skill's strengths and limitations?

Pros
  • Covers the full interface layer: descriptions, schemas, responses, naming, recovery, and catalog governance.
  • Includes a practical audit checklist and five evaluation criteria: unambiguity, completeness, recoverability, efficiency, and consistency.
  • Clearly separates tool-interface work from project architecture and multi-agent decomposition.
  • Offers specific guidance on consolidation, response formats, and fully qualified MCP naming.
Limitations
  • It is design guidance, not a runnable tool implementation or framework adapter.
  • The code examples are primarily Python pseudocode, and no dedicated automated test suite for this skill is provided.
  • MCP, filesystem, and Unix-tool material describes design patterns; deployment still requires your own runtime, permissions, and implementation.
  • Some production results are workload-specific case evidence, and the skill recommends reproducing them on the target catalog.

How does this skill compare with similar options?

Side by side with related skills; every score comes from the same FSRS standard.

Skill FS score Stars Last updated License
Agent Tool Design Guide this page 51 · Use with care ★ 18k 16d ago MIT
skill-optimizer: Eval Workbench for Agent Skills 61 · Recommended ★ 81 5mo ago MIT
OpenAI Developer Docs Assistant ✓ OpenAI · Official 55 · Use with care ★ 28k 4mo ago —
Xberg API Server & MCP Protocol Integration 52 · Use with care ★ 9.4k 14d ago MIT
Cloudflare Email Service Skill 52 · Use with care ★ 3.1k 14d ago Apache-2.0

How did FollowSkills review this skill?

FollowSkills review · FSRS-2.0
Use with care
51/ 100 5-point scale 2.6 / 5
The upstream repository has new commits since this review. The score still applies to the reviewed revision shown and may not cover the latest changes.
1Trust13 / 25 · 2.6/5

The skill recommends sandboxing and acknowledges safety constraints, with no visible malware, credential theft, or covert exfiltration. However, least privilege, user confirmation, sensitive-data flow, external side effects, and rollback are not specified end to end, so points are deducted.

2Reliability7 / 20 · 1.8/5

The instructions are internally coherent and include recovery guidance, a testing checklist, and a readable Python utility. The utility has no committed tests, uses crude heuristic checks, and the key design claims are not statically reproduced; the score is therefore capped and reduced for thin edge-case and failure handling.

3Adaptability12 / 15 · 4.0/5

Activation triggers, scope, and boundaries with adjacent skills are clearly stated, and the skill is presented as platform-agnostic. It lacks Chinese-language guidance, fully worked input/output contract coverage, and broader non-fit boundaries, so points are deducted.

4Convention10 / 15 · 3.3/5

The skill has a clear information architecture, progressive-disclosure references, examples, version and update metadata, and repository-level MIT licensing. It lacks an explicit maintainer, changelog, installation/dependency notes, and a clear update path; cited case material is also not fully attributed in the supplied evidence.

5Effectiveness6 / 15 · 2.0/5

The material provides directly usable design structures, naming guidance, recovery patterns, checklists, and a generator utility. The generator is not a complete runtime or schema validator, examples and case coverage are limited, and practical recommendations still require system-specific validation; the static ceiling therefore applies.

6Verifiability3 / 10 · 1.5/5

The supplied material includes auditable documentation, source code, and quantitative case-study claims. It does not include committed tests or independent reproduction for this skill, and some evidence is represented only by names or placeholder claim identifiers, so corroboration is weak.

1 2 3 4 5 6

Open a dimension to read why it scored that way

Reviewed Jul 20, 2026 Reviewed revision c578e85e40fe Review evidence[1][2][3][4][5][6][7][8][9][10]

Evidence confidence:Low — Mostly static review, author material or a limited demo; useful for discovery, not high-risk decisions.

See the full review method →

FAQ

Does this skill require networking, an MCP server, or specific dependencies?
The source does not require networking, an MCP server, a shell, or specific software dependencies for the skill itself. It provides interface-design guidance; adopting its MCP or filesystem patterns still requires configuring the corresponding runtime.
Does it decide whether a system should use multiple agents?
No. It owns the interface layer for individual tools and tool sets. Decisions about introducing sub-agents belong to multi-agent architecture guidance.
Does the source specify an operating cost?
No cost is specified for the skill itself. The repository is MIT-licensed, while model, server, MCP, and infrastructure costs depend on the implementation.

More skills from this repository

All from muratcankoylan/Agent-Skills-for-Context-Engineering

Dev & Engineering

Rigorous Research Agent

A validation, recovery, and source-tracking protocol for multi-step research.

★ 18k FS 45 Not recommended 16d ago
Dev & Engineering

Advanced LLM Evaluation

Build auditable, calibrated LLM-output evaluations with explicit rubrics, confidence scoring, and bias controls.

★ 18k FS 56 Use with care 16d ago
Dev & Engineering

Persistent Semantic Memory Design

Design durable, retrievable agent memory that scales from simple files to temporal knowledge graphs.

★ 18k FS 53 Use with care 16d ago
Dev & Engineering

Project Development Methodology

Decide whether an LLM fits the job, then design a staged agent pipeline with predictable parsing, iteration, and cost control.

★ 18k FS 50 Use with care 16d ago
Dev & Engineering

Agent Evaluation Methods

Build repeatable evaluation, regression detection, and quality gates for agent pipelines.

★ 18k FS 46 Use with care 16d ago
Dev & Engineering

Reasoning Trace Optimizer

Diagnose context, tool, and instruction failures by analyzing agent traces and iteratively improving prompts.

★ 18k FS 38 Not recommended 16d ago
Dev & Engineering

Self-Improvement Loops

Evolve agent harnesses, workflows, and context mechanisms under bounded, evidence-based evaluation.

★ 18k FS 58 Recommended 16d ago
Dev & Engineering

Long-Horizon Prompting

Designs auditable launch briefs for autonomous agents and parallel multi-agent work on difficult, long-running tasks.

★ 18k FS 57 Use with care 16d ago
Dev & Engineering

Context Engineering Fundamentals

Understand and shape reliable agent context through attention budgets, context-window mechanics, and signal-density principles.

★ 18k FS 55 Use with care 16d ago
Dev & Engineering

Latent Briefing

Share task-relevant orchestrator state with workers through task-guided KV-cache compaction when the inference runtime is controllable.

★ 18k FS 55 Use with care 16d ago
Dev & Engineering

Multi-Agent Architecture Patterns

Design multi-agent systems with context isolation, explicit handoffs, coordinated execution, and controlled failure handling.

★ 18k FS 55 Use with care 16d ago
Dev & Engineering

Context Degradation Diagnosis

Identify and mitigate lost attention, poisoning, distraction, confusion, and conflict in long agent contexts.

★ 18k FS 51 Use with care 16d ago
Dev & Engineering

Context Compression Strategies

Compress long-running agent sessions while preserving files, decisions, risks, and next actions.

★ 18k FS 50 Use with care 16d ago
Dev & Engineering

BDI Mental State Modeling

Turn RDF context into explainable belief, desire, and intention chains.

★ 18k FS 49 Use with care 16d ago
Dev & Engineering

Autonomous Agent Harness

Designs autonomous agent loops that remain controlled, recoverable, and auditable.

★ 18k FS 49 Use with care 16d ago
Dev & Engineering

Filesystem Context Engineering

Move large, durable, or shared agent context into files and retrieve it selectively when needed.

★ 18k FS 45 Not recommended 16d ago
Dev & Engineering

Context Efficiency Optimizer

Reduce context cost with caching, masking, compaction, and partitioning while preserving answer quality.

★ 18k FS 44 Not recommended 16d ago
Dev & Engineering

Context Engineering for Production Agents

A structured guide to designing, optimizing, and evaluating production agent systems with reliable context management.

★ 18k FS 44 Not recommended 16d ago
Dev & Engineering

Agent Skill Blueprint

A reusable structure for authoring well-scoped context-engineering skills.

★ 18k FS 40 Not recommended 16d ago
Productivity & Collaboration

Digital Brain Personal OS

Manage content, relationships, knowledge, and goals through structured files and AI.

★ 18k FS 38 Not recommended 16d ago

Related skills