Skip to main content
Glama
grandMA2 MCP
by drohi-r

store_new_preset

Stores active programmer fixture values into a preset slot for later recall, with universal, selective, global, merge, or overwrite options.

Instructions

Store the current programmer values as a preset.

Saves the active fixture values (from the programmer) into a preset
slot for later recall with apply_preset.

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

Scope flags (mutually exclusive — pick at most one):
  universal   — stores values indexed by fixture type (applies to any fixture
                of the same profile; not tied to specific fixture IDs).
  selective   — stores values tied to the specific fixtures selected during
                store. Recalled preset only affects those fixture IDs.
  global_scope — stores absolute values (no relative/tracking offset).

Workflow for universal color presets:
  1. SelFix 1 Thru 999
  2. attribute "ColorRgb1" at 100
  3. store_new_preset("color", 6, universal=True, overwrite=True, confirm_destructive=True)

SAFETY: This is a STORE operation which modifies show data.

Args:
    preset_type: Preset type name (e.g. "color", "position", "gobo")
    preset_id: Preset number within that type
    merge: Merge into existing preset (default False)
    overwrite: Replace existing preset with /overwrite flag (default False)
    universal: Store as universal preset — applies to any fixture of the same type
    selective: Store as selective preset — applies only to selected fixture IDs
    global_scope: Store with global (absolute) values
    confirm_destructive: Must be True to execute (DESTRUCTIVE operation)

Returns:
    str: JSON with command_sent and raw_response.

Examples:
    - Store universal color preset: preset_type="color", preset_id=6, universal=True, confirm_destructive=True
    - Overwrite position preset 3: preset_type="position", preset_id=3, overwrite=True, confirm_destructive=True

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": "store_new_preset"
  }
}

Input Schema

NameRequiredDescriptionDefault
mergeNo
overwriteNo
preset_idYes
selectiveNo
universalNo
preset_typeYes
global_scopeNo
confirm_destructiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations supplied, the description carries the full burden and does: it flags a SAFETY section stating this STORE modifies show data, explains that confirm_destructive must be True to execute, and clarifies what merge/overwrite do to an existing preset. It also discloses the side effects of each scope flag (fixture-type indexed vs fixture-ID bound vs absolute values).

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 purpose and well-sectioned (scope flags, workflow, safety, args, returns, examples), but universal/selective/global_scope are described twice — once in the scope-flags block and again in the Args list — which is redundant for a description of this length.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For an eight-parameter destructive store tool with no annotations, the description covers purpose, scope semantics, a concrete invocation recipe, the destructive guard, and example calls. An output schema exists and a brief returns note is still included, so nothing an agent needs to call it safely is missing.

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% and the schema has only bare titles, so the description must compensate — and it does, documenting all eight parameters plus the preset_type ordinal mapping (dimmer=1 … video=9) that the schema omits entirely. Defaults and destructive-guard behavior are stated explicitly.

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?

The first line states a specific verb and resource: 'Store the current programmer values as a preset.' It also names apply_preset as the recall counterpart, making the store-vs-recall distinction immediate without opening any schema.

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

Usage Guidelines5/5

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

It gives explicit when-to-use guidance via a numbered workflow for universal color presets, states that the scope flags are mutually exclusive ('pick at most one'), and routes recall to apply_preset. Conditions that select each flag (universal vs selective vs global_scope) are spelled out.

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