Skip to main content
Glama

confirm_input_preparation

Destructive

Applies a prepared input proposal to create a new board revision, re-pin the rule baseline, and report the pre-routing input floor before routing.

Instructions

Apply a proposal from propose_input_preparation: writes a NEW prepared board revision (the source is untouched), re-pins the rule baseline on it and reports the input_floor (errors present before any routing; never waive them).

Runs once per board, BEFORE the pin_rule_baseline you use for routing, never inside an attempt: use the returned output_pcb and baseline from here on. Copper text it cannot handle is listed under unhandled; the floor is then NOT a clean baseline. The revision_token is single use. input_floor carries grading_status and certified: false, not a verdict (the prepared board's gate stays NOT_RUN/stale): only verify_board gives a verdict. pcb_path in the result is the prepared board (same as output_pcb); the board you passed in is source_pcb.

parity: "required" or "not_applicable" (give parity_reason), passed to the gate unchanged.

Input Schema

NameRequiredDescriptionDefault
parityYes
pcb_pathYes
parity_reasonNo
revision_tokenYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Adds substantial behavior beyond annotations: source board untouched, revision_token single use, unhandled copper text invalidates a clean baseline, input_floor carries grading_status and certified: false (not a verdict), and pcb_path/source_pcb/output_pcb relationships are explained.

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?

Front-loads the core action and keeps every sentence informative, but the dense parentheticals and multi-clause sentences make it heavier to parse than necessary for a tool definition.

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

Completeness5/5

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

With no output schema, the description carries the return-shape burden and does so: output_pcb, baseline, unhandled, input_floor with grading_status/certified, pcb_path, and source_pcb are all covered, along with the workflow position.

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 0%, so the description must compensate. It explains parity values and parity_reason, and the single-use nature of revision_token, though pcb_path's role is only implied through the source_pcb distinction rather than stated outright.

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: applies a proposal from propose_input_preparation, writes a NEW prepared board revision, re-pins the rule baseline, and reports input_floor. This clearly distinguishes it from its proposal sibling and from pin_rule_baseline.

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

Usage Guidelines5/5

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

Gives explicit ordering constraints: runs once per board, BEFORE the pin_rule_baseline used for routing, never inside an attempt, and tells the agent to use the returned output_pcb and baseline thereafter. It also names verify_board as the only source of a verdict.

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