Skip to main content
Glama
EasyEDA MCP

EasyEDA MCP

by junior941230

pcb_place_component

Place a PCB component by LCSC part number at X/Y coordinates with optional layer and rotation. Use for direct board placement; for schematic-linked parts, place in schematic and import changes.

Instructions

從嘉立創系統庫放置元件到 PCB(依 LCSC 編號,例如 C25804)。注意:直接放在 PCB 的元件沒有原理圖網路,正規流程是在原理圖放好後用 pcb_import_changes。

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": {
      "lcsc": "<lcsc>",
      "x": "<x>",
      "y": "<y>"
    },
    "name": "pcb_place_component"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYes
yYes
lcscYes
layerNotop
rotationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden. It usefully discloses one important consequence — no schematic net on the placed component — which is real behavioral context beyond the schema, but it says nothing about whether the board must be saved afterward, whether it requires an open/active PCB document, what it returns on success, or error behavior for invalid LCSC numbers.

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: the primary action and its identifier scheme first, then the critical caveat and the alternative. Nothing is redundant and no sentence is wasted.

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?

For a mutation tool with no annotations and no output schema, the description covers purpose and the single most important consequence, but omits coordinate units, document precondition, and post-placement behavior (save/persist). An agent can probably call it, but may guess wrong on units.

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% across 5 parameters, so the description must compensate. It does explain lcsc meaningfully (library key plus example C25804), but x/y are undocumented — units (mm vs mil) are unstated — and layer/rotation are left entirely to the schema's enum and defaults. Partial compensation only.

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?

The description names a specific verb (place), a specific resource (component onto PCB), and the exact source/identifier scheme (LCSC number from the JLC system library, e.g. C25804). It also implicitly contrasts with the import path, so an agent can distinguish it from pcb_import_changes without opening either schema.

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?

It explicitly flags the caveat that directly placed components carry no schematic net, and names the preferred alternative flow (place in schematic, then pcb_import_changes). What is missing is a positive statement of when direct placement IS the right choice (e.g. mechanical or unconnected parts), leaving the agent to infer the legitimate use case.

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