Skip to main content
Glama

pcbgen Fastroute KiCad PCB Autorouter

submit_route_job

Submit a placed KiCad .kicad_pcb to Fastroute. Requires Authorization: Bearer fr_... (create a free account at https://pcbgen.ai/route/app/). Free Queue ($0, 1 core, up to 120s) unlocks full .kicad_pcb + Gerbers automatically when done. With Priority Credits, choose cores (1 or 4 for parallel p4 portfolio) and time_limit_s (15..14400s, up to 4 hr); billed per second at $0.05/core-min ($0.05 minimum per run; 50% off on $100 pack, 75% off on $200 pack; early exit stops the clock at 0 opens). Acceptable use (https://pcbgen.ai/terms.md): outputs are licensed for designing/manufacturing your own PCBs only; do not use pcbgen.ai or its outputs to build, train, or improve a competing PCB autorouter.

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": "submit_route_job"
  }
}

Input Schema

NameRequiredDescriptionDefault
laneNoauto uses Priority if Bearer key has credits (or cores=4 / >120s), else Free Queue.auto
seedNoOptional deterministic router seed.
coresNo1 core (Free or Priority) or 4 cores (--portfolio p4, Priority only).
filenameNoboard.kicad_pcb
time_limit_sNoMax routing seconds: 15..120 on Free Queue, 15..14400 (up to 4 hr) on Priority Credits.
vias_in_padsNo
keep_existingNo
strip_existingNo
board_kicad_pcbYesUTF-8 contents of .kicad_pcb.
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.7/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does substantial work: it declares the Bearer auth requirement and where to get a key, that the job is asynchronous ('unlocks full .kicad_pcb + Gerbers automatically when done'), per-second billing with a $0.05 minimum, early-exit clock-stop behavior, and licensing restrictions on outputs. Gaps remain: it never says the call returns a job identifier, and it does not disclose request size limits, rate limits, or what happens on invalid board input.

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?

The critical facts (what it does, auth, lane behavior) are front-loaded, which is good. But the pricing sentence is a dense parenthetical — '$0.05 minimum per run; 50% off on $100 pack, 75% off on $200 pack' — that is largely irrelevant to correct invocation and competes for attention with the parameter guidance. The terms/licensing sentence is long but defensible as a policy constraint.

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 an 11-parameter mutating tool with no annotations and no output schema, the description needs to explain the return value, and it only implies asynchrony ('when done') without saying a job id comes back for use with get_job_status. Board/rules/project payload parameters and the keep_existing vs strip_existing interaction are unanswered. It is enough to attempt a call, but not enough to call it confidently in the paid lane.

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 64%, and the description reinforces lane, cores, and time_limit_s with cost framing (p4 portfolio, $0.05/core-min), which adds meaning beyond the enum values. However, the semantically hazardous pair keep_existing and strip_existing is left entirely unexplained in both schema and description, as are vias_in_pads and filename. With a 64% coverage baseline, a 3 is appropriate; the description does not compensate for the undocumented flags.

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 opens with a specific verb and resource: 'Submit a placed KiCad .kicad_pcb to Fastroute.' An agent immediately knows this creates a routing job rather than reading status or downloading output. It stops short of naming the sibling tools (get_job_status, download_routed_board) that continue the workflow.

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?

Lane selection is explained operationally: 'auto uses Priority if Bearer key has credits (or cores=4 / >120s), else Free Queue', plus the free-vs-paid tradeoff (1 core/120s cap vs 4 cores/4 hr). That is real when-to-use guidance for the main decision. It never states prerequisites such as needing a placed board or a valid token from a prior step, and does not point to get_job_status as the follow-up.

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