Skip to main content
Glama
grandMA2 MCP
by drohi-r

programming_action

Runs grandMA2 programmer actions to align, locate, flip, extract, learn, block/unblock cues, record macros, and store looks for cue and fixture workflow control.

Instructions

Execute programmer operations — align, locate, flip, extract, learn,
block/unblock cue, record macro, store look.

Args:
    action: One of:
        SAFE_WRITE: "align", "locate", "flip", "extract", "learn"
        DESTRUCTIVE: "block", "unblock", "record_macro", "store_look"
    fixture_ids: Fixture number(s) for locate (single int or list)
    end: Ending number for locate range
    cue_id: Cue number for block/unblock
    sequence_id: Sequence ID for block/unblock scoping
    macro_id: Macro pool slot for record_macro
    executor_id: Executor ID for learn
    page: Page for learn page-qualified addressing
    look_id: Look pool slot for store_look
    mode: Alignment mode for align (">" "><" "<>" "<")
    merge: Merge option for store_look
    overwrite: Overwrite option for store_look
    confirm_destructive: Required for block/unblock/record_macro/store_look

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": {
      "action": "<action>"
    },
    "name": "programming_action"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNo
modeNo
pageNo
mergeNo
actionYes
cue_idNo
look_idNo
macro_idNo
overwriteNo
executor_idNo
fixture_idsNo
sequence_idNo
confirm_destructiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/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 meaningful work: it classifies actions into safe vs destructive tiers and states that a confirmation flag is mandatory for the destructive set, which is exactly the risk context annotations would normally provide. It stops short of saying what each destructive action does to existing state (whether block overwrites a cue, whether store_look overwrites a pool slot) or whether undo_last_action can reverse it.

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 structure is purposeful: a one-line purpose, a grouped action enumeration, then per-parameter notes, with the risk tiering front-loaded where an agent will see it. Some lines are near-tautological ('merge: Merge option for store_look', 'overwrite: Overwrite option for store_look') and add little, but there is no bloated prose.

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

Completeness3/5

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

The output schema means return values need not be explained, and the parameter-to-action mapping is thorough for a 13-parameter tool. What remains thin is semantic depth: the description never explains what align, extract, or learn actually do to the showfile, so an agent knows the argument shape but not the effect of each action.

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%, so the description must compensate, and it does: all thirteen parameters are mapped to the specific action that consumes them (fixture_ids/end for locate, sequence_id for block scoping, executor_id/page for learn, look_id for store_look). It also supplies the alignment mode values ('>', '><', '<>', '<') that the schema leaves as an unenumerated string, adding meaning the schema cannot convey.

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-plus-resource statement ('Execute programmer operations') and enumerates the exact operations covered (align, locate, flip, extract, learn, block/unblock, record macro, store look). What it omits is differentiation from siblings such as block_unblock_cue and playback_action, which appear to overlap in scope.

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 through the SAFE_WRITE vs DESTRUCTIVE split and the statement that confirm_destructive is required for block/unblock/record_macro/store_look, which is a genuine precondition. However, there is no explicit guidance on when to call this multiplexed tool instead of the dedicated siblings like block_unblock_cue or playback_action, and no when-not-to-use statement.

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