Skip to main content
Glama

agentdiet

repair_malformed_json

Deterministic Broken-JSON Repair & Schema Validator (0.002 USDC via x402): Repairs truncated or malformed LLM JSON outputs (trailing commas, markdown fences, unquoted keys).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
raw_jsonYesMalformed, truncated, or markdown-wrapped JSON string to deterministically repair

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources