Skip to main content
Glama

Plumbkit

Fix broken JSON

json_repair
Read-onlyIdempotent

Turns almost-JSON into valid JSON: removes markdown code fences, comments and trailing commas, adds missing quotes, commas and closing brackets, converts single quotes, Python True/False/None and truncated output. Returns the repaired JSON string and whether the input was already valid.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesThe broken JSON text
prettyNoIndent the output. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources