json-repair-mcp
Server Details
Repairs truncated or malformed LLM JSON outputs (trailing commas, markdown fences, unquoted keys).
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 2 tools
The two tools target clearly different resources: one reads wallet/ledger state, the other performs JSON repair. However, the wallet tool's guidance references 'marketplace tools' and 'submit payments' that don't exist on this server, which could momentarily confuse an agent about the surface.
Both names follow a clean snake_case verb_noun pattern (get_agent_wallet_status, repair_malformed_json). The convention is predictable and readable.
Only 2 tools for a server whose name implies a broader JSON-repair utility bundle. The billing tool exists mainly to support monetization rather than the core domain, making the surface feel thin.
The core repair operation is present, but there is no validation, batch-repair, or structured-output companion tool, and the hinted payment/top-up workflow has no dedicated tool (it is only surfaced inside an error quote). Coverage of the apparent domain is partial.
Available Tools
2 toolsget_agent_wallet_statusARead-onlyIdempotentInspect
Inspect an agent's account ledger: remaining free trial calls (out of 5), prepaid USD balance, cumulative spend, total API calls, and total LLM tokens saved. WHEN TO USE: Call before a batch of paid tool executions or after completing a Stripe or USDC top-up to confirm your balance. WHEN NOT TO USE: Do not use to process web content, execute marketplace tools, or submit payments; use the other tools on this server for execution. PARAMETER INTERACTIONS: Omit agent_id to inspect the default trial account derived from your client IP, or pass your explicit agent_id or agd_pass_ session key to check a specific funded wallet. Free and read-only: never charges a fee or consumes a free trial call. Example: get_agent_wallet_status(agent_id='example')
Inputs: agent_id. Returns: data, status, roi_proof
repair_malformed_jsonARead-onlyIdempotentInspect
Repairs truncated or malformed LLM JSON outputs (trailing commas, markdown fences, single quotes) so multi-agent pipelines never crash. WHEN TO USE: Call repair_malformed_json when your task requires deterministic json-repair analysis for raw_json; use get_agent_wallet_status to check your remaining free trial quota or prepaid balance. WHEN NOT TO USE: Do not use for unrelated domains or binary media. PARAMETER INTERACTIONS: Pass the target raw_json as a non-empty string; omit agent_id and tx_hash during your 5 free trial calls, or supply agent_id (agd_pass_...) / tx_hash for paid execution. Read-only and idempotent; results are cached for 1 hour (<5ms cache hit). $0.002 per call. Pricing: the first 5 calls per agent_id are free and failed calls are never charged. After 5 calls, the tool returns a payment-required quote (not a fatal error) with a $2 Stripe top-up link and Base/Solana USDC addresses; complete payment, then retry with your agd_pass_ key in agent_id or pass tx_hash. Example: repair_malformed_json(raw_json='example')
Inputs: raw_json (required), tx_hash, agent_id. Returns: data, status, roi_proof
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Repairs truncated or malformed LLM JSON outputs (trailing commas, markdown fences, single quotes).
Repair broken JSON from LLM output and validate it against a JSON Schema.
Repair malformed JSON from LLM/agent output; optional JSON Schema coercion. Free + x402 paid.
Repair broken LLM JSON and check it against a JSON Schema. Flags cut-off output. Free trial.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceEnables repair of malformed JSON strings into valid JSON for agent workflows by fixing common LLM formatting issues. Supports cleanup of code fences, smart quotes, unquoted keys, trailing commas, and missing brackets to ensure reliable data parsing.-
- FlicenseNot gradedqualityNot gradedmaintenanceEnables agents and MCP clients to deterministically extract and repair JSON/schema issues such as truncated braces, markdown wrappers, and invalid types without LLM round-trips.-
- AlicenseNot gradedqualityBmaintenanceProvides deterministic JSON repair and JSON Schema validation for malformed AI agent outputs, safely fixing unambiguous errors without an LLM and refusing ambiguous cases.30 PyPIMIT
- AlicenseAqualityCmaintenanceEnables agents to repair the malformed JSON that language models actually emit — stripping code fences and prose, normalizing smart quotes, trailing commas, single-quoted strings and unquoted keys — and to check that required keys are present, all deterministically and offline before re-asking the model.2Apache 2.0
Glama MCP Gateway
Add one secure layer between your agents and this server.