Skip to main content
Glama

AgentFoundry JSON repair — free pilot

evaluate_json_repair

Deterministic JSON argument repair for object/string/integer/boolean schemas. Refuses ambiguity; no tool execution or payments. Requires a free wallet-proof bearer session; see https://agentfoundry-eval.hmltrucks.workers.dev/quickstart. Ten lifetime attempts per wallet; pilot ends December 2, 2026 at 16:00 UTC.

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": {
      "input": "<input>",
      "schema": "<schema>"
    },
    "name": "evaluate_json_repair"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
policyNo
schemaYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior4/5

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

Annotations only cover the safety quadrant (readOnlyHint=false, destructiveHint=false, openWorldHint=false, idempotentHint=false). The description adds real behavior the annotations cannot convey: deterministic operation, that it 'refuses ambiguity' rather than guessing, that it never executes tools or makes payments, that authentication is required, and that there is a ten-attempt lifetime quota with an expiry date. It stops short of describing what a refusal or failure looks like to the caller.

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?

Three sentences with the core purpose front-loaded, followed by behavioral guarantees and then access/limit logistics. Each sentence carries distinct information; the URL is the only element that could be compressed, and it is functional rather than filler.

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

Completeness3/5

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

With no output schema and 0% parameter documentation, the description must do more of the work, and it covers prerequisites, quota, determinism, and refusal behavior well. It is still missing the essentials of input handling: what the 'input' string should contain, how the supplied schema is applied, and what the caller receives on success versus refusal. Adequate but with clear gaps for a tool whose whole contract is argument shaping.

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

Parameters2/5

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

Schema description coverage is 0% across three parameters, so the description carries the full explanatory burden and largely does not meet it. It only glancingly gestures at the 'schema' parameter via 'object/string/integer/boolean schemas' and says nothing about 'input' (a string capped at 65536) or the 'policy.allow_schema_defaults' flag, which is a meaningful behavioral switch an agent must decide on.

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 states a specific verb and resource: 'Deterministic JSON argument repair' scoped to 'object/string/integer/boolean schemas.' It also draws a clear boundary with 'no tool execution or payments,' so an agent knows this repairs arguments rather than running anything. What exactly 'repair' means procedurally remains slightly opaque, and there are no siblings to differentiate against.

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 only implied by the purpose statement; there is no explicit 'use this when arguments fail schema validation' style guidance. It does add operative constraints an agent needs before calling: a required wallet-proof bearer session, a quickstart URL, ten lifetime attempts per wallet, and a hard pilot end date. Those are invocation prerequisites rather than when-to-use-vs-alternative guidance, so it lands at implied usage.

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