Skip to main content
Glama
EasyEDA MCP

EasyEDA MCP

by junior941230

pcb_list_primitives

Read-only

Lists PCB primitives by type, with optional net and layer filters, so you can inspect board elements before editing or validating a design.

Instructions

列出指定類型的圖元(可依網路 / 層過濾)。

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": {
      "type": "<type>"
    },
    "name": "pcb_list_primitives"
  }
}

Input Schema

NameRequiredDescriptionDefault
netNo
typeYes
layerNo
limitNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.3/5.0
Behavior3/5

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

The readOnlyHint annotation already establishes that this is a safe read, so the description's job is reduced. It adds that net and layer filtering are optional, but says nothing about result volume, the 500-item default cap, or ordering — behavioral facts an agent would want before calling a listing tool.

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?

A single front-loaded sentence with the parenthetical filter clause placed after the main action; nothing is redundant. It is efficient to the point of being sparse, which costs little here but leaves the definition under-explained.

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

Completeness2/5

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

For a four-parameter listing tool with no output schema and no parameter descriptions, the description is too thin: it omits what a returned primitive looks like, the default/max limit semantics, and any pagination or ordering behavior. The readOnly annotation covers safety, but the operational picture remains incomplete.

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 must carry parameter meaning. It conveys that "type" selects the primitive kind and that net/layer act as optional filters, which is genuine added meaning over bare property names. However, the "limit" parameter is never mentioned and there is no hint about accepted layer value forms or net identifier format.

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 ("列出...圖元" / list primitives) and scopes it to a requested type, which separates it from mutation siblings such as pcb_modify_primitive or pcb_delete_primitives. It does not explicitly name a read-only alternative like pcb_get_selection, 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?

Usage is only implied: listing by type, with optional net/layer narrowing. There is no statement of when this is preferable to pcb_list_components / pcb_list_nets / pcb_get_selection, and no exclusions or prerequisites, so the agent must infer the choice from the sibling names alone.

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