Shape tool names, parameters, descriptions, and error messages so the agent calls the right tool with valid arguments.
Scanned 9/29/2026
npx -y skills add aniruddhaadak80/skills --skill agents-tool-design --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Agents Tool Design?
Add the live security badge to your README โ it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/aniruddhaadak80-agents-tool-design)More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.
---
name: agents-tool-design
description: "Shape tool names, parameters, descriptions, and error messages so the agent calls the right tool with valid arguments."
---
# Design tools an agent can use reliably
> Shape tool names, parameters, descriptions, and error messages so the agent calls the right tool with valid arguments.
**Track:** ๐ค AI Engineering ยท **Domain:** AI Agents ยท **Level:** intermediate ยท **~40 min**
**Who this is for:** AI Engineers, ML Engineers, LLM App Developers, Agent Builders
## When to Use This Skill
Shape tool names, parameters, descriptions, and error messages so the agent calls the right tool with valid arguments.
Use it whenever a matching task appears in conversation โ the agent loads these instructions on demand.
## Steps
1. One tool = one verb-noun responsibility; split anything doing two jobs
2. Write parameter descriptions that state format and units explicitly
3. Return structured errors the agent can self-correct from, never stack traces
4. Make tools idempotent where possible; require confirmation flags for destructive ones
5. Cap list results and paginate instead of dumping unbounded payloads
6. Test with adversarial phrasings that should NOT trigger the tool
## Common Pitfalls
- Overlapping tools forcing the model to guess between near-duplicates
- Boolean success returns hiding why a call failed
## Success Signals
- Tool-call validity rate above 95%
- Zero destructive calls without confirmation
## Commands
**Install with skills CLI**
```bash
npx skills add aniruddhaadak80/skills --skill agents-tool-design
```
**Install globally**
```bash
npx skills add aniruddhaadak80/skills --skill agents-tool-design -g
```
---
Part of [aniruddhaadak80/skills](https://github.com/aniruddhaadak80/skills) ยท Browse all at https://skills.sh/aniruddhaadak80/skillsIs this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!