Skip to main content
Glama
grandMA2 MCP
by drohi-r

set_effect_param

Set effect speed, phase, width, attack, decay, or value limits for the current fixture selection in the grandMA2 programmer.

Instructions

Set an effect parameter in the programmer for the current fixture selection.

Valid parameters: bpm, hz, high, low, phase, width, attack, decay.

- bpm / hz   : Effect speed (beats per minute or Hertz)
- high / low : Upper and lower value limits (0-100)
- phase      : Phase offset (0-359 degrees)
- width      : Pulse width (0-100)
- attack     : Attack time (0-100)
- decay      : Decay time (0-100)

Args:
    param: Parameter name (case-insensitive). One of: bpm, hz, high, low,
           phase, width, attack, decay.
    value: Numeric value appropriate for the parameter.

Returns:
    str: JSON with command_sent and raw_response.

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": {
      "param": "<param>",
      "value": "<value>"
    },
    "name": "set_effect_param"
  }
}

Input Schema

NameRequiredDescriptionDefault
paramYes
valueYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/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 burden: it discloses that the change lands in the programmer (a mutation) and gives valid ranges for each parameter, which is real behavioral value. However, it omits whether a fixture selection is required, whether the change is undoable, or what happens with out-of-range values, which matters for an unannotated write 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 action and scope, then a clean bulleted parameter reference. There is mild redundancy between the 'Valid parameters' list and the Args block repeating the same eight names, which costs a little space but aids scanning.

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 no annotations, the definition covers purpose, scope, allowed parameter names, value units, and the return shape (JSON with command_sent and raw_response). Missing only the selection prerequisite and error/failure semantics.

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 coverage is 0%, so the description must compensate, and it largely does: it enumerates all eight accepted param names, states case-insensitivity, and gives units/ranges for value per parameter (0-100, 0-359 degrees). The only gap is that 'value' type/format edge cases and error behavior for invalid params are unaddressed.

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 ('Set an effect parameter'), plus the scope ('in the programmer for the current fixture selection'), which separates it from library/browsing tools. It does not explicitly name a sibling alternative, so it stops short of a 5.

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?

The phrasing 'for the current fixture selection' implies a precondition (a selection must exist) but never states it as a requirement, nor does it say when to use this versus related tools like modulate_effect or set_bpm. Usage is inferable rather than explicit.

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