agent-tool-builder
Build reliable agent tool schemas
Poorly designed tool schemas cause agents to hallucinate, fail silently, or waste tokens. This skill teaches proven patterns for clear, unambiguous function-calling interfaces that work reliably.
Descargar el ZIP de la skill
Subir en Claude
Ve a Configuración → Capacidades → Skills → Subir skill
Activa y empieza a usar
Pruébalo
Usando "agent-tool-builder". A tool that searches a database with vague description: 'Searches for things'
Resultado esperado:
Improved: 'Searches the products database by category, price range, or keyword. Returns matching product records with id, name, price, and availability. Use when users ask about specific products or browse categories.'
Usando "agent-tool-builder". Tool that fails silently on invalid input
Resultado esperado:
Enhanced error handling: Returns structured error with 'error_type': 'invalid_parameter', 'field': 'price_max', 'message': 'Value must be positive number', 'suggestion': 'Check user input and retry with valid price'
Auditoría de seguridad
SeguroThis skill is purely documentation providing guidance on agent tool design. Static analyzer flagged false positives: line 54 contains skill names (not shell commands), and cryptographic warnings matched keywords in prose (no actual code present). No executable code exists in this markdown file - it is instructional content only.
Puntuación de calidad
Lo que puedes crear
Build Custom Agent Tools
Design tool schemas for domain-specific operations like database queries, API integrations, or file operations that your agent needs to perform.
Improve Existing Function Calling
Refine poorly performing tools that cause hallucinations or inconsistent behavior by applying clear schema design principles.
Implement MCP Tool Integration
Create Model Context Protocol compliant tools that enable agents to interact with external systems safely and predictably.
Prueba estos prompts
Review this tool schema and identify ambiguous descriptions or parameters that could cause inconsistent LLM behavior: [paste your schema]
Design error response formats for a [tool name] that help the LLM understand what went wrong and how to recover or retry with corrected parameters.
Rewrite this tool description to be more specific about what the tool does, when to use it, and what outputs to expect: [paste current description]
I need an agent to [describe goal]. Design a minimal set of 3-5 tools with clear schemas, descriptions, and example inputs that accomplish this without overlap or ambiguity.
Mejores prácticas
- Write descriptions that specify exactly when to use the tool and what it returns
- Include concrete input examples showing typical parameter values
- Design error responses that help the LLM understand and recover from failures
- Limit tool sets to the minimum needed - too many options cause confusion
- Use specific parameter names and types that match the domain vocabulary
Evitar
- Vague descriptions like 'processes data' or 'handles requests' without specifics
- Silent failures that return empty results instead of explicit error messages
- Providing 20+ tools when 5-7 focused tools would be more effective
- Schemas that accept any value without validation constraints
- Descriptions that explain implementation instead of purpose and behavior
Preguntas frecuentes
How many tools should I provide to an agent?
What makes a tool description effective?
How do I handle tool errors gracefully?
Should I provide examples for every tool parameter?
What is MCP and should I use it?
How do I test if my tool schemas work well?
Detalles del desarrollador
Autor
sickn33Licencia
MIT
Repositorio
https://github.com/sickn33/antigravity-awesome-skills/tree/main/skills/agent-tool-builderRef.
main
Estructura de archivos
📄 SKILL.md