Back to guide/General Productivity

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.

mcp-setup-guideservice_descriptionoperations_list
Edit View
Prompt
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

{{service_description}}{{operations_list}}

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.