Skip to main content
Glama

Get one repair packet (least-proven or a specific claim)

proofrail_focus
Idempotent

Return a repair packet for the least-proven claim after edits, or target a specific claim by ID, supplying exact source anchors, missing proof, reproducer, and done condition.

Instructions

Return a single repair packet. Without claimId it is the least-proven claim. run="auto" (default) reuses command results cached by an earlier verify/recheck and only runs commands that have never run; "never" never executes; "always" re-runs everything the manifest needs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
jevNoAlso ask the configured local Jev command for advisory judgments. Reports "unavailable" when none is configured.
runNo
claimIdNoClaim id to focus on instead of the least-proven one.
projectRootNoProject directory containing proofrail.json. Must be inside a root the server was started with. Defaults to the first allowed root.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

The description explains the run modes (auto/never/always) and the reuse of cached command results, which goes beyond what the annotations convey. The annotations already provide idempotent/decent safety hints, and the description adds meaningful execution behavior without contradicting them.

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?

The description is compact and front-loaded: it states the primary operation first, then the default selection behavior, then the run modes. Every sentence contributes necessary information without padding.

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?

Given four optional parameters, no output schema, and the presence of sibling tools, the description covers the core semantics of the tool well, including the least-proven default and run behavior. It does not elaborate on the shape of a repair packet or error cases, but those are not essential for selecting and invoking the tool correctly.

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

Parameters4/5

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

Schema coverage is 75%, with run lacking a description; the description remedies this by explaining all three run enum values and their effect. It also clarifies the default behavior when claimId is absent, adding value beyond the schema's field descriptions.

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 it returns a single repair packet, with a concrete default (the least-proven claim) and an optional claimId override. It does not explicitly contrast itself with the sibling tools proofrail_verify and proofrail_recheck, but the resource and focus are clear enough to distinguish it from them.

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 when the tool is used by referencing results 'cached by an earlier verify/recheck', which situates it in a workflow. However, it never explicitly says when to choose this tool over proofrail_verify or proofrail_recheck, or when not to use it.

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

Deploy Server

Other Tools