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

Connect pins by net

easyeda_schematic_connect_pins_by_net

Bulk-connect listed component pins to a named net by drawing tagged wire stubs, merging pins and existing connections into one net while reporting failures instead of aborting.

Instructions

Bulk variant of connect_pin_to_net: draws a real wire stub from each pin, tagged with netName, so all listed pins (and anything else already on that net) merge into one net. Visible to ERC, ratsnest, and autorouting. A pin that fails (e.g. collision) is reported in failures rather than aborting the batch.

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": {
      "projectId": "<projectId>",
      "netName": "<netName>",
      "pins": "<pins>",
      "confirmWrite": "<confirmWrite>"
    },
    "name": "easyeda_schematic_connect_pins_by_net"
  }
}

Input Schema

NameRequiredDescriptionDefault
pinsYesList of component pins to connect to the net
netNameYesThe net name to assign pins to
projectIdYesThe project/schematic ID
stubLengthNoLength of the wire stub drawn outward from each pin. Defaults to 10.
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. Changed2 schema fields changedv0.19.1
    • addedInput schema / properties / confirmWrite / description
      Added value: +"Must be the literal boolean true (not the string \"true\") to allow this write."
    • addedInput schema / properties / stubLength
      Added value: +{
      +  "description": "Length of the wire stub drawn outward from each pin. Defaults to 10.",
      +  "exclusiveMinimum": 0,
      +  "type": "number"
      +}
  4. First observedv0.19.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations only declare readOnlyHint=false and idempotentHint=false; the description adds real value beyond that by explaining the physical effect (a real wire stub visible to ERC, ratsnest and autorouting) and the partial-failure contract (a failing pin lands in failures instead of aborting the batch). The one notable gap is that, given idempotentHint=false, it never warns that repeating the call may stack duplicate wire stubs.

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?

Three tight sentences, front-loaded with what the tool does, then downstream visibility, then failure semantics. No filler and no repetition of schema content.

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 7-parameter write tool with an output schema and mutation annotations, the description covers purpose, differentiation, side effects and error handling with nothing critical missing. A brief note on repeated-call behavior would close the remaining gap implied by idempotentHint=false.

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 description coverage is 100%, so every parameter including stubLength, confirmWrite and the expected-UUID guards is already documented. The description only reinforces netName semantics and the failures path; baseline 3 is appropriate.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource (draws a real wire stub from each pin, tags it with netName) and explicitly frames itself as the bulk variant of connect_pin_to_net, so an agent can distinguish it from the singular sibling without opening either schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

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

The phrase "Bulk variant of connect_pin_to_net" gives clear routing guidance: use this when connecting many pins at once, the sibling when connecting one. It stops short of an explicit when-not statement or any precondition advice (e.g. checking collisions first), so it is clear but not exhaustive.

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