Skip to main content
Glama
EasyEDA MCP

EasyEDA MCP

by junior941230

pcb_route_track

Draws PCB copper traces by connecting a sequence of XY points with straight segments on a specified net, layer, and width; add vias separately when changing layers.

Instructions

沿著一串點畫走線(每兩點一段直線)。換層請在換層點另外呼叫 pcb_add_vias。

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": {
      "net": "<net>",
      "points": "<points>"
    },
    "name": "pcb_route_track"
  }
}

Input Schema

NameRequiredDescriptionDefault
netYes網路名稱;空字串代表無網路
layerNotop / bottom / inner1… 或層 IDtop
widthNo線寬 mm
pointsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.7/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full behavioral burden and it does disclose meaningful traits: the segment-by-segment geometry and, importantly, that this tool cannot switch layers mid-trace (vias must be added separately). It does not say whether existing routing on the net is overwritten, whether the net must already exist, or what the call returns on success or DRC failure.

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?

Two short sentences, zero filler, with the core operation stated first and the layer-change caveat second. Every clause carries information an agent needs before calling.

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?

Geometry semantics and the layer-change constraint are covered, which is the hardest part of this tool. For a mutation tool with no annotations and no output schema, though, the description leaves out failure modes, whether prior routing on the net is replaced, and what the caller gets back, which an agent making a destructive edit should know.

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 75%, with net, layer, and width units/formats documented in the schema itself, so the schema already does most of the work. The description adds the key semantic that the layer applies to the whole trace and must be changed via vias rather than within a single call, but says nothing about the points parameter beyond the segment rule.

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?

States a specific verb and resource — draws a trace along a point sequence — and goes further than a name restatement by defining the geometry rule (every two consecutive points form one straight segment). It is distinguishable from pcb_add_vias, which it explicitly names, though it does not differentiate itself from pcb_draw_polyline or pcb_autoroute.

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?

Gives an explicit conditional routing instruction: when the trace needs to change layers, call pcb_add_vias at the layer-change point instead of expecting this tool to handle it. That is a real when/when-not statement, but it covers only one condition and offers no guidance on choosing this over pcb_autoroute or pcb_draw_polyline.

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