Skip to main content
Glama
Avinash1286

KiCAD MCP Server

by Avinash1286

Add Schematic Net Label

add_schematic_net_label
Destructive

Add net labels to KiCAD schematics and ensure reliable wiring by snapping to component pins, or set precise coordinates for manual placement.

Instructions

Add a net label to the schematic. PREFERRED: supply componentRef + pinNumber to snap the label to the exact pin endpoint — this guarantees an electrical connection. Alternatively supply position [x, y], but the coordinates must match the pin endpoint exactly (even a 0.01 mm offset breaks the connection). The response includes actual_position (coordinates actually used) and snapped_to_pin (present when a pin reference was resolved).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
netNameYesName of the net (e.g., VCC, GND, SIGNAL_1)
positionNoPosition [x, y] for the label. Required when componentRef/pinNumber are not given.
labelTypeNoLabel type (default: label)
pinNumberNoPin number or name on componentRef to snap label to (e.g. '1', 'GND'). Use with componentRef.
orientationNoRotation angle 0/90/180/270 (default: 0)
componentRefNoComponent reference to snap label to (e.g. U1, R1). Use with pinNumber.
schematicPathYesPath to the schematic file

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior5/5

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

Even with annotations already marking destructiveHint=true and readOnlyHint=false, the description adds substantial behavioral context: the exact-pin snapping guarantee, the failure mode of even 0.01mm offsets, and what fields the response will include (actual_position, snapped_to_pin). This goes well beyond the annotation flags and helps the agent anticipate tool behavior accurately.

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?

The description is three sentences, each earning its place: action, preferred approach, alternative, and response detail. Key information is front-loaded and the formatting with PREFERRED is scannable. No wasted words.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 7-parameter tool with complete schema descriptions and an output schema, the description covers the critical operational guidance needed to use the tool correctly: how to guarantee a connection, precision requirements, and response fields. It is fully sufficient for an agent to select and invoke this tool accurately.

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 the baseline is 3. The description adds meaningful inter-parameter semantics: it explains how componentRef+pinNumber work together to snap the label, and that position must match the pin endpoint exactly. This clarifies relationships not evident from individual property descriptions, pushing above baseline.

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?

The description opens with a clear action: 'Add a net label to the schematic.' This specific verb+resource distinguishes it from siblings like add_schematic_component or add_schematic_wire. It also clarifies the tool's role in creating electrical labels, reinforced by the preferred snapping behavior and connection guarantee.

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 description explicitly provides two usage paths: preferred componentRef+pinNumber and fallback position [x,y], with a clear warning about coordinate precision. It does not explicitly state when to use this tool instead of the sibling add_schematic_hierarchical_label, even though labelType supports hierarchical_label, leaving some ambiguity for that specific alternative.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Avinash1286/KiCAD-MCP-Server-THEAVI'

If you have feedback or need assistance with the MCP directory API, please join our Discord server