MCP Tool Definition Writer
Providing the parameter list and return format upfront lets the model produce a complete, valid schema instead of a generic skeleton.
Write an MCP tool definition for a function called "{{tool_name}}" that {{tool_description}}.\n\nParameters:\n{{parameters_list}}\n\nReturn format: {{return_format}}\n\nGenerate the complete tool schema in JSON following the MCP specification, including:\n1. name and description\n2. inputSchema with JSON Schema types and required fields\n3. Example invocation with sample parameters\n4. Example successful response
Variables to customize
Why this prompt works
Providing the parameter list and return format upfront lets the model produce a complete, valid schema instead of a generic skeleton.
Save this prompt to your library
Organize, version, and access your best prompts across ChatGPT, Claude, and Cursor.
Related prompts
Forcing the agent to plan before acting prevents premature execution and wasted steps. Explicit dependency mapping enables parallel execution and catches logical gaps early.
Tool Selection AgentThe ReAct pattern (Reason + Act) creates an explicit reasoning trace that improves tool selection accuracy. The error-handling rule prevents infinite retry loops.
Prompt CompressorExplicitly requiring all functional requirements to be preserved prevents the model from over-compressing and losing critical instructions.
Memory Management AgentExplicit memory read/write instructions create agents that improve over time. Categorization keeps memories organized, and the deduplication rule prevents context bloat.