Skip to main content
Glama
oaslananka
by oaslananka

List PCB tracks

easyeda_pcb_tracks
Read-onlyIdempotent

Lists copper track segments on the active PCB layout, including net, layer, start/end coordinates, and width. Use to inspect routing or analyze track data; returns empty list if no PCB tab is focused.

Instructions

List copper track segments on the active PCB layout: primitiveId, net, layer, start/end coordinates, width. A multi-point track drawn by add_track appears as several consecutive segments sharing one net. Returns an empty list (not an error) if no PCB tab is focused.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
offsetNo
projectIdYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNo
totalYes
tracksYes
project_idYes
not_availableNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.19.2
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  2. Addedv0.19.1

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already cover the read-only/idempotent safety profile, and the description adds genuinely non-obvious behavior: a multi-point track surfaces as several segments sharing one net, and an unfocused PCB tab yields an empty list rather than an error. That empty-list contract is exactly the kind of disclosure that prevents agent confusion.

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 tight sentences, front-loaded with the resource and scope, with the segment-grouping caveat and empty-list contract following. No filler.

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?

With an output schema present the field list is somewhat redundant, but the empty-list behavior is useful. The gap is the undocumented limit/offset pagination semantics for a list tool, which an agent needs to page correctly.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the description never mentions projectId, limit, or offset. The fields it lists are return values, not parameters, so the three inputs remain undocumented in both schema and prose.

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 ('List copper track segments on the active PCB layout') and enumerates the returned fields, which cleanly distinguishes it from siblings like easyeda_pcb_vias, easyeda_pcb_fills, and easyeda_pcb_regions.

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?

The description implicitly scopes usage to the active PCB layout and notes that tracks come from add_track, but it never says when to pick this over the neighboring PCB-primitive listers. Usage context is implied rather than spelled out.

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

Deploy Server

Other Tools