DevTools Logo

MCP Tool Inspector

MCP Tool Inspector

Inspect a tools/list payload, lint input schemas and generate tools/call stubs — without connecting to any server.

Runs in your browserjsonrpc2 tools · 0 broken
Try an example

Pasted payload

1532 chars

No connections are made. Payloads are parsed as text and rendered as text — never evaluated.

Tools

2 of 2 shown

Find notes by keyword

readOnlyHint: trueidempotentHint: true

Create a note

destructiveHint: trueopenWorldHint: falserequired references unknown property "missing"

README inventory

| Name | Description | Required arguments | Annotations |
| --- | --- | --- | --- |
| `search_notes` | Find notes by keyword | query | readOnlyHint, idempotentHint |
| `write_note` | Create a note | title, body, missing (invalid) | destructiveHint, openWorldHint |

Examples

Valid tools/list

Input
Bundled JSON-RPC sample
Output
2 tool cards with annotation badges

A readonly search tool and a destructive write tool, each with a schema tree.

Warnings case

Input
Bundled warning sample
Output
required.unknown and type.invalid chips

Structural schema problems are surfaced without rejecting the payload.

Broken entry

Input
Bundled malformed sample
Output
1 valid card + 2 error cards

Missing names and non-object entries are isolated with their raw snippets.

Call stub

Input
Expand write_note
Output
JSON-RPC tools/call with placeholder arguments

Required fields are scaffolded with type-correct values you can replace.

About this tool

The MCP Tool Inspector reads a server's tools/list response and turns it into a browsable catalog. It accepts a full JSON-RPC response, a bare { tools } object, an array of tools or a single tool object, and shows the detected shape before rendering any cards.

Each card presents the tool name, optional title and description, annotation hints such as readOnlyHint and destructiveHint, and a recursive input-schema tree with required marks, enums and item types. Structural lint flags invalid types, non-object properties and required fields that are not declared, while unknown vendor fields are preserved for inspection.

Parsing is defensive: one malformed entry becomes an error card with its raw snippet and reason, leaving the valid tools usable. Every card generates a JSON-RPC tools/call request with arguments scaffolded from required fields plus a fetch snippet. The tool never connects to an MCP server — payloads stay in the tab and are rendered as text.

What this tool does not do

  • No live connection, OAuth flow or tools/call execution is supported.
  • Lint performs structural checks only, not full JSON Schema validation.
  • Schema trees are depth-capped at five levels for readability.

How to use this tool

  1. Paste a payload

    Paste the JSON body returned by tools/list, or load one of the bundled valid, warning or malformed samples.

  2. Scan the cards

    Read names, descriptions and annotation badges; check lint chips for schema issues before wiring the tool into a client.

  3. Inspect a schema

    Expand a card to see the input-schema tree, then copy the generated tools/call stub or fetch snippet.

  4. Filter and export

    Search by name or description, filter by annotation or required parameters, and download a Markdown inventory for a README.

Use cases

Server development

Review the tools your server advertises before shipping a schema change.

Client integration

Copy accurate tools/call bodies and fetch snippets instead of hand-writing them.

Documentation

Generate a Markdown tool inventory table for a repository README.

Accepted shapes

ShapeExample
jsonrpc{ jsonrpc, id, result: { tools, nextCursor } }
tools-object{ tools: [...] }
array[{ name, inputSchema }, ...]
single-tool{ name, description, inputSchema }

Every entry is parsed independently so a broken tool never hides the rest of the catalog.

Common mistakes

Mistake:Assuming a generic JSON formatter validates MCP semantics.

Fix:This inspector knows tools/list shapes, annotation hints and JSON-Schema structural rules.

Mistake:Believing the tool can connect to your server.

Fix:It is paste-only by design; no URL is requested and no connection is opened.

Mistake:Ignoring required-field lint warnings.

Fix:A required field that is not in properties makes generated stubs unreliable — fix the server schema first.

Mistake:Evaluating payload content as code.

Fix:Everything is parsed as JSON and rendered as text; no eval or HTML pass-through is used.

Frequently asked questions

What does a tools/list response look like?

Typically a JSON-RPC response: { jsonrpc: '2.0', id: 1, result: { tools: [{ name, description, inputSchema, annotations }] } }. The inspector also accepts a bare { tools: [...] } object, an array of tools or a single tool object.

How are tool annotations used?

Annotations such as readOnlyHint, destructiveHint, idempotentHint and openWorldHint advise clients about a tool's behavior. They are displayed as badges on each card and can be used as filters; they are hints, not enforced guarantees.

Can it connect to my server?

No. The inspector is deliberately paste-only: it parses the JSON body you provide and never opens a connection, sends a request or executes a tool. That keeps internal tool names and schemas inside your tab.

How do I build a tools/call request?

Expand a tool card and copy the generated JSON-RPC body. Required arguments are scaffolded with type-correct placeholders — strings, numbers, booleans, objects and arrays — which you replace with real values. A fetch snippet is included.

What if a tool's schema is invalid?

Structural problems appear as warning chips on that card: invalid types, properties that are not objects, and required fields missing from properties. The rest of the payload still renders, so one bad tool does not block inspection of the others.

Does it show pagination information?

Yes. If the payload contains a nextCursor, the input panel shows a note that more pages are available. You can paste subsequent responses and inspect them the same way.

References & standards