Skip to main content
Glama
grandMA2 MCP
by drohi-r

select_preset_type

Switches the grandMA2 encoder context to a specified preset type by number or name, updating features and attributes for selected fixtures.

Instructions

Select the active preset type on the grandMA2 console (SAFE_WRITE).

Sends `PresetType [id or name]` which jumps the encoder context to the
first Feature available in that preset type for the selected fixtures.
Updates $PRESET, $FEATURE, and $ATTRIBUTE simultaneously.

CD tree location (live-verified, v3.9.60.65):
  cd 10.2        → lists all 9 PresetTypes
  cd 10.2.N      → lists Features under PresetType N
  cd 10.2.N.M    → lists Attributes under Feature M of PresetType N
  cd 10.2.N.M.K  → lists SubAttributes (deepest level)

Preset types + live-verified $FEATURE on first activation:
  1=Dimmer  ($FEATURE=DIMMER,   $ATTRIBUTE=DIM)
  2=Position ($FEATURE=POSITION, $ATTRIBUTE=PAN)
  3=Gobo    ($FEATURE=GOBO1,    $ATTRIBUTE=GOBO1)
  4=Color   ($FEATURE=COLORRGB, $ATTRIBUTE=COLORRGB1, fixture-dep)
  5=Beam    ($FEATURE=SHUTTER,  $ATTRIBUTE=SHUTTER,   fixture-dep)
  6=Focus   ($FEATURE=FOCUS,    $ATTRIBUTE=FOCUS)
  7=Control ($FEATURE=MSPEED,   $ATTRIBUTE=INTENSITYMSPEED)
  8=Shapers (fixture must have Shapers channels)
  9=Video   (fixture must have Video channels)

Args:
    preset_type: Preset type number (1-9) or name (e.g. "Color", "Control")

Returns:
    str: JSON with command_sent, raw_response, risk_tier

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": {
      "preset_type": "<preset_type>"
    },
    "name": "select_preset_type"
  }
}

Input Schema

NameRequiredDescriptionDefault
preset_typeYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior5/5

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

No annotations are supplied, so the description carries the full burden and does so: it discloses the SAFE_WRITE risk tier, the exact command sent, and the simultaneous side effects on $PRESET, $FEATURE, and $ATTRIBUTE. It also flags fixture-dependent behavior (types 4/5) and channel preconditions for Shapers/Video, plus the return shape (command_sent, raw_response, risk_tier).

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 core action and its side effects are front-loaded in the first three lines, which is the right structure. The CD-tree and preset-type tables are dense reference material that earns its place, though the CD-tree paths arguably belong with the browse tool.

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 one-parameter state-changing tool it covers action, command, state effects, parameter forms, and return fields. The remaining gap is failure behavior — what happens if type 8 or 9 is chosen when the fixture lacks those channels is stated as a precondition but not as an error outcome.

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?

With 0% schema coverage and an anyOf integer|string schema, the description fully compensates: it documents the 1-9 numeric range, name form ('Color', 'Control'), and enumerates all nine preset types with their live-verified $FEATURE/$ATTRIBUTE mappings. This is meaning well beyond the bare schema.

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?

States a specific verb and resource ('Select the active preset type on the grandMA2 console') and pins down the exact command emitted (`PresetType [id or name]`). This clearly separates it from siblings like browse_preset_type (listing) and select_feature (narrower encoder context).

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?

Usage is implied by the explanation that it 'jumps the encoder context to the first Feature' and by the CD-tree note showing browse-style listing paths. However, there is no explicit when-to-use versus when-not, and no direct pointer to browse_preset_type or select_feature as the alternative for exploration.

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