MCP Function Schema Designer
Asking for descriptions 'clear enough for an AI to decide when to call it' produces schemas optimized for AI tool selection, not just human readability.
I'm building an MCP server that exposes {{service_description}} to AI assistants. Design the complete function schema for these operations:\n\n{{operations_list}}\n\nFor each operation, provide:\n1. Function name (following MCP naming conventions)\n2. Description (clear enough for an AI to decide when to call it)\n3. Input parameters with types, descriptions, and required/optional flags\n4. Response schema\n5. Error cases and appropriate error codes\n\nEnsure the naming is consistent and the descriptions help the AI understand when to use each tool.
Variables to customize
Why this prompt works
Asking for descriptions 'clear enough for an AI to decide when to call it' produces schemas optimized for AI tool selection, not just human readability.
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.