Skip to main content
Glama

fahce_plan_bounded_repair

Idempotent

Produce a bounded, evidence-preserving repair plan for an integrity failure. The plan never claims execution or verification. This operation stores an immutable receipt and meters one logical determination; it does not execute an external repair.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
requestYesThe entire UTF-8 encoded JSON body must fit within 524288 bytes (512 KiB), including all fields, labels, escaping and JSON overhead. Per-field maxima are independent ceilings; they cannot all be used at once. MCP includes its JSON-RPC wrapper in the same body ceiling. Character limits are UTF-16 code units.
idempotency_keyNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
repairYes
schemaYes
billingYes
bindingNo
receiptYes
authorityNo
diagnosisYes
operationYes
input_hashYes
request_idYesDetermination UUID, identical to receipt.case_id and receipt.run_id. Use this UUID as receipt_id in GET /api/v1/receipts/{receipt_id}. Error-envelope request_id is a separate HTTP trace; use its receipt_id when present.
verificationYes
execution_stateNo
next_safe_actionYes
evidence_provenanceNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare non-read-only, non-destructive, and idempotent behavior. The description adds genuinely new context: the plan never claims execution or verification, an immutable receipt is stored, and one logical determination is metered. That is useful behavior beyond the annotations, though it doesn't disclose what the receipt contains or what gets returned.

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

Conciseness5/5

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

Three tight sentences, no filler. The first sentence states the purpose, the second the non-claim scope, and the third distinguishes storage/metering from execution. Naturally front-loaded.

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?

For a complex tool with a nested schema and an output schema, the description covers scope and side effects but omits workflow positioning relative to its three siblings and does not explain what the plan output looks like. The output schema fills some of that gap, but the routing context is missing.

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?

Schema coverage is 50%, and the description adds essentially no information about the 'request' or 'idempotency_key' parameters. The rich nested schema descriptions carry the semantic load; the description only adds the abstract notion of 'evidence-preserving', which loosely maps to the evidence field.

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 artifact — 'produce a bounded, evidence-preserving repair plan for an integrity failure' — which is distinct from the sibling fahce_integrity_repair_bundle. However, it doesn't explicitly contrast itself against fahce_diagnose_integrity or fahce_verify_repaired_output, so the reader has to infer the boundary between planning, diagnosis, and verification.

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?

The description implies a use case ('for an integrity failure') but never states when to choose this over fahce_diagnose_integrity or fahce_verify_repaired_output, nor when a caller should not use it. With three sibling tools and no routing language, an agent must guess where this fits in the workflow.

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