Skip to main content
Glama

Delete schematic items

sch_delete

Deletes selected schematic parts, wire IDs, all wires and flags for given nets, or wipes all wiring to re-route from scratch.

Instructions

Delete parts (by designator/id), wires (by id), all wires of given nets, net flags of given nets, or everything wire-like (wipeWiring) to re-route from scratch.

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": "sch_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
netsNodelete every wire and flag of these nets
partsNo
wireIdsNo
wipeWiringNodelete ALL wires and net flags/ports on the page

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden, and it does disclose the blast radius of each mode, including that wipeWiring removes every wire and net flag/port on the page. It does not say whether deletion is reversible, whether a snapshot should be taken first, or how partial failures behave, all of which matter for an irreversible mutation.

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 sentence, front-loaded with the verb and then listing each mode with a parenthetical identifier type. Every clause maps to a parameter, and the closing rationale justifies the wipeWiring case without filler.

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 four-parameter, output-schema-less tool, the description covers targets and identifier forms well. The main remaining gap is that a destructive multi-mode tool with zero annotations should address reversibility or at least the combination semantics of its optional parameters.

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 only 50%, but the description compensates by explaining all four parameters, notably that 'parts' are identified by designator/id, which the schema leaves undocumented. It falls short of clarifying whether multiple parameters can be combined in one call or are mutually exclusive, which is the key semantic question for this schema.

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 ('Delete') plus the resources affected, and enumerates every deletion mode: parts by designator/id, wires by id, wires/flags of nets, or wipeWiring. It separates itself from pcb_delete by scoping to schematic items, though it never names the sibling explicitly, so the differentiation is implied rather than stated.

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 implied through the enumeration of modes and the phrase 'to re-route from scratch', which tells the agent why wipeWiring exists. There is no explicit when-not-to-use guidance, no mention of combining or choosing between modes, and no pointer to safer alternatives.

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