Skip to main content
Glama

Fallback

request_repair

request_repair

Repair a failed API or HTTP request using only supplied schema and error evidence. Use after error_route identifies a request-shape or input problem. Returns the smallest justified request changes and abstains when evidence is insufficient. Price: $0.005 USD per call via x402.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
goalNo
errorNo
schemaNo
requestYes
responseNo
constraintsNo
error_routeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does reasonably well: it discloses the output posture ('smallest justified request changes'), an abstention behavior when evidence is insufficient, and a per-call cost with payment mechanism ($0.005 via x402). It does not state auth requirements or whether the returned changes are applied or advisory.

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 tight sentences, front-loaded with purpose then precondition, with the pricing sentence last. No filler, though the cost sentence could be trimmed for some audiences.

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?

Covers purpose, trigger, output posture, and cost, which is solid for a tool with no output schema. However, for a 7-parameter tool with nested objects and 0% schema description coverage, the absence of any parameter-level guidance leaves a real gap.

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 7 parameters, so the description must compensate and largely does not. It hints at the schema/error inputs and at constrained request changes, but never explains goal, response, error_route, or the allow_url_change/allow_method_change constraints that materially change behavior.

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

Purpose5/5

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

States a specific verb and resource ('Repair a failed API or HTTP request') and scopes it to a defined evidence set ('only supplied schema and error evidence'). This distinguishes it cleanly from the sibling error_route, which classifies rather than repairs.

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

Usage Guidelines4/5

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

Explicitly names the precondition and the sibling that triggers it: 'Use after error_route identifies a request-shape or input problem.' It also states an abstention condition, which functions as a when-not. It stops short of naming a full alternative path for non-request-shape failures.

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.