Agent Tool Spec Generator
Define a tool your AI agent can call. Generate a Markdown spec, JSON spec, input schema, and usage examples โ suitable for any agent framework, not just MCP.
Tool Details
Input Fields 0 defined
Output & Rules
// Fill in tool name and purpose to generateโฆ
How to define agent tools
Name the action clearly
Use verb_noun: search_docs, create_ticket, get_user. The name is the primary signal for when the agent calls this tool.
Write a precise description
Include what it does, what it returns, and when to call it. Vague descriptions cause wrong or missed tool calls.
Define when NOT to use it
This is often more important than when to use it. Prevents the agent from calling the tool inappropriately.
Add safety rules
What should the tool never do? Only return authorised data, never expose secrets, max N results.
Document error handling
What should the agent do when the tool fails? Return empty array, retry, escalate?
Include usage examples
Show the agent exactly what a call looks like. Examples are the most reliable way to improve tool selection accuracy.
Privacy: This tool runs in your browser. Nothing is uploaded or stored.
Frequently Asked Questions
What is an agent tool spec?
How is this different from the MCP Tool Definition Generator?
What is the JSON Spec output?
What is the Input Schema output?
Is my data uploaded anywhere?
Related Tools
MCP Tool Definition Generator
Generate MCP tool definitions from a form โ name, description, typed input fields, and required arrays.
MCP Tool Schema Validator
Validate MCP tool definitions โ names, descriptions, inputSchema, required fields, and common mistakes.
Coding Agent Generator
Generate starter instruction files for coding agents โ AGENTS.md, CLAUDE.md, GEMINI.md, Cursor Rules, Windsurf Rules, and generic instructions.