Skip to main content
Glama
EasyEDA MCP

EasyEDA MCP

by junior941230

pcb_modify_primitive

Modify a single PCB primitive's properties in EasyEDA; length fields such as x, y, line width, hole diameter, diameter, and font size accept millimeters and convert automatically.

Instructions

修改單一圖元的屬性。property 直接傳給 EasyEDA modify(),長度欄位請用 mm,會自動換算(x, y, startX, startY, endX, endY, lineWidth, holeDiameter, diameter, fontSize)。

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": {
      "id": "<id>",
      "property": "<property>"
    },
    "name": "pcb_modify_primitive"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
propertyYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.4/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 whole burden. It does disclose two non-obvious behaviors: property is passed straight through to EasyEDA's modify(), and length fields in the listed set are auto-converted from mm. It says nothing about what happens on an invalid or unknown property key, whether the change is undoable, or what the call returns, which matters for an unannotated mutation 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?

Two compact sentences, front-loaded with the action, followed by the pass-through and unit-conversion notes. Nothing is redundant, though the parenthetical field list dominates the second half and could be tightened.

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, no output schema, and a free-form nested object parameter at 0% schema coverage, the description covers pass-through and unit handling but omits the meaning of 'id', the accepted property vocabulary beyond length fields, and failure behavior. Adequate to attempt a call, not complete enough to call confidently.

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 coverage is 0% on a two-parameter schema, and 'property' is a free-form object with additionalProperties, so the description must compensate. It usefully enumerates which keys are treated as lengths in mm (x, y, startX, startY, endX, endY, lineWidth, holeDiameter, diameter, fontSize) and explains pass-through semantics, but it leaves 'id' completely unexplained and does not bound what non-length properties are accepted.

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 uses a specific verb and resource ('修改單一圖元的屬性' – modify the properties of a single primitive) and the '單一' qualifier implicitly separates it from bulk operations like pcb_delete_primitives or pcb_add_vias. It does not name a sibling explicitly, so an agent must infer the boundary from 'single primitive' alone.

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: the agent can infer this is the tool for editing one existing primitive rather than creating or deleting one. There is no explicit when-to-use / when-not statement, no mention of prerequisites (e.g. the primitive must exist and be selected/known), and no routing to alternatives such as pcb_import_changes.

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