Skip to main content
Glama
EasyEDA MCP

EasyEDA MCP

by junior941230

pcb_list_components

Read-only

Lists PCB components with designator, package, position, angle, and layer, and supports filtering by designator regex to inspect placement.

Instructions

列出 PCB 上所有元件(位號、封裝、位置 mm、角度、層)。

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

Input Schema

NameRequiredDescriptionDefault
filterNo位號正規表示式,例如 "^U" 或 "^(R|C)\d+"

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.6/5.0
Behavior4/5

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

The readOnlyHint annotation already establishes the safety profile, and the description adds genuinely useful behavior beyond it by pre-announcing the returned fields, which matters because there is no output schema. It does not discuss ordering or volume limits, but for an unfiltered read-only listing this is solid added context.

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?

One front-loaded sentence states the action and then the payload in a compact parenthetical. Nothing is redundant or padded.

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 one-optional-parameter read-only listing with no output schema, the description covers both purpose and return contents, which is the main thing an agent would otherwise be guessing at. Only the filter's role and any result ordering are unaddressed.

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 100%, with the single filter parameter documented as a designator regular expression and examples. The description never mentions the filter at all, so it adds no meaning beyond the schema; baseline 3 applies.

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 opens with a specific verb and resource (list all components on the PCB) and enumerates the returned fields (designator, footprint, position mm, angle, layer). That is enough to distinguish it from single-object siblings like pcb_get_component and from mutators like pcb_move_components, though no sibling is named explicitly.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance and no mention of alternatives such as pcb_get_component for a single part. The word 所有 implies a bulk inventory read, but the agent must infer that from the purpose statement rather than from stated guidance.

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