Skip to main content
Glama
grandMA2 MCP
by drohi-r

label_or_appearance

Labels or sets the appearance of grandMA2 console objects, such as groups, sequences, cues, and presets, with safety confirmation for destructive changes.

Instructions

Label or set the appearance of console objects.

SAFETY: This is a DESTRUCTIVE operation. Requires confirm_destructive=True.

Args:
    action: "label" to set a name, "appearance" to set visual styling
    object_type: Object type (e.g. "group", "sequence", "cue", "preset")
    object_id: Object ID
    name: Name to assign (required for action="label")
    end: End ID for range labeling (e.g. group 1 thru 5)
    preset_type: For labeling presets, the preset type (e.g. "color", "position").
        When set, uses the specialized label_preset builder.
    confirm_destructive: Must be True to execute (safety gate)
    color: Hex color string for appearance (e.g. "FF0000")
    red: Red component (0-100) for appearance
    green: Green component (0-100) for appearance
    blue: Blue component (0-100) for appearance
    hue: Hue value for appearance
    saturation: Saturation value for appearance
    brightness: Brightness value for appearance
    reset: Reset appearance to default
    source_type: Copy appearance from this object type
    source_id: Copy appearance from this object ID

Returns:
    str: JSON with command_sent, raw_response, or block info.

Examples:
    - Label group 3: action="label", object_type="group", object_id=3, name="Front Wash"
    - Label color preset 1: action="label", object_type="preset", object_id=1,
      preset_type="color", name="Red"
    - Set group appearance: action="appearance", object_type="group", object_id=1,
      color="FF0000"

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": {
      "action": "<action>",
      "object_type": "<object_type>",
      "object_id": "<object_id>"
    },
    "name": "label_or_appearance"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
hueNo
redNo
blueNo
nameNo
colorNo
greenNo
resetNo
actionYes
object_idYes
source_idNo
brightnessNo
saturationNo
object_typeYes
preset_typeNo
source_typeNo
confirm_destructiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations supplied, the description carries the safety burden well by explicitly marking the operation as DESTRUCTIVE and requiring confirm_destructive=True. It also mentions that preset labeling may use a specialized label_preset builder and describes the returned JSON fields. It does not detail permission requirements or broader side effects beyond the safety gate.

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 structured with safety first, then args, returns, and examples, which suits a 17-parameter tool. Every section is relevant, though the confirm_destructive requirement is repeated and the Returns section partially duplicates the available output schema. It is dense but appropriately so for the tool's complexity.

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?

Given the high parameter count and absent schema descriptions, the definition is quite complete: it documents all arguments, includes the destructive safety gate, and provides concrete examples. The output schema covers return values, so the description need not explain them in depth. Remaining gaps include allowed object_type values beyond examples, hue/saturation/brightness ranges, and guidance versus sibling tools.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 17 parameters, so the description must compensate, and it does: every parameter is described with practical meaning. It explains action modes, object types, name requirements, range labeling via end, preset_type's specialized builder, the destructive confirmation gate, hex color format, RGB 0-100 ranges, reset, and source-copy parameters. Some finer ranges for hue/saturation/brightness are omitted, but the parameter documentation is otherwise strong.

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 opens with a specific verb-and-resource statement: label or set the appearance of console objects. It distinguishes its two modes through the action parameter and examples. It does not explicitly differentiate itself from sibling tools such as batch_label or label_world, so the sibling distinction is partial.

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?

It clearly maps action values to label versus appearance behavior and gives examples for labeling groups, labeling presets, and setting group appearance. It also states that name is required for action='label' and that confirm_destructive must be true. It does not explain when to choose this tool over alternatives like batch_label or label_world.

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

Deploy Server

Other Tools