Skip to main content
Glama

Kaputtes JSON reparieren

json_reparieren

Repairs broken JSON as typically produced by language models: missing quotes or commas, trailing commas, single quotes, comments, Python True/None, truncated output, Markdown code fences, concatenated objects. Returns valid JSON. JSON-Reparatur. Preis $0.005 (x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "json": "<json>"
    },
    "name": "json_reparieren"
  }
}

Input Schema

NameRequiredDescriptionDefault
jsonYesFehlerhaftes JSON

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full disclosure burden. It does add real value beyond structured fields: the guarantee that valid JSON is returned, the class of malformed inputs accepted (including truncation), and the cost/auth context ('Preis $0.005 (x402)'). It omits what happens when repair is impossible (error vs. best-effort partial output) and the shape of the returned value, leaving a meaningful gap for a mutation-shaped tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded with the action and the defect enumeration, and the return guarantee and price follow logically. The mid-string 'JSON-Reparatur.' merely restates the title and is dead weight, and the price tag is tucked awkwardly at the end, but the overall block is tight.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a one-parameter, no-output-schema tool this is nearly complete: input expectations, defect coverage, output guarantee, and cost are all stated. The only substantive omission is failure behavior when input cannot be repaired, which matters because truncated input is explicitly in scope.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

There is only one parameter and schema description coverage is 100%, so the schema already documents 'json' as the malformed input. The description's defect list adds useful context about what counts as malformed but adds no syntax or format guidance beyond that; baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb (Repairs) and resource (broken JSON) and enumerates concrete defect classes (missing quotes/commas, trailing commas, single quotes, Python True/None, truncated output, fenced blocks), which makes the tool's scope unmistakable. It stops short of explicitly distinguishing itself from the adjacent 'json_aus_text' extraction tool, so an agent facing messy prose containing JSON still has to infer which one applies.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Usage is strongly implied by 'broken JSON as typically produced by language models', giving a clear triggering condition. However, there is no explicit when-not guidance and no naming of alternatives such as json_aus_text for extracting JSON from free text, which is the most plausible sibling-confusion case.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources