Skip to main content
Glama
grandMA2 MCP
by drohi-r

apply_preset

Apply stored lighting presets by type and ID to fixtures or groups. Select targets first to recall color, position, gobo, or other looks on a grandMA2 console.

Instructions

Apply a preset to fixtures or groups.

Presets are stored lighting looks (color, position, gobo, etc.) that
can be recalled by type and ID. Optionally select fixtures/group first.

Preset types: "dimmer" (1), "position" (2), "gobo" (3), "color" (4),
"beam" (5), "focus" (6), "control" (7), "shapers" (8), "video" (9)

Args:
    preset_type: Preset type name or number (e.g. "color", "position", "4")
    preset_id: Preset number within that type
    fixture_id: Optional fixture to select first (single or range start)
    fixture_end: Optional end fixture for range selection
    group_id: Optional group to select first (alternative to fixture_id)

Returns:
    str: JSON with commands_sent and raw_response.

Examples:
    - Apply color preset 3 to current selection: preset_type="color", preset_id=3
    - Apply position preset 1 to group 2: preset_type="position", preset_id=1, group_id=2
    - Apply gobo preset 5 to fixtures 1-10: preset_type="gobo", preset_id=5, fixture_id=1, fixture_end=10

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>",
      "preset_id": "<preset_id>"
    },
    "name": "apply_preset"
  }
}

Input Schema

NameRequiredDescriptionDefault
group_idNo
preset_idYes
fixture_idNo
fixture_endNo
preset_typeYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations supplied, the description must carry the full behavioral burden. It does disclose that the operation emits commands (returns commands_sent and raw_response) and that it may alter the current selection first, plus the full preset-type numbering. However, it omits mutability/error behavior, whether the selection change persists, and any permission or connection requirements, leaving real gaps for a write-style console action.

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?

Front-loaded with a one-line action statement, then a definition of presets, then structured Args and Examples. The Returns line partially duplicates the output schema, but the Args detail is justified by the 0% schema coverage; overall efficient.

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?

Covers purpose, target selection, the preset-type vocabulary, and a return summary, with three concrete examples spanning single-target, group, and fixture-range usage. An output schema exists so return values need not be detailed; the only missing piece is error/failure behavior for invalid preset types or IDs.

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%, but the Args section compensates by explaining every parameter: preset_type accepts a name or number with the full type list, preset_id is the number within that type, fixture_id is a single fixture or range start, fixture_end completes a range, and group_id is the alternative to fixture_id. The fixture_id/group_id exclusivity is only implied as 'alternative', not enforced or explained when both are supplied, so it is not quite a 5.

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?

States a specific verb and resource ('Apply a preset to fixtures or groups') and defines what a preset is (stored lighting look recalled by type and ID). It does not name any sibling tool or explain how it differs from preset-library tools like store_new_preset or browse_preset_type, so it stops short of full differentiation.

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?

Gives usable context: presets are recalled by type and ID, and fixtures or a group may optionally be selected first before applying. It does not state when to use this versus alternatives or any precondition/exclusion, which keeps it below a 5.

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