Skip to main content
Glama

manage_hierarchical_labels

Add or remove hierarchical labels that connect child schematics to parent sheet pins, enabling signal routing across sheet boundaries.

Instructions

Manage hierarchical labels (add, remove).

Hierarchical labels connect child schematics to parent sheet pins. They enable signal routing through hierarchical sheet boundaries.

Args: action: Operation ("add", "remove") text: Label text (required for "add") position: Position (required for "add") shape: Label shape - "input", "output", "bidirectional", "tri_state", "passive" (optional) rotation: Rotation in degrees (optional) size: Text size in mm (optional, default: 1.27) label_uuid: Label UUID (required for "remove") ctx: MCP context (optional)

Returns: Dictionary with label data or error

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNo
textNo
shapeNoinput
actionYes
positionNo
rotationNo
label_uuidNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It implies mutation via 'add, remove' but never states whether removal is destructive or reversible, whether it cascades to connected pins, or what permissions are required. It does note the return shape ('Dictionary with label data or error'), which is a small plus, but the behavioral profile of a mutation tool is largely undisclosed.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is front-loaded with purpose and then structured into Args/Returns sections. The two explanatory sentences about hierarchical labels earn their place by clarifying the concept, and there is little redundancy.

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 re-explained, and parameter documentation is thorough. However, for a mutation tool with zero annotation coverage, the description omits side-effect and safety context, leaving the agent under-informed about the consequences of the remove action.

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 description coverage is 0%, so the description must compensate — and it does, documenting all seven parameters including which are required for which action (text/position for 'add', label_uuid for 'remove'), the shape enum values, the size default, and rotation/size units. It adds real meaning beyond the bare schema.

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 states a clear verb (manage, with add/remove) and resource (hierarchical labels), and goes further by explaining what hierarchical labels do — connect child schematics to parent sheet pins for signal routing. It does not explicitly distinguish itself from close siblings like manage_labels, manage_global_labels, or add_label, so it falls short of a 5.

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

Usage Guidelines2/5

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

The only usage guidance is the action list ('add', 'remove'). There is no statement of when to use hierarchical labels versus manage_labels or manage_global_labels, no prerequisites, and no exclusions. The agent must infer selection from the resource name alone.

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