Zawap
Promptprompt-engineering

Model Context Protocol Tool Schema Architect

Prompt for designing Model Context Protocol tools with strict JSON Schema definitions, Zod validation, and error contract structures.

{}3 variables•Free•Author: ALeeXSD
Prompt template
1
2
3
4
5
6
7
8
9
Architect a production-ready Model Context Protocol (MCP) tool specification for {{tool_name}}. **Tool Capability:** {{tool_description}} **Required Inputs:** {{input_parameters}} **Tool Design Invariants and Rules:** 1. Construct the complete `inputSchema` using JSON Schema Draft 7 with field descriptions and required arrays. 2. Provide the complete tool descriptor JSON payload (`name`, `description`, `inputSchema`). 3. Implement a corresponding TypeScript execution handler using Zod runtime…

Copy the template, add your details, and paste the prompt into your chosen AI service.

Comments · 0

Nothing here yet

Sign in to participate