Skip to content

Menu

MCP Tool Schema Validator

Paste MCP tool definitions or a tools/list response and check names, inputSchema, outputSchema and annotations against the MCP spec.

Runs entirely in your browserAIFree, no sign-up
Loading tool

01What is MCP Tool Schema Validator?

An MCP server describes its tools in the response to a tools/list request. Each tool has a name, an inputSchema and some optional fields. Clients and models rely on these definitions to decide what to call and how. This validator reads the JSON you paste and checks each tool against the 2025-11-25 version of the Model Context Protocol spec. You can paste a full JSON-RPC tools/list response, its result object, an object with a tools array, a plain array of tools or a single tool. Results are listed per tool as errors, warnings or passes. Name checks follow the spec's tool name guidance: 1 to 128 characters, using only ASCII letters, digits, underscore, hyphen and dot, and unique within the server. The spec words these as SHOULD rules, so the tool reports them as warnings. inputSchema is required, must be an object and not null, and must have type set to object at the root, as the schema definition requires. The same root rule applies to outputSchema when present. The tool also checks that properties is an object, that each property's type is a JSON Schema type, and that every name in required appears in properties. Input properties without a description get a warning. For annotations, readOnlyHint, destructiveHint, idempotentHint and openWorldHint must be booleans, and title must be a string. If readOnlyHint is true, setting destructiveHint or idempotentHint gets a warning, because the spec says they only mean something when readOnlyHint is false. A tool with no annotations gets a warning listing the defaults clients assume. It also checks execution.taskSupport values, icons, a missing description and unknown fields such as input_schema. Limits: this is a lint, not a full JSON Schema meta-validator. It does not resolve $ref, check keywords like pattern or enum, or call your server. Older spec versions may differ.

Developers building MCP servers and people reviewing third-party servers before connecting them to an AI client. The tool runs entirely in your browser, so your data never leaves your device.

02How to use MCP Tool Schema Validator

  1. Call tools/list on your server, or copy the tool definitions from your code
  2. Paste the JSON into the input box
  3. Read the results for each tool, starting with errors
  4. Fix the definitions in your server code
  5. Paste the new output again until only passes and warnings you accept remain

03Worked examples

Input: {"jsonrpc":"2.0","id":1,"result":{"tools":[{"name":"get_weather","description":"Get weather","inputSchema":{"type":"object","properties":{"location":{"type":"string","description":"City"}},"required":["location"]},"annotations":{"readOnlyHint":true,"openWorldHint":true}}]}}
Result: ok [get_weather] Looks fine.
A tools/list response with a name, description, schema and annotations. Every check passes.
Input: [{"name":"get weather","inputSchema":{"type":"object","properties":{"q":{"type":"str"}},"required":["q","x"]}}]
Result: warning [get weather] name "get weather" has characters outside A-Z, a-z, 0-9, "_", "-" and ".". warning [get weather] No "description". Clients pass it to the model as a hint about what the tool does. error [get weather] inputSchema.properties.q.type "str" is not a JSON Schema type. warning [get weather] inputSchema.required lists "x", which is not in properties. warning [get weather] No "annotations". Clients then assume the defaults: not read-only, destructive, not idempotent, open world.
A bare array of tools is accepted too. The space in the name, the made-up type and the unknown required key are all flagged.
Input: {"name":"delete_file","description":"Delete a file","input_schema":{"type":"object"},"annotations":{"readOnlyHint":"no"}}
Result: error [delete_file] "inputSchema" is required. For no parameters use { "type": "object", "additionalProperties": false }. error [delete_file] annotations.readOnlyHint must be true or false. warning [delete_file] "input_schema" is not a Tool field in the spec. Did you mean "inputSchema"?
A single tool object using snake_case input_schema. The validator points at the likely typo and the string hint value.
Input: {"tools":[{"name":"search_issues","description":"Search issues by text","inputSchema":{"type":"object","properties":{"query":{"type":"string"}},"required":["query"]},"annotations":{"readOnlyHint":true,"destructiveHint":false}},{"name":"search_issues","description":"Search issues","inputSchema":{"type":"object"},"annotations":{"readOnlyHint":true}}]}
Result: warning [search_issues] inputSchema.properties.query has no description, so the model has less to go on. warning [search_issues] destructiveHint and idempotentHint only mean something when readOnlyHint is false. warning [search_issues] name "search_issues" is used more than once; names should be unique within a server.
Two tools share one name, and a read-only tool sets destructiveHint, which clients ignore. Missing property descriptions are flagged as well.
Input: { "tools": [ { "name": "ping", } ] }
Result: error Invalid JSON: Expected double-quoted property name in JSON at position 31 (line 1 column 32)
A trailing comma stops the check before any tool is read. The parser message gives the position.
Input: {"tools":[]}
Result: warning The tools array is empty.
Valid JSON with an empty tools array is reported as a warning, not an error.

04Common use cases

  • Checking a server's tools/list output before publishing an MCP server
  • Finding why a client rejects or ignores one of your tools
  • Reviewing tool names against the naming guidance in the 2025-11-25 spec
  • Catching snake_case field names such as input_schema copied from other tool formats
  • Auditing annotations so clients get accurate read-only and destructive hints

05Tips

  • For a tool with no parameters, use { "type": "object", "additionalProperties": false } as the spec recommends
  • Give every input property a description; it is what the model reads
  • Set readOnlyHint to true for tools that only read data, so clients can treat them accordingly
  • Copy the report with the copy button to paste into a pull request or issue

06Related concepts

Model Context Protocol, tools/list, JSON Schema, inputSchema, Tool annotations.

Frequently Asked Questions

What is MCP Tool Schema Validator?

MCP Tool Schema Validator is a free, browser-based developer tool on AIDToolStack. Paste MCP tool definitions or a tools/list response and check names, inputSchema, outputSchema and annotations against the MCP spec. It requires no installation or sign-up and works entirely in your browser.

Is MCP Tool Schema Validator free to use?

Yes. No sign-up, no fees and no usage cap.

Does MCP Tool Schema Validator store my data?

No. It runs in your browser; nothing is uploaded.

Cheat sheet

Related Tools

Reviews and commentsShow

Reviews

Sign in to leave a review.

Loading reviews…

Comments

Sign in to leave a comment.

Loading comments…

What changed in AI dev tools, once a month

Renames, shutdowns, pricing changes and new MCP setups, each with a source.

Subscribe