Skip to main content
Glama
Avinash1286

KiCAD MCP Server

by Avinash1286

Add Schematic Hierarchical Label

add_schematic_hierarchical_label
Destructive

Add a hierarchical label to a sub-sheet schematic, creating a connection point that links to the parent sheet via a matching sheet pin name. Specify position, signal direction, and orientation.

Instructions

Add a hierarchical label (sheet interface port) to a sub-sheet schematic. Hierarchical labels are the connection points that link a sub-sheet to its parent via sheet pins. The label text must exactly match the corresponding sheet pin name.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYesLabel text (e.g. 'SD_CLK') — must match the sheet pin name
shapeYesSignal direction from the sub-sheet's perspective
positionYesPosition [x, y] in mm
orientationNoRotation in degrees: 0=label points right, 180=label points left (default: 0)
schematicPathYesPath to the sub-sheet .kicad_sch file

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Annotations already indicate destructiveHint=true and readOnlyHint=false. The description adds valuable behavioral context beyond the annotations, notably the requirement that 'the label text must exactly match the corresponding sheet pin name' and the role of hierarchical labels in linking sub-sheets to parents. No contradiction with annotations.

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 two concise sentences that front-load the purpose and then provide essential context. Every sentence earns its place with no redundant or filler 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 mutation tool with a destructive hint, output schema, and fully documented parameters, the description covers the key conceptual point (hierarchical labels and the matching requirement). It might benefit from mentioning prerequisites like an existing hierarchy, but the existing schema and annotations fill many gaps.

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 the baseline is 3. The description does not provide additional parameter details beyond the schema; the only extra nuance is the exact-match requirement for 'text', but that is already present in the schema's description for the text parameter.

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 clearly identifies the tool's function: 'Add a hierarchical label (sheet interface port) to a sub-sheet schematic.' It explains what a hierarchical label is and how it connects to the parent via sheet pins, which differentiates it from sibling tools like add_schematic_net_label or add_sheet_pin.

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?

The usage context is implied by the description: it is for adding hierarchical labels to sub-sheet schematics. However, it does not explicitly state when to use this tool over alternatives (e.g., net labels) or mention any exclusions or prerequisites.

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