Skip to main content
Glama

pcbgen Fastroute KiCad PCB Autorouter

check_board

Pre-flight check a KiCad .kicad_pcb (and optional .kicad_pro / .kicad_dru) before routing. Returns layer count, pad count, outline size, and any blockers or warnings in ~50 ms at zero cost.

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": {
      "board_kicad_pcb": "<board_kicad_pcb>"
    },
    "name": "check_board"
  }
}

Input Schema

NameRequiredDescriptionDefault
keep_existingNo
strip_existingNo
board_kicad_pcbYesUTF-8 contents of the .kicad_pcb file.
rules_kicad_druNoOptional UTF-8 contents of .kicad_dru.
project_kicad_proNoOptional UTF-8 contents of .kicad_pro.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations and no output schema, the description carries the full disclosure burden. It does useful work by listing what comes back (layer count, pad count, outline size, blockers/warnings) and the latency/cost profile, but it never states the operation is read-only or explains the mutating-sounding keep_existing/strip_existing flags, which is a notable omission for a tool with zero annotation coverage.

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?

Two sentences, front-loaded, with the workflow cue and return summary up front; little waste. However, the second sentence spends its space on performance and cost metrics while leaving the ambiguous existing-data flags unexplained, so the information budget is misallocated.

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 validation tool with no output schema, naming the returned fields is a good start, but the description does not clarify the meaning of 'blockers' versus 'warnings' or how they should influence the next call. Combined with the unexplained keep_existing/strip_existing flags, an agent can invoke it but not fully reason about the outcome.

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 60%, and the description only restates that the project and rules files are optional, which the schema already says. The two undocumented parameters, keep_existing and strip_existing, are neither described nor clarified even though their names suggest destructive behavior that conflicts with a 'pre-flight check'.

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 resource ('Pre-flight check a KiCad .kicad_pcb') plus the workflow position ('before routing'), which separates it from submit_route_job or get_job_status. It stops short of naming a sibling explicitly, so it is clear but not maximally differentiated.

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?

'before routing' gives a concrete when-to-use context, and '~50 ms at zero cost' signals it is cheap enough to call freely rather than ration. It does not say what to do when blockers are returned or when the optional files should be supplied, so guidance is clear but incomplete.

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