Skip to main content
Glama
grandMA2 MCP
by drohi-r

control_executor

Controls a grandMA2 executor by starting, stopping, flashing, swapping, soloing, topping, stomping, or setting its speed, with destructive speed changes requiring confirmation.

Instructions

Control an executor: start, stop, flash, swop, solo, top, stomp, or set speed.

set_speed is DESTRUCTIVE (modifies stored data).

Args:
    action: "on", "off", "flash", "swop", "solo", "top", "stomp", or "set_speed"
    executor_id: Executor ID (1-999)
    page: Page number for page-qualified addressing (optional)
    speed_value: BPM value for set_speed (0.0–999.0; required for set_speed)
    confirm_destructive: Must be True when action="set_speed"

Returns:
    str: JSON result with command sent

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>",
      "executor_id": "<executor_id>"
    },
    "name": "control_executor"
  }
}

Input Schema

NameRequiredDescriptionDefault
pageNo
actionYes
executor_idYes
speed_valueNo
confirm_destructiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full disclosure burden and does flag the single riskiest path: set_speed is capitalized as DESTRUCTIVE, notes it 'modifies stored data', and mandates a confirmation flag. However, it says nothing about whether the other seven actions (flash, swop, solo, top, stomp) mutate persistent state or are transient, leaves the jargon actions undefined, and gives no permission, rate, or response-shape context beyond 'JSON result'.

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?

Well front-loaded: the one-line summary, then a bolded hazard note, then Args and Returns sections — nothing padded. Minor deduction for the duplicated action list (prose verbs in sentence one, literal values in Args) and the on/off vs start/stop mismatch, which slightly reduces scannability.

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 five-parameter mutation tool with an output schema (so return details needn't be spelled out), the definition covers every parameter's constraints and the destructive-confirmation path, which is the main hazard. It is not fully complete because an agent still cannot tell what each action operationally does to the executor, nor how this tool relates to the many sibling control tools.

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 coverage is 0% and the schema itself has no enum on action and no descriptions, so the description must do all the work — and it does: it lists the eight legal action strings, bounds executor_id to 1–999, marks page as optional page-qualified addressing, gives the speed_value range 0.0–999.0 and its dependency on set_speed, and states the confirm_destructive prerequisite. This meaning is entirely absent from the structured fields.

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 first sentence names a specific verb+resource ('Control an executor') and enumerates the eight supported actions, so an agent knows the tool's scope immediately. It falls short of a 5 because it never distinguishes itself from adjacent control tools (control_chaser, control_special_master, release_executor, select_executor), and the prose verbs ('start, stop') don't exactly match the actual action values ('on', 'off').

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 action enumeration and one explicit conditional rule: confirm_destructive must be True when action='set_speed'. There is no guidance on when to pick this tool over siblings such as release_executor or select_executor, and no exclusions for actions that require particular executor state or page-qualified addressing.

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