Skip to main content
Glama
EasyEDA MCP

EasyEDA MCP

by junior941230

pcb_get_component

Read-only

Retrieves detailed data for a single PCB component, including all pads with pin numbers, nets, and absolute coordinates in mm, so you can locate connection points before routing.

Instructions

取得單一元件的詳細資料與所有焊盤(腳號、網路、絕對座標 mm),佈線前用來找接點。

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": {
      "ref": "<ref>"
    },
    "name": "pcb_get_component"
  }
}

Input Schema

NameRequiredDescriptionDefault
refYes位號(如 U1)或 primitive ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.8/5.0
Behavior3/5

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

readOnlyHint=true already tells the agent this is a safe read, so the description's main added value is disclosing the response content: pad numbers, nets and absolute coordinates in mm. It says nothing about lookup failure behavior, whether ref matching is fuzzy, or what happens with unknown refs, so it stops at moderate 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 sentence, front-loaded with the action and return payload, with the use-case clause trailing. Every clause carries information and nothing is redundant.

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 single-parameter read tool with an annotation covering safety and no output schema, the description covers action, returned fields, units and intended workflow. Only edge-case behavior (invalid ref, multiple matches) is left unstated, which is minor here.

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?

The single parameter has 100% schema coverage with its own description ('位號(如 U1)或 primitive ID'), so the schema already carries the semantics. The description only implies that the identifier resolves to exactly one component and adds no new syntax or matching rules.

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 names a specific verb and resource ('取得單一元件的詳細資料') and enumerates what is returned ('所有焊盤(腳號、網路、絕對座標 mm)'). The modifier '單一' implicitly separates it from the list-style siblings, 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 Guidelines4/5

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

'佈線前用來找接點' gives a concrete workflow trigger for calling this tool. It does not name an alternative (e.g. pcb_list_components) or state when not to use it, which keeps it below a 5.

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