Skip to main content
Glama
groundplane-studio

fusion-electronics-mcp

route_trace

Route one PCB connection between two pads with 45-degree corners, clearance, keepouts, and optional vias; preview with dry_run before committing copper.

Instructions

Route one connection between two pads (PART.PAD, e.g. 'J1.A19' to 'J9.5') the way a person would: straight runs, 45-degree corners (no 90s), around other nets' copper with the design's clearance (or clearance_mm), keepouts and the board edge, ending exactly on the pad centres. layer: 'top' / 'bottom' to prefer one layer, 'any' to let it choose; vias only where needed (allow_vias=false forbids them). dry_run=true (default) returns the plan and a picture without writing; run again with dry_run=false to draw it (checked against the board afterwards).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
layerNoany
to_padYes
dry_runNo
grid_mmNo
from_padYes
width_mmNo
allow_viasNo
clearance_mmNo
via_drill_mmNo
via_diameter_mmNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations declare a mutating, non-destructive, non-idempotent write, and the description adds substantial context beyond that: 45-degree-only corners, avoidance of other nets' copper, keepouts and board edge, exact pad-centre termination, via minimization, and the dry_run default that returns a plan/picture before any write plus a post-draw board check. It omits failure behavior (error vs partial trace) and reversibility, so it is strong but not exhaustive.

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?

It is dense and front-loads the core action (routing one pad-to-pad connection) before the routing rules, layer/via options, and dry_run workflow. The semicolon-chained clauses make it slightly run-on, but every sentence carries information an agent needs.

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 10-parameter board-mutating tool with no output schema and no schema descriptions, the description covers the routing semantics and the dry-run safety workflow well, but leaves several numeric parameters (grid, width, via geometry) unexplained and says nothing about what the returned plan/picture contains. Adequate but with clear gaps.

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?

With 0% schema description coverage, the description must carry parameter meaning, and it does explain layer values ('top'/'bottom'/'any'), allow_vias=false forbidding vias, dry_run defaults, clearance_mm as an override, and the from_pad/to_pad format. But it says nothing about grid_mm, width_mm, via_drill_mm, or via_diameter_mm, leaving 4 of 10 parameters undocumented, so coverage is partial.

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 ('Route one connection between two pads') and gives the exact pad-reference format with examples ('J1.A19' to 'J9.5'). The phrase 'one connection between two pads' implicitly separates it from batch siblings like route_net/route_pair/route_close, but no sibling is named explicitly, so it stops short of a 5.

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 lays out the intended workflow (dry_run=true first to get the plan and picture, then re-run with dry_run=false to draw), which is real usage guidance. However it never states when to choose this tool over route_net, route_pair, add_trace, or autoroute, and gives no prerequisites or exclusions, so the routing-to-the-right-tool guidance is only implied.

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