Skip to main content
Glama
grandMA2 MCP
by drohi-r

run_macro

Execute a stored grandMA2 macro by its ID to trigger a predefined command sequence on the lighting console.

Instructions

Execute a macro by its ID number.

Macros are stored command sequences on the console. This triggers
the macro to run.

Args:
    macro_id: Macro number to execute

Returns:
    str: JSON with command_sent and raw_response.

Examples:
    - Run macro 1: macro_id=1
    - Run macro 99: macro_id=99

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": {
      "macro_id": "<macro_id>"
    },
    "name": "run_macro"
  }
}

Input Schema

NameRequiredDescriptionDefault
macro_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations at all, the description carries the full burden. It does disclose that this is a triggering/side-effecting operation and that the response contains command_sent and raw_response, which is useful. But it says nothing about permissions, whether execution is synchronous, whether macro errors are surfaced, or whether repeated calls are idempotent — meaningful gaps for a console-mutating tool.

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 core action and scope in the first two sentences. The Args/Returns/Examples blocks are slightly boilerplate, and the Returns section is redundant given an output schema exists, but nothing is padded or confusing.

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?

A single-parameter tool with an output schema, so return-value explanation is not required and the description is roughly adequate. For a side-effecting console tool with zero annotation coverage, though, it should have stated prerequisites and failure behavior to be fully complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/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. It does so partially: "Macro number to execute" plus examples (macro_id=1, macro_id=99) convey that the argument is an integer macro slot number, not a name or UUID. It still doesn't state the valid range or what happens for a nonexistent ID.

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 ("Execute a macro by its ID number") and adds a one-line definition of what a macro is, so an agent knows exactly what the call does. It does not, however, distinguish itself from siblings such as generate_ma2_macro or run_command_batch, which could also be perceived as ways to trigger command sequences.

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

Usage Guidelines2/5

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

The description explains what a macro is but gives no when-to-use guidance, no prerequisites (must the macro already exist? must a showfile be loaded?), and no routing to alternatives like run_lua_script or run_command_batch. Usage is only implied by the verb "execute".

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