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

Create net port

easyeda_schematic_create_net_port

Place a hierarchical net port (off-sheet connector) on a schematic to create a named connection across sheets and ensure it appears in the netlist.

Instructions

Place a hierarchical net port (off-sheet connector) on the schematic. Net ports create named connections that span multiple schematic sheets, appearing as real SCH_Net entries in the netlist.

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>",
      "x": "<x>",
      "y": "<y>",
      "confirmWrite": "<confirmWrite>"
    },
    "name": "easyeda_schematic_create_net_port"
  }
}

Input Schema

NameRequiredDescriptionDefault
xYesX coordinate on the schematic canvas
yYesY coordinate on the schematic canvas
netNameYesThe net name for the port (e.g. VCC, GND, DATA_BUS)
portTypeNoElectrical type of the port
rotationNoRotation in degrees (0, 90, 180, 270)
projectIdYesThe project/schematic ID
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

A3.5/5.0
Behavior3/5

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

Annotations declare readOnlyHint=false and idempotentHint=false, so the write nature is already known. The description adds genuine value by disclosing that the port materializes as a real SCH_Net entry in the netlist, but it says nothing about the confirmWrite gate's effect, duplicate-port behavior given the non-idempotent hint, or what happens on a page/coordinate collision.

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?

Two sentences, both earning their place: the first front-loads the action and the object, the second supplies the non-obvious netlist consequence. No filler, no restatement of the title.

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?

An output schema exists, so return values need not be explained, and the schema documents all parameters thoroughly. However, for a non-idempotent write with safety-gate parameters, the definition should at minimum note that writes require confirmation and how it relates to the sibling net-flag/connect tools.

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 all nine parameters, including the portType enum and the confirmWrite const constraint, are already documented in the schema. The description adds no meaning beyond that, which matches the baseline of 3 for high-coverage schemas.

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?

States a specific verb and resource ("Place a hierarchical net port (off-sheet connector) on the schematic") and defines what the object is, which separates it conceptually from the sibling easyeda_schematic_create_net_flag. It stops short of naming a sibling or stating the sheet-scope boundary explicitly, so the differentiation is implied rather than asserted.

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 only implied by the clause about connections spanning multiple schematic sheets; an agent must infer that cross-sheet connectivity is the trigger and that a local net flag would be wrong. There is no explicit when-to-use, no exclusion, and no prerequisite call ordering (for example, verifying the focused page before writing).

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