MCP Tool Response Schema Builder
Define what your MCP tool returns using a visual form. Build success and error response schemas with typed fields, nullable flags, enums, and example values. Outputs JSON Schema and TypeScript types.
Tool Details
Response Fields 0 defined
Error Response Shape
Configure what your error responses include. A success: false field is always included.
{
"type": "object",
"properties": {},
"additionalProperties": false
}Response Schema Design Guide
Always include a success indicator
Add a boolean "success: true" field so callers can check the response type without inspecting the entire payload.
Define your error shape explicitly
At minimum: error code (machine-readable) + message (human-readable). Consistent error shapes make agent error handling predictable.
Describe every field
The AI model reads field descriptions to understand what it received. "The user's ISO 8601 join date" is far more useful than "date".
Use enum for fixed-value fields
Status fields like "open", "closed", "pending" should be enums so the model knows all valid values when reasoning about the response.
Privacy: This tool runs entirely in your browser. Nothing is uploaded or stored.
Frequently Asked Questions
What is an MCP tool response schema?
How is this different from inputSchema?
What is the "Full (oneOf)" output?
What does "nullable" mean for a field?
Is my data uploaded anywhere?
Related Tools
MCP Input Schema Builder
Build MCP inputSchema JSON using a form โ typed fields, required arrays, enums, and TypeScript types.
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.