Skip to main content
Glama

Repair open connections

repair_board

Keep the copper of every net it already connects and route the nets still open around it: route_board with preserve_existing, with the learned router service. Default budget 120 s.

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": {
      "design_id": "<design_id>"
    },
    "name": "repair_board"
  }
}

Input Schema

NameRequiredDescriptionDefault
netsNoNet names; * and ? wildcards, e.g. ["USB_D*", "+3V3"].
poursNo
wait_sNoSeconds to wait (default 55); a job still running comes back "running" for get_board_job.
compactNoVia choice as on route_board: true for the densest legal via (JLCPCB Kelvin test), false for the Kelvin-free 0.45/0.2.
design_idYesThe design id returned by import_kicad_project or list_designs.
time_budget_sNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / properties / design_id / pattern
      Removed value: -"^[A-Za-z0-9_-]{8,80}$"
    • removedInput schema / properties / nets / items / maxLength
      Removed value: -200
    • removedInput schema / properties / nets / items / minLength
      Removed value: -1
    • removedInput schema / properties / nets / maxItems
      Removed value: -500
    • changedInput schema / properties / wait_s / description
      Previous value: -"Seconds to wait for the job (default 55). A job still running comes back with status \"running\": follow it with get_board_job. A job is allowed the time its budget asks for (time_budget_s, total_budget_s, rounds), and survives a server restart (the op starts over from its snapshot; route_board's pipeline goes on from its last finished stage)."New value: +"Seconds to wait (default 55); a job still running comes back \"running\" for get_board_job."
  2. Changed1 schema field changed
    • removedInput schema / properties / router
      Removed value: -{
      -  "enum": [
      -    "ts",
      -    "ml"
      -  ],
      -  "type": "string"
      -}
  3. Changed1 schema field changed
    • changedInput schema / properties / wait_s / description
      Previous value: -"Seconds to wait for the job (default 55). A job still running comes back with status \"running\": follow it with get_board_job. A job is allowed the time its budget asks for (time_budget_s, total_budget_s, rounds), and survives a server restart (the op starts over from its snapshot)."New value: +"Seconds to wait for the job (default 55). A job still running comes back with status \"running\": follow it with get_board_job. A job is allowed the time its budget asks for (time_budget_s, total_budget_s, rounds), and survives a server restart (the op starts over from its snapshot; route_board's pipeline goes on from its last finished stage)."
  4. Changed1 schema field changed
    • addedInput schema / properties / compact
      Added value: +{
      +  "description": "Via choice as on route_board: true for the densest legal via (JLCPCB Kelvin test), false for the Kelvin-free 0.45/0.2.",
      +  "type": "boolean"
      +}
  5. Changed1 schema field changed
    • changedInput schema / properties / wait_s / description
      Previous value: -"Seconds to wait for the job (default 55). A job still running comes back with status \"running\": follow it with get_board_job."New value: +"Seconds to wait for the job (default 55). A job still running comes back with status \"running\": follow it with get_board_job. A job is allowed the time its budget asks for (time_budget_s, total_budget_s, rounds), and survives a server restart (the op starts over from its snapshot)."
  6. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false; the description reinforces this by stating existing copper is preserved, which is genuinely useful context. It also adds the default 120 s budget and the fact that a 'learned router service' performs the work. However, it does not disclose that this is a queue/job-style operation, what happens on timeout or failure, or whether a partial result is kept.

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

Conciseness3/5

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

Short and front-loaded, but the second half is a stumbling fragment ('route_board with preserve_existing, with the learned router service') with a redundant doubled 'with'. The information density is good; the sentence construction is not.

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 6-parameter mutation tool with no output schema, the agent still lacks critical framing: that routing runs asynchronously and results are retrieved via get_board_job (only implied by wait_s in the schema), and what a failed or timed-out repair leaves behind. The preservation guarantee and budget default are covered.

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 67%, with the key descriptions (nets wildcards, wait_s polling behavior, design_id origin, compact via choice) already in the schema. The description contributes one thing the schema lacks: the default time budget of 120 s. The 'pours' enum ('keep'/'engine') is never explained anywhere, and the description only loosely gestures at 'keep' semantics.

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 operation: preserve the copper of already-connected nets and route only the still-open ones, framed as 'route_board with preserve_existing'. That verb+scope combination is distinguishable from route_board and diagnose_open_nets. The phrasing 'Keep the copper of every net it already connects' is slightly oblique but decipherable.

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?

It implicitly identifies the scenario (an existing layout with partially routed nets) and names route_board with preserve_existing as the equivalent operation, which hints at the alternative. It never states when NOT to use this tool, e.g. when nothing is routed yet and a fresh route_board run is preferable.

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