Skip to main content
Glama

Server Details

Repair broken JSON without changing values, find the exact error, outline or query big payloads.

Ownership verified
Status
Healthy
Uptime
100.0% over the last 24 hours
Last Tested
Transport
Streamable HTTP · MCP 2025-11-25
URL
ChatGPT
–
Claude
–

TDQS

A4.3/5.0

Scored across 3 tools

Disambiguation5/5

Each tool targets a distinct stage of a JSON workflow: repair broken text, outline the structure, then query specific paths. The descriptions even cross-reference each other (outline explicitly says 'Follow with mend_query_json'), making the intended sequence unambiguous.

Naming Consistency5/5

All three follow the same mend_<verb>_json pattern (mend_repair_json, mend_outline_json, mend_query_json), with the verb in the middle and a consistent resource suffix. No camelCase/snake_case mixing or stray verb styles.

Tool Count4/5

Three tools is on the lean side but each earns its place and maps cleanly to one job in the JSON-reading pipeline. A slightly broader set (e.g. a format/validate-only variant) would round it out, but nothing here is redundant.

Completeness4/5

The repair → outline → query lifecycle covers the core read-and-extract workflow for large or malformed JSON. Minor gaps exist: no tool to write the extracted or repaired result back out, and no schema validation or diffing, but these are workarounds an agent can handle.

Available Tools

3 tools
mend_outline_jsonOutline the structure of a large JSON payloadA
Read-onlyIdempotent
Inspect

Use when you are about to read a big JSON response, log or export into context, before loading it: returns a compact outline of the structure (keys, types, array lengths, one example per repeated shape) so you can plan a query without spending tokens on the whole document. Repairs the JSON first if needed. Follow with mend_query_json to pull only the values you need. Up to 100,000 characters.

Inputs: text (required), max_depth, max_items.

mend_query_jsonExtract values from JSON by pathA
Read-onlyIdempotent
Inspect

Use when you need specific fields from a JSON document without reading all of it: $.users[0].name, $.items[*].id, $.a.b[-1], $.list[1:3], $..email (recursive). Returns each match with its exact path, type and value. Repairs the JSON first if needed, so broken input still works. Up to 100,000 characters.

Inputs: path (required), text (required), max.

mend_repair_jsonRepair broken or LLM-generated JSONA
Read-onlyIdempotent
Inspect

Use when JSON from an LLM, API, log, config or copy-paste fails to parse (JSON.parse error, "Unexpected token", "Expecting property name"), or the user pastes JSON with trailing commas, single quotes, unquoted keys, comments, Python True/False/None, NaN, missing commas or brackets, a ```json fence, text around it, or output that was cut off. Deterministic repair: returns valid, formatted JSON plus a list of every fix with line and column. Values are never rewritten, so big numbers, number formatting and key order stay exactly as written. If the text is already valid it says so. Up to 100,000 characters.

Inputs: text (required), indent, sort_keys.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections.

Loading tool schema changelog…

    Related MCP Connectors

    Related MCP Servers

    • A
      license
      A
      quality
      B
      maintenance
      Free local tool and MCP server that repairs broken or incomplete JSON, including language-model output, offline with no API key.
      2
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Deterministic JSON validation and repair for AI agents. Validates, repairs, schema-checks, and diffs JSON so long-running agents don't corrupt their session state with malformed writes.
      MIT
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources