Skip to main content
Glama
easyeda-mcp-pro
by oaslananka

Add schematic wire

easyeda_schematic_add_wire

Add native schematic wires between coordinates or pins and use a shared netName to merge separate stubs into one net; collision checks guard touched points against foreign nets.

Instructions

Add a wire connecting schematic coordinates/pins — real native connectivity. Same netName connects pins globally: separate stubs sharing one name merge into one net (no label needed). NET_COLLISION guards touched points against a foreign net's wire, pin, or flag/port — not mid-segment crossings.

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": {
      "points": "<points>",
      "confirmWrite": "<confirmWrite>"
    },
    "name": "easyeda_schematic_add_wire"
  }
}

Input Schema

NameRequiredDescriptionDefault
colorNo
pointsYes
netNameNo
lineTypeNo
lineWidthNo
confirmWriteYesMust be the literal boolean true (not the string "true") to allow this write.
expectedPcbUuidNoExpected focused PCB document UUID; reject a different focused PCB before a write.
expectedSchematicPageUuidNoExpected focused schematic page UUID; reject a different focused page before a write.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.19.10
    • addedInput schema / properties / expectedPcbUuid
      Added value: +{
      +  "description": "Expected focused PCB document UUID; reject a different focused PCB before a write.",
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / expectedSchematicPageUuid
      Added value: +{
      +  "description": "Expected focused schematic page UUID; reject a different focused page before a write.",
      +  "minLength": 1,
      +  "type": "string"
      +}
  2. Changed2 schema fields changedv0.19.2
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
  3. Changed1 schema field changedv0.19.1
    • addedInput schema / properties / confirmWrite / description
      Added value: +"Must be the literal boolean true (not the string \"true\") to allow this write."
  4. First observedv0.19.0

TDQS

B3.3/5.0
Behavior3/5

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

Annotations only declare readOnlyHint=false and idempotentHint=false, so the description earns credit for disclosing that NET_COLLISION validates touched points against a foreign net's wire, pin, or flag/port. It stops short of what an agent needs for a non-idempotent write: no mention of what happens on collision (reject? partial write?), no atomicity or rollback behavior, and no verification workflow.

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?

Three compact clauses with the core capability front-loaded, then net-merging, then the collision caveat. It is dense but every sentence carries information; the middle sentence is slightly packed with parenthetical asides.

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?

With an output schema present, return values need not be explained, and the description covers the tool's two non-obvious behaviors (net merging and collision guarding). Remaining gaps are the per-parameter styling options and the write-failure semantics of a non-idempotent mutation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 38% across 8 parameters. The description clarifies `netName`'s global-merge semantics, which is genuinely beyond the schema, but says nothing about `points` ordering, `color`, `lineType`, or `lineWidth`, leaving several parameters documented in neither place. That is under-compensation for a low-coverage 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 states a specific verb and resource ("Add a wire connecting schematic coordinates/pins") and frames it as "real native connectivity," which distinguishes it from label-only approaches. It does not name the closest siblings (connect_pin_to_net, connect_pins_by_net), so the agent must infer the boundary from the netName-merge explanation.

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?

It gives real usage context by explaining that stubs sharing one `netName` merge into a single net without needing a label, which tells the agent when this tool beats the label-based alternatives. However, it never explicitly states when to prefer `easyeda_schematic_connect_pin_to_net` or `connect_pins_by_net` instead, nor any prerequisites or exclusions.

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

Deploy Server

Other Tools