tool-design

Design agent tool descriptions with inputs, outputs, and error handling.

5|Updated Dec 25, 2025
One-click install
npx skills add https://github.com/rohunvora/my-claude-skills --skill tool-design-rohunvora
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: tool-design
Source: https://github.com/rohunvora/my-claude-skills/tree/main/.claude/skills/tool-design
Command: npx skills add https://github.com/rohunvora/my-claude-skills --skill tool-design-rohunvora

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

Tools are the primary interface between agents and the world. Poor tool design causes failures that prompt engineering debt. This Skill guides tool creation, description, and consolidation for reliable agent behavior.

Core Features & Use Cases

  • Consolidation Principle: Prefer a single comprehensive tool over many narrow tools.
  • Tool Description Engineering: Describe what the tool does, when to use it, inputs, returns, and errors.
  • Architectural Reduction: Use minimal primitives to maximize reliability and maintainability.
  • Tool Description Patterns: Include examples, defaults, and clear error handling.

Quick Start

Design a new agent tool by writing a clear description that answers: what it does, when to use, inputs, outputs, and errors.

Frequently Asked Questions about tool-design

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I design tools that agents can use effectively?

Design tools by writing clear descriptions that answer: what the tool does, when to use it, what inputs it accepts, what it returns, and how it handles errors. This foundation ensures agents understand and trust your tools.

Why should I consolidate multiple tools into fewer, comprehensive ones?

Consolidation reduces complexity and improves agent reliability. A single well-designed comprehensive tool is easier for agents to understand and use correctly than many narrow tools that create decision overhead.

What is architectural reduction in tool design?

Architectural reduction means using minimal primitive operations to build your tool set. Simpler primitives maximize reliability, reduce maintenance burden, and give agents clearer contracts to work with.

How do I write tool descriptions that prevent agent failures?

Include examples, document default behaviors, and prescribe clear error handling in your tool description. Actionable error messages and token-efficient response formats guide agents to use tools correctly and recover from edge cases.

When should I apply tool consolidation versus keeping separate tools?

Consolidate when tools share similar inputs, outputs, or decision logic, or when an agent must choose between them. Keep tools separate only when they serve fundamentally different purposes and never need to be selected together.

How do I name and document tools consistently across my agent system?

Enforce consistent naming conventions and documentation patterns across all tools. Standardized naming and docs reduce agent confusion, lower token usage, and make your tool set more maintainable as it grows.