Skip to main content
Glama

Fan out pads to vias (ground/power plane connections)

pcb_fanout

Adds a short stub and dedicated via to each SMD pad of a net (default GND) at the nearest clear spot before routing, keeping ground pads tied to planes and letting signals route around vias.

Instructions

Give every SMD pad of a net (default GND) a short stub to its own via, placed at the nearest clear spot (never in a pad, never stacked). Do this BEFORE routing signals when ground comes from pours/planes: signals then route around the vias and every ground pad stays tied to the plane. Also useful for power nets feeding an inner plane.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "pcb_fanout"
  }
}

Input Schema

NameRequiredDescriptionDefault
netNoGND
onlyNopad refs like U1.3 (default: all SMD pads of the net)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

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

No annotations are supplied, so the description carries the load, and it does disclose real behavioral traits: one via per pad, clearance-aware placement, no via-in-pad, no stacking, and the default net. It stops short of mutation consequences an agent may care about — whether the board must be re-poured, whether the change is undoable (a pcb_snapshot sibling exists), and what happens when no clear spot is found.

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

Conciseness5/5

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

Three compact sentences: mechanism first, timing constraint second, secondary use case last. No filler, and the most decision-relevant information (what it does and when to run it) is front-loaded.

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

Completeness4/5

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

For a two-parameter board-mutating tool with no annotations and no output schema, the description gives enough to invoke it correctly and at the right time. The remaining gap is post-call expectations — failure mode when no clear spot exists and whether a re-pour or DRC pass is required afterward.

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 50% schema coverage, the description explains the 'net' parameter well (defaults to GND, also applies to power nets feeding a plane). It says nothing about the 'only' parameter's pad-ref filtering, leaving that entirely to the schema text.

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 pair: it gives every SMD pad of a net its own via with a short stub. The parenthetical scope '(default GND)' and the mechanism (nearest clear spot, never in a pad, never stacked) make it unmistakable versus siblings like pcb_autoroute or pcb_pour, which do different things to the same board.

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?

Explicit ordering guidance: 'Do this BEFORE routing signals when ground comes from pours/planes', plus the reason (signals route around vias, pads stay tied to the plane) and a second valid case (power nets feeding an inner plane). An agent knows both when to call it and when not to bother.

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