Skip to main content
Glama

add_net_label

Connects a schematic pin to a named net by placing a short wire and net label, linking pins with the same label across pages for GND/VCC-style connections.

Instructions

Connect a pin to a net by name: a short wire from the pin ends in a net label. Pins with the same net label are connected, also across schematic pages (typical for GND/VCC).

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": {
      "project_path": "<project_path>",
      "pin": "<pin>"
    },
    "name": "add_net_label"
  }
}

Input Schema

NameRequiredDescriptionDefault
pinYesPin as 'DESIGNATOR:PIN', PIN = symbol pin name or component signal name, e.g. 'R1:1', 'U1:VCC'
dx_mmNoLabel offset from the pin
dy_mmNo
net_nameNoNet to attach; required if the pin has no net yet
project_pathYesPath to the project's *.lpp file or its directory
rotation_degNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, non-idempotent, non-destructive write. The description goes beyond them by explaining the physical result (a stub wire plus a label) and the electrical consequence (same-name labels connect, including across pages) — behavior an agent cannot read off the schema. It omits whether repeating the call stacks multiple labels (relevant given idempotentHint=false) and whether the named net must already exist.

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 short sentences with the action and mechanism front-loaded and the connectivity rule following. No filler, no restating of the title, and the parenthetical about GND/VCC earns its place as a concrete example.

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?

For a six-parameter mutation tool with no output schema, the description covers purpose and electrical semantics well, and annotations cover the safety profile. It still leaves gaps an agent would want: whether a missing net is created, whether the label must match an existing net, and what the call returns or mutates in the project file.

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 67%, with pin, net_name, and project_path documented inline and only dx_mm/dy_mm/rotation_deg bare. The description clarifies that connection is established by net name and that this works across pages, which reinforces net_name semantics but adds nothing about placement offsets or rotation. Baseline 3 fits given the schema already carries the parameter detail.

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 gives a specific verb and resource ('Connect a pin to a net by name') and explains the mechanism: a short wire from the pin ending in a net label. That is far more informative than the tool name alone. It does not, however, contrast itself with connect_pins or create_net, which occupy adjacent territory.

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 by the net-label mechanism and the note that identically labeled pins are connected across schematic pages, which hints at when this is preferable to direct wiring. There is no explicit when-to-use / when-not-to-use statement and no named alternative such as connect_pins, so the agent must infer the choice.

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