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

Create net flag

easyeda_schematic_create_net_flag

Create a named EasyEDA schematic net label or power/ground flag: set identification to bind VCC/GND symbols to a coincident pin, or omit it for a generic label connected via wire stubs.

Instructions

Create a named net flag/label. With identification (Power/Ground/AnalogGround/ProtectGround) it places a power-flag symbol binding to a coincident pin (use for VCC/GND). Without it, a generic net label — cosmetic only; connect pins with add_wire stubs sharing one netName.

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

Input Schema

NameRequiredDescriptionDefault
xYesX coordinate on the schematic canvas
yYesY coordinate on the schematic canvas
netNameYesThe net name to assign (e.g. VCC, GND, TEST_NET)
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.
identificationNoPower-flag identification. When set, places an EasyEDA power/ground flag symbol of this type. When omitted, places a generic named net label instead.
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 / identification
      Added value: +{
      +  "description": "Power-flag identification. When set, places an EasyEDA power/ground flag symbol of this type. When omitted, places a generic named net label instead.",
      +  "enum": [
      +    "Power",
      +    "Ground",
      +    "AnalogGround",
      +    "ProtectGround"
      +  ],
      +  "type": "string"
      +}
  4. First observedv0.19.0

TDQS

A4.6/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 substantive behavior beyond that — that a power flag binds to a coincident pin, and critically that a generic label is cosmetic and carries no electrical connectivity. It stops short of describing write-confirmation behavior or failure modes, which are left to the schema.

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 compact clauses, front-loaded with the core action, then the with/without branch. Every phrase carries information — the em-dash clarifications ('cosmetic only') are load-bearing rather than 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 9-parameter write tool with a full schema and an output schema, the description covers the conceptual model an agent needs — mode selection, coordinate placement context, and the cosmetic-vs-electrical distinction. Write-safety details (confirmWrite, expected UUID guards) are already fully documented in the schema, so the only minor gap is not flagging that a focused schematic page must be active.

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

Parameters4/5

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

Schema coverage is 100%, so baseline is 3; the description still earns credit by explaining the semantic split on `identification` (the enum values are listed and tied to the power-flag symbol) and the coincident-pin binding requirement, which is a placement constraint not obvious from the schema text alone.

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+resource ('Create a named net flag/label') and then splits the tool into its two distinct operating modes, so an agent can predict exactly what gets placed on the canvas. It also names a sibling-adjacent tool ('add_wire stubs') in the context of the cosmetic-label mode, which separates it from connectivity tools.

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

Usage Guidelines5/5

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

Explicit when-to-use guidance: supply `identification` for power/ground symbols (with the concrete example 'use for VCC/GND'), omit it for generic labels. It also states the important when-not framing — a plain label is 'cosmetic only' and pins must be connected via add_wire stubs sharing one netName.

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