Skip to main content
Glama
grandMA2 MCP
by drohi-r

store_current_cue

Save the current programmer state—selected fixtures and active values—as a cue in a sequence, with merge/overwrite options and destructive-operation confirmation.

Instructions

Store the current programmer state as a cue (DESTRUCTIVE).

Saves whatever is currently in the programmer (selected fixtures +
active values) into a cue in the specified sequence. This is how
lighting looks are programmed into a show.

Executor-sequence relationship:
  When sequence_id is omitted, MA2 stores into the sequence assigned to
  the currently selected executor on the console. Use select_executor()
  first to set the target, or pass sequence_id explicitly to make the
  destination unambiguous regardless of executor selection state.

  select executor N      → sets executor N as the active store target
  Store Cue M            → stores into the sequence on selected executor
  Store Cue M Sequence S → stores into sequence S directly (preferred)

Args:
    cue_number: Cue number to store (required)
    sequence_id: Sequence to store into. Omit to use the selected executor's
                 sequence (call select_executor() first if needed)
    label: Optional name for the cue
    merge: Merge new values into existing cue (default False)
    overwrite: Replace existing cue completely (default False)
    confirm_destructive: Must be True to execute (DESTRUCTIVE operation)

Returns:
    str: JSON with commands_sent and raw_response.

Examples:
    - Store cue 5 (explicit sequence): cue_number=5, sequence_id=1, confirm_destructive=True
    - Store cue 3 named "Opening Look": cue_number=3, label="Opening Look", confirm_destructive=True
    - Merge into cue 1: cue_number=1, merge=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": {
      "cue_number": "<cue_number>"
    },
    "name": "store_current_cue"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNo
mergeNo
overwriteNo
cue_numberYes
sequence_idNo
confirm_destructiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/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 full burden and does so well: it flags the operation as DESTRUCTIVE in the title line, states that confirm_destructive must be True to execute, and explains merge vs overwrite defaults. It does not address what happens if merge and overwrite are both set true, nor whether an existing cue is otherwise preserved, leaving a small behavioral gap.

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 destructive warning is front-loaded and the body is organized into purpose, executor relationship, args, and examples, which is easy to scan. There is mild redundancy between the prose paragraph and the command-diagram lines, but most sentences carry distinct information.

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 destructive, six-parameter mutation tool with no annotations, the definition covers the safety gate, destination ambiguity, and flag semantics, which is what an agent needs to call it correctly. The Returns section is less necessary given an output schema exists, and the merge/overwrite conflict case is left unaddressed.

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%, so the description must compensate, and it does: the Args block documents all six parameters with meaning beyond bare titles, including the omit-behavior for sequence_id and the defaults for merge/overwrite. The executor-relationship diagram adds operational context the schema cannot express.

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 description opens with a specific verb and resource ("Store the current programmer state as a cue") and immediately explains the domain meaning ("This is how lighting looks are programmed into a show"). It also scopes the destination explicitly ("in the specified sequence"), so an agent can distinguish it from cue-modification siblings without opening a schema.

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 gives a clear conditional rule: if sequence_id is omitted, storage targets the selected executor's sequence, so call select_executor() first or pass sequence_id explicitly. Worked examples reinforce the intended call patterns. It stops short of naming when to prefer a sibling such as store_cue_with_timing over this tool, which keeps it out of the top band.

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