Skip to main content
Glama
EasyEDA MCP

EasyEDA MCP

by junior941230

pcb_clear_net_routing

Destructive

Removes traces, arc tracks, and vias for a specified net, or clears all board routing when no net is given.

Instructions

刪除某網路(或全部)的走線、圓弧走線與過孔。

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

Input Schema

NameRequiredDescriptionDefault
netNo省略則清除整張板子的佈線
include_viasNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, so the safety profile is known; the description adds specificity by enumerating exactly what is destroyed (tracks, arc tracks, vias). It still omits reversibility/undo, whether the operation is immediate or staged, and what happens to connected copper pours.

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?

A single short sentence that front-loads the verb and enumerates the affected object types. Nothing is redundant or padded.

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 destructive, no-output-schema tool, the definition covers what gets removed and the scope switch, which is the core need. It falls short on post-condition behavior (undo, resulting board state, whether vias inside pads are exempt) that an agent would want before invoking a destructive action.

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 50%: 'net' is documented in-schema, while 'include_vias' carries only a default of true with no prose. The description reinforces that net is optional and that omission means full-board clearing, partially compensating, but it never mentions include_vias, so an agent must infer its effect from the name alone.

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 (刪除/delete) and precise resources (走線 tracks, 圓弧走線 arc tracks, 過孔 vias) scoped to a net or the whole board. An agent immediately knows this is a routing-clearance operation, not a general primitive deletion. It does not explicitly distinguish itself from nearby siblings like pcb_delete_primitives or pcb_modify_primitive.

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?

The parenthetical '(或全部)' hints that omitting a net clears the whole board's routing, which is useful scope guidance. However, there is no explicit statement of when to prefer this over pcb_delete_primitives or what preconditions (e.g., unrouted nets, DRC state) matter.

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