tool-design

Designs agent tool interfaces with structured descriptions, naming conventions, and error recovery patterns.

Updated Apr 17, 2026
One-click install
npx skills add https://github.com/Syedyasir001/RVULibPass --skill tool-design-syedyasir001
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: tool-design
Source: https://github.com/Syedyasir001/RVULibPass/tree/main/.agent/skills/library/tool-design
Command: npx skills add https://github.com/Syedyasir001/RVULibPass --skill tool-design-syedyasir001

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve? Agents select and call tools based solely on descriptions, so vague or overlapping tool definitions cause selection errors, malformed calls, and unrecoverable failures. This Skill provides principles, templates, and utilities for designing unambiguous agent-facing tool contracts. ## Core Features & Use Cases - Tool Description Engineering: Structure descriptions that answer what a tool does, when to use it, what inputs it accepts, and what it returns, with concrete format examples. - Consolidation and Architectural Reduction: Apply the consolidation principle to shrink tool collections, including the file-system-agent pattern that replaces specialized tools with primitive command execution. - Description Generation and Evaluation Utilities: Use the included Python script to build tool schemas, render markdown descriptions, score description quality across five criteria, and generate agent-recoverable error messages. - Use Case: When building an MCP server, use this Skill to write fully qualified tool names, design actionable error responses, and audit an existing tool collection for ambiguity and naming inconsistencies. ## Quick Start Use the tool-design skill to review my agent's tool definitions and rewrite any vague descriptions with proper usage triggers, parameter formats, and error recovery guidance.

Frequently Asked Questions about tool-design

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

FAQPage Schema
How do I write good tool descriptions for AI agents?▼

Structure every tool description to answer four questions: what the tool does, when to use it, what inputs it accepts, and what it returns. Include concrete format examples like 'CUST-######' for IDs, specify defaults, and document error conditions with recovery guidance.

How many tools should an AI agent have?▼

Limit tool collections to 10-20 tools for most applications, since description overlap causes model confusion during selection. When more tools are needed, use namespacing prefixes like db_* or web_* to create logical groupings that help agents route correctly.

When should I consolidate agent tools into fewer tools?▼

Consolidate when tools represent sequential steps in one workflow or when a human engineer cannot definitively say which tool applies. Keep tools separate when they have fundamentally different behaviors, serve different contexts, or when consolidation would require more than 8-10 parameters.

Why do MCP tools fail with 'tool not found' errors?▼

MCP tool lookups fail when tool names lack the server prefix and multiple servers expose similar names. Always use fully qualified names in the format ServerName:tool_name, such as BigQuery:bigquery_schema, and audit for namespace collisions when adding providers.

How do I design error messages that agents can recover from?▼

Make every error message actionable by stating what went wrong, the expected format, and how to correct it. Include the invalid value received, a concrete valid example, retry guidance for transient failures, and a retryable flag in structured error responses.

When should I avoid reducing agent tools to primitive commands?▼

Avoid architectural reduction when the data layer is messy or undocumented, the domain requires specialized knowledge the model lacks, safety constraints must limit agent actions, or workflows genuinely benefit from structured orchestration across multiple steps.