Skip to main content
Glama
grandMA2 MCP
by drohi-r

set_bpm

Set the BPM on a grandMA2 Speed Master to sync lighting effects with live music tempo from external sources like ShowKontrol or Ableton.

Instructions

Set the BPM on a grandMA2 Speed Master (SAFE_WRITE).

Designed for live BPM sync from external sources like ShowKontrol,
Beat Link Trigger, Ableton, or any system that provides real-time BPM.
Sends the SpecialMaster command to the console via Telnet.

The BPM value directly controls effect speed for any executor assigned
to this speed master. Common workflow: ShowKontrol reads CDJ BPM →
calls this tool → MA2 effects follow the DJ's tempo in real time.

Args:
    bpm: Beats per minute (1-300). Fractional values supported (e.g. 128.5).
    speed_master: Which speed master to control (1-16, default 1).

Returns:
    str: JSON with command_sent, raw_response, bpm, speed_master.

Examples:
    - Set 128 BPM on speed master 1: set_bpm(bpm=128)
    - Set 140 BPM on speed master 3: set_bpm(bpm=140, speed_master=3)

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": {
      "bpm": "<bpm>"
    },
    "name": "set_bpm"
  }
}

Input Schema

NameRequiredDescriptionDefault
bpmYes
speed_masterNo

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, the description carries the full burden and mostly succeeds: it labels the operation SAFE_WRITE, discloses the transport (Telnet) and command sent, and explains the downstream effect that BPM controls effect speed for executors on that master. It omits prerequisites such as an established console/Telnet connection, failure behavior, and rate considerations for real-time streaming.

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 rationale, mechanism, args, returns, and examples in a scannable order. The explicit 'Returns' block partly duplicates the existing output schema, and the examples restate the described defaults, so a little is redundant.

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 two-parameter mutation tool with an output schema, this covers purpose, effect, argument ranges, and a realistic workflow, so an agent has what it needs to invoke it. The remaining gap is operational context around the Telnet connection and what happens on failure or invalid BPM values.

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%, so the Args block is essential and it delivers: bpm is documented as 1-300 with fractional values supported (e.g. 128.5), and speed_master as 1-16 with a default of 1. That adds ranges, precision guidance, and meaning well beyond the bare number/integer types in the schema.

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 and resource: 'Set the BPM on a grandMA2 Speed Master', plus the underlying mechanism (SpecialMaster command over Telnet). The resource (speed master) is distinct enough that an agent can separate it from siblings like set_effect_param or set_executor_level.

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?

Gives clear when-to-use context: live BPM sync from external sources such as ShowKontrol, Beat Link Trigger, or Ableton, plus a concrete workflow (CDJ BPM → this tool → effect tempo). It stops short of explicit exclusions or naming an alternative for static/non-realtime tempo changes.

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