Skip to main content
Glama

Server Details

Repairs truncated or malformed LLM JSON outputs (trailing commas, markdown fences, unquoted keys).

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.4/5.0

Scored across 2 tools

Disambiguation4/5

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.

Naming Consistency5/5

Both names follow a clean snake_case verb_noun pattern (get_agent_wallet_status, repair_malformed_json). The convention is predictable and readable.

Tool Count3/5

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.

Completeness3/5

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 tools
get_agent_wallet_statusA
Read-onlyIdempotent
Inspect

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_jsonA
Read-onlyIdempotent
Inspect

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

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Enables 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.
      -
    • A
      license
      A
      quality
      C
      maintenance
      Enables 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.
      2
      Apache 2.0
    Try in Browser

    Glama MCP Gateway

    Add one secure layer between your agents and this server.

    Resources