Skip to main content
Glama

manage_global_labels

Add or remove global labels in KiCad schematics to control net names, using text, position, shape, rotation, or UUID.

Instructions

Manage global labels (add, remove).

Args: action: Operation ("add", "remove") text: Label text (required for "add") position: Position (required for "add") shape: Label shape (optional) rotation: Rotation in degrees (optional) label_uuid: Label UUID (required for "remove") ctx: MCP context (optional)

Returns: Dictionary with label data or error

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
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

C2.9/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 discloses the return shape ('Dictionary with label data or error') and which fields pair with which action, but says nothing about side effects of removal, reversibility, or required permissions for a mutation tool.

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 purpose sentence is front-loaded and the Args/Returns block is compact and scannable. Slightly redundant to re-document ctx and to restate a return value that an output schema already covers, but no wasted prose.

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 6-parameter mutation tool with no annotations, the description covers parameters and return type adequately, and the output schema handles return detail. It still omits permission requirements, side effects, and sibling disambiguation, which are the main gaps for correct invocation.

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: it documents all six parameters and, crucially, states which are required per action ('text ... required for add', 'label_uuid ... required for remove'). This conditional-requirement detail is exactly what the flat schema cannot express.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

States the resource (global labels) and the two operations (add, remove), which is more than a tautology. However, it gives no differentiation from close siblings like manage_labels, add_label, or manage_hierarchical_labels, leaving the agent to infer which label tool to pick.

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?

There is no when-to-use or when-not-to-use guidance and no mention of alternatives, despite several overlapping label tools in the sibling list. The Args block explains parameters but not selection context.

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