Read the interface before integrating a tool
An MCP tool definition describes a capability exposed by a Model Context Protocol server. Its name identifies the capability, its description explains its purpose, and its inputSchema describes the arguments a caller can supply. A schema tells you about an interface; it does not prove what the implementation does with those arguments.
The MCP Tool Schema Inspector presents those definitions as a readable tree with parameter counts and static observations. It parses JSON locally, without connecting to a server, contacting schema URLs, executing commands, or calling a tool. Use it during interface review or when preparing a definition for an agent integration.
Supply a supported JSON shape
Paste a single tool object, an array of tool objects, or an object containing a tools array. A tools/list response with result.tools also works. A bare JSON Schema needs to be wrapped with a name and inputSchema. Comments, trailing commas, JavaScript expressions, and YAML are not JSON and are rejected.
{
"name": "search_files",
"description": "Search filenames within the current project.",
"inputSchema": {
"type": "object",
"properties": {
"query": { "type": "string", "description": "Text to find in filenames." },
"limit": { "type": "integer", "description": "Maximum results to return.", "default": 10 },
"mode": { "type": "string", "description": "How to match filenames.", "enum": ["exact", "contains"] }
},
"required": ["query"]
}
}
This has three declared top-level parameters, one required parameter, and two optional parameters. Required and optional refer to presence of a property, not to whether its value can be null or an empty string. Constraints such as minLength or minimum can impose additional restrictions that this inspector does not evaluate.
Understand properties, types, and nesting
Strings hold text. Numbers can include fractional values; integers represent numbers without a fractional component. Booleans accept true or false. Objects contain named fields. Arrays contain sequences whose element constraints commonly appear in items. A type array such as string plus null permits either type; it does not automatically make a parameter optional.
The properties keyword maps field names to schemas. The required keyword lists fields that must be present at that object level. An options object can have its own required array independently of the root. The tree displays this local relationship so nested requirements are not mistaken for root requirements.
An enum limits a value to a specified collection. A default is an annotation describing a suggested value; JSON Schema validation does not automatically insert it into missing arguments. The inspector displays defaults including false, zero, and null without treating them as absent. The server or client must decide whether and how to apply a default.
Descriptions explain meaning, units, examples, and boundaries that types alone cannot communicate. A parameter named path might mean a relative workspace path, an absolute filesystem location, or an output destination. Clear descriptions help reviewers and agents choose appropriate arguments, but do not enforce access controls.
Inspect the definition step by step
- Open the inspector.
- Select Load example to explore a realistic definition, or paste your JSON.
- Select Inspect schema. Parsing errors leave a friendly explanation rather than a partial JSON interpretation.
- Read the summary and individual tool metrics. Parameters means declared root properties; All properties includes inspected nested and branch properties.
- Expand or collapse child schema nodes and review required labels, item schemas, enums, and defaults.
- Review Schema observations. Error, Warning, and Info labels carry meaning independently of color.
- Copy summary for a review note, or copy normalized schema to obtain the supplied tools as one JSON array.
Editing the input clears earlier results so the output never silently describes a different definition. Clear resets the workspace. Loading an example does not execute inspection or a tool call.
Interpret structural observations carefully
Missing tool names or input schemas, non-object MCP input schemas, malformed properties, malformed required arrays, and unsupported type names produce errors. Missing descriptions, unspecified types, empty enums, arrays without item schemas, open objects with no declared properties, duplicate tool names, and unusually large interfaces produce review warnings.
A required name absent from properties deserves attention, but is not automatically invalid JSON Schema. Open objects can require an undeclared field, and references or other rules may define it. The inspector reports a warning in those cases. When additionalProperties is false and no recognized alternative definition mechanism is present, it reports the contradictory undeclared requirement as an error. These checks are deliberately limited and do not replace a schema validator.
Understand the complexity estimate and limits
CyberClutch schema complexity is an explainable interface heuristic, not an official MCP score. Simple means no more than five root parameters and a maximum inspected depth of two schema edges. Moderate means more than five parameters or depth three through five. Complex means at least fifteen parameters or depth above five. The inputSchema root has depth zero; moving into a property, array item, or composition branch increases depth by one.
Inspection accepts up to fifty tools and one million input characters. JSON documents deeper than 128 container levels are rejected. The tree stops beyond twelve schema edges or after three thousand schema nodes across the collection, and labels the resulting metrics as partial. Truncated enum/default displays are presentation limits; normalized JSON retains the original values.
References are displayed without resolution or fetching. Composition branches are shown separately, while their combined requirements are not calculated. Definitions, conditional rules, pattern properties, and other advanced constraints are not expanded or fully validated. Boolean property schemas are legitimate and displayed as accepting any value or no value, while the MCP root must be an object. Static schema analysis does not verify runtime MCP behavior, server permissions, or safety.
Use the MCP Config Validator for client configuration and the MCP Security Scanner for separate configuration observations. For authoritative semantics, consult the MCP tool specification and JSON Schema object reference. Then return to the MCP Tool Schema Inspector to review your interface.
