Skip to main content
Glama
grandMA2 MCP
by drohi-r

send_raw_command

Sends a raw MA command directly to a grandMA2 console and returns its response, while risk-tier checks and destructive-command confirmation protect live lighting operations.

Instructions

Send a raw MA command to grandMA2 and return the console response.

WARNING: This is a low-level tool that sends commands directly to a LIVE
lighting console. Prefer the higher-level tools (create_fixture_group,
execute_sequence) whenever possible.

SAFETY: Commands are classified by risk tier before sending:
- SAFE_READ (list, info, cd): Always allowed
- SAFE_WRITE (at, go, clear, blackout): Allowed in standard and admin mode
- DESTRUCTIVE (delete, store, assign, shutdown): Blocked unless
  confirm_destructive=True. Set GMA_SAFETY_LEVEL=admin to skip checks.

Args:
    command: Raw MA command to send
    confirm_destructive: Must be True to send destructive commands
        (delete, store, assign, shutdown, newshow, etc.)

Returns:
    str: JSON with command_sent, risk_tier, raw_response, and any
        safety block information.

Examples:
    - go+ executor 1.1
    - list cue
    - store sequence 1 cue 1 (requires 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": {
      "command": "<command>"
    },
    "name": "send_raw_command"
  }
}

Input Schema

NameRequiredDescriptionDefault
commandYes
confirm_destructiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.5/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and delivers: a live-console warning, a three-tier risk classification, the confirm_destructive gate, and the GMA_SAFETY_LEVEL=admin override. The only soft spot is the internal classification choice of "blackout" as SAFE_WRITE on a LIVE console, which understates its disruptiveness, but this is a judgment call rather than a contradiction.

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 the one-line purpose, then the warning, then the safety model — the right order for a risky tool. The destructive-command list appears twice (in the SAFETY section and again in Args), which is minor redundancy but aids scanning rather than hurting it.

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?

Since an output schema exists, the Returns block is mostly reinforcement, but the safety model is fully specified for a tool with zero annotations. Remaining gaps are small: whether GMA_SAFETY_LEVEL is an environment variable set outside the call, and what happens on invalid commands or console timeouts, are left unstated.

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 largely does: it names both parameters, explains that confirm_destructive must be True for delete/store/assign/shutdown/newshow, and demonstrates the gate with an example command. It never explains command syntax rules beyond bare examples, which keeps it from a 5.

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+resource ("Send a raw MA command to grandMA2") plus the side effect of returning the console response. It immediately distinguishes itself from higher-level siblings by naming create_fixture_group and execute_sequence and labeling itself low-level.

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?

Explicitly says to prefer the higher-level tools "whenever possible," which is a clear when-not directive, and the examples show typical raw-command usages (go+, list cue, store ...). An agent can decide between this and the named siblings without opening any schema.

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