Skip to main content
Glama
EasyEDA MCP

EasyEDA MCP

by junior941230

pcb_delete_primitives

Destructive

Delete PCB primitives by their IDs, with automatic type detection, to remove unwanted board elements and keep your EasyEDA Pro layout clean.

Instructions

依 primitive ID 刪除圖元(自動判斷類型)。

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": {
      "ids": "<ids>"
    },
    "name": "pcb_delete_primitives"
  }
}

Input Schema

NameRequiredDescriptionDefault
idsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

B3.1/5.0
Behavior3/5

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

The destructiveHint=true annotation already tells the agent that this is a destructive operation, so the lower bar applies. The description adds a real behavioral detail: the primitive type is auto-detected, so the caller does not need to know it. It still omits whether deletions are undoable, whether they persist until pcb_save, and what happens if an ID does not exist.

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?

One sentence with no filler, with the action and the key front-loaded. It is tight, but it is so short that it leaves unresolved gaps that a little more length could have closed.

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 destructive tool with no output schema and only a single annotation, this description leaves too much unexplained: how to obtain valid IDs, how partial failures behave, and whether the operation can be recovered. The essential call contract is not fully covered.

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?

Parameter description coverage is 0%, so the description must cover the single `ids` argument. It identifies it as primitive IDs and implies batching through the plural wording, but it does not state the ID format or say that the array must be non-empty, as minItems:1 requires.

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, 刪除圖元 (delete primitives), and a scoping key, primitive ID. The parenthetical 'automatically determines the type' further refines what the tool does. It does not explicitly distinguish itself from pcb_modify_primitive or pcb_clear_net_routing, so it falls 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 Guidelines2/5

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

There is no guidance on when to use this versus pcb_modify_primitive, pcb_clear_net_routing, or pcb_list_primitives/pcb_get_selection as ID sources, and no statement of preconditions. Usage is only implied because the operation accepts IDs.

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