Skip to main content
Glama
grandMA2 MCP
by drohi-r

rdm_patch

Assign an RDM fixture to a DMX universe and address, or detach its RDM match on a grandMA2 console.

Instructions

Patch or unmatch an RDM device on the grandMA2 console.

Actions:
- "setpatch" : Assign the RDM device at fixture_id to a specific DMX address.
               Requires universe and address.
- "unmatch"  : Detach the RDM match for a fixture (RdmUnmatch Fixture N).

Args:
    fixture_id: Fixture ID of the RDM device.
    action: "setpatch" or "unmatch".
    universe: Target universe number (required for setpatch).
    address: Target DMX address 1-512 (required for setpatch).
    confirm_destructive: Must be True to proceed. Defaults to False (blocked).

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": {
      "fixture_id": "<fixture_id>",
      "action": "<action>"
    },
    "name": "rdm_patch"
  }
}

Input Schema

NameRequiredDescriptionDefault
actionYes
addressNo
universeNo
fixture_idYes
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 supplied, the description carries the burden well: it discloses the destructive gate via confirm_destructive (must be True, defaults to blocked), describes the underlying console commands, and states the return shape. It does not say whether a setpatch overwrites an existing patch or how failures surface.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded one-line purpose followed by grouped Actions, Args, and Returns sections. Each line carries distinct information with no filler.

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?

Covers purpose, action-specific preconditions, the destructive confirmation gate, and return content; an output schema exists so return details needn't be expanded here. Only the interaction with existing patches and error behavior are left unstated for a mutation tool.

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 description coverage is 0%, so the description must compensate, and it does: it explains fixture_id, the action enum values, and that universe and address are conditionally required only for setpatch, including the 1-512 address bound. This adds meaning the bare schema lacks.

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?

The description states a specific verb and resource (patch or unmatch an RDM device on the grandMA2 console) and enumerates the two actions with their distinct semantics. An agent can distinguish this from generic patching siblings like patch_fixture.

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?

The Actions block clearly maps each action to its preconditions: setpatch requires universe and address, unmatch detaches the RDM match. It does not state when to prefer this over patch_fixture or rdm_get_info, so a small routing gap remains.

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