MCP Input Schema Builder
Build MCP inputSchema JSON using a visual field builder. Add typed fields with descriptions,
enums, defaults, and constraints. Get the schema JSON, an MCP tool example, and a TypeScript interface instantly.
Tool Name
Optional โ used for the MCP Tool Example and TypeScript interface name.
Input Fields 0 defined
{
"type": "object",
"properties": {},
"additionalProperties": false
}inputSchema Design Guide
Example output
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "Search query text.",
"minLength": 1
},
"limit": {
"type": "integer",
"description": "Max results to return.",
"default": 10,
"minimum": 1,
"maximum": 100
}
},
"required": ["query"],
"additionalProperties": false
} Best practices
Describe every field
Property descriptions are read by the model โ they determine what value gets passed. Always write a clear description.
Use enum for fixed options
Enum prevents the model from guessing. If a field has 3-10 valid options, define them as an enum.
Set additionalProperties: false
Always included by this builder. Prevents the model from passing undefined keys.
Only mark truly required fields
Fields the tool cannot work without. Optional fields with defaults are better left optional.
Privacy: This tool runs entirely in your browser. Nothing is uploaded or stored.
Frequently Asked Questions
What is inputSchema in MCP?
Why must inputSchema.type be "object"?
When should I use enum?
What does additionalProperties: false do?
Is my data uploaded anywhere?
Related Tools
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.
MCP Client Config Validator
Validate MCP client configuration JSON โ mcpServers, commands, args, env, and common mistakes.