Skip to main content
Glama

Manual routing: tracks & vias

pcb_tracks

Route PCB nets by hand with polyline points in mm or pad references that snap to pad centers; vias are created first and T-junctions split so EasyEDA sees every connection.

Instructions

Route by hand (preferred for power, high-current, sensitive and critical nets). Polyline points in mm, or pad references like "U1.3" that snap exactly to the pad centre. Net is taken from the first pad reference if omitted. layer top | bottom | inner1..4. width in mm (power: 0.5–2 mm). Vias are created first and T-junctions are split automatically so EasyEDA sees every connection. Check with pcb_status / pcb_drc and look with pcb_snapshot.

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_tracks"
  }
}

Input Schema

NameRequiredDescriptionDefault
viasNo
tracksNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/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 mostly does: it discloses that pad references snap exactly to pad centres, that the net is inferred from the first pad reference, that vias are created first, and that T-junctions are split automatically for EasyEDA. It does not say whether existing routing is replaced or appended to, nor what happens on partial failure — notable gaps for a write operation.

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?

Five tight sentences, each carrying a distinct fact: use case, point format, net inference, layer/width rules, and verification workflow. Front-loaded with the purpose and free of filler.

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 complex, unannotated, no-output-schema geometry tool this is close to complete: input formats, defaults guidance and the follow-up check loop are all covered. The remaining shortfall is via-object semantics and mutation/error behaviour, which an agent would want before issuing a write.

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 description coverage is 0%, so the description has to compensate. It does well for tracks — point format (mm pairs or 'U1.3' pad refs), legal layer values, width units and power-net width range — but says nothing about the vias array items (x, y, net, hole, diameter) or the default width/hole/diameter values baked into the schema.

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?

The description opens with a specific verb plus resource ('Route by hand') and the title names exactly what is being created (tracks and vias). 'By hand' implicitly contrasts it with the autoroute sibling and the parenthetical gives the nets where manual routing is the right choice, so an agent can pick this over pcb_autoroute without opening the schema.

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?

It states clearly when to prefer this tool (power, high-current, sensitive, critical nets) and ends with a verification workflow pointing at pcb_status, pcb_drc and pcb_snapshot. It stops short of an explicit exclusion ('for everything else use pcb_autoroute'), so the alternative is only implied.

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