Naming Conventions
Use Descriptive Names
Follow theverb_noun pattern with domain prefix:
Namespace Related Tools
Group related tools with common prefixes:Writing Clear Descriptions
Be Specific and Actionable
Help AI agents understand when and how to use your tools:Include Key Details
Mention important behavior, constraints, and return values:Input Design
Use clear parameter names
Use clear parameter names
Choose self-documenting parameter names:
Minimize required parameters
Minimize required parameters
Only require parameters that are absolutely necessary:
Use enums for fixed choices
Use enums for fixed choices
When parameters have specific allowed values, use enums:
Provide examples in descriptions
Provide examples in descriptions
Include example values in parameter descriptions:
Output Design
Return Structured Data
Always return structured, parseable data:Include Success/Error States
Make it clear whether the operation succeeded:Be Consistent Across Tools
Use consistent response formats across all your tools:Tool Annotations
Use annotations to provide hints to AI agents:Scope and Granularity
One tool, one purpose
One tool, one purpose
Each tool should do one thing well:
Balance between too granular and too coarse
Balance between too granular and too coarse
Consider common workflows
Consider common workflows
Design tools around how users actually work:
