Skip to main content
Glama
grandMA2 MCP
by drohi-r

patch_fixture

Assigns a fixture to a DMX universe and address, optionally setting its fixture type or channel, and updates the console patch with destructive-action confirmation.

Instructions

Patch a fixture to a DMX address (DESTRUCTIVE — modifies the patch).

Assigns a DMX address to a fixture. Optionally assigns a fixture type first.

MA2 syntax:
  assign dmx [universe].[address] at fixture [fixture_id]
  assign fixture_type [type_id] at fixture [fixture_id]  (if fixture_type_id given)

Args:
    fixture_id: Fixture ID to patch.
    dmx_universe: DMX universe number (1-256).
    dmx_address: DMX address within universe (1-512).
    fixture_type_id: Fixture type to assign (optional).
    channel_id: Channel ID to assign (optional).
    confirm_destructive: Must be True to proceed.

Returns:
    str: JSON with commands_sent, raw_responses, risk_tier.

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>",
      "dmx_universe": "<dmx_universe>",
      "dmx_address": "<dmx_address>"
    },
    "name": "patch_fixture"
  }
}

Input Schema

NameRequiredDescriptionDefault
channel_idNo
fixture_idYes
dmx_addressYes
dmx_universeYes
fixture_type_idNo
confirm_destructiveNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/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 full burden and does well: it flags the operation as destructive, states that confirm_destructive must be True to proceed, shows the underlying MA2 commands, and describes the return payload (commands_sent, raw_responses, risk_tier). It stops short of explaining overwrite semantics when a fixture is already patched or what permissions are required.

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?

Structure is strong: the destructive warning is front-loaded in the title line, followed by a one-line summary, syntax block, and arg list. The opening two sentences are partially redundant ('Patch a fixture to a DMX address' vs 'Assigns a DMX address to a fixture'), costing a little brevity.

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 6-parameter destructive mutation with no annotations, the definition covers the essentials: intent, gating flag, syntax, parameter ranges, and return shape (even though an output schema already exists). The main gap is behavior when the fixture already has a DMX address — whether it silently repatches or errors.

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 description coverage is 0%, so the description must compensate, and it does for most parameters: it supplies valid ranges for dmx_universe (1-256) and dmx_address (1-512), explains fixture_type_id as an optional pre-assignment step, and notes confirm_destructive is mandatory. channel_id is only glossed as 'Channel ID to assign (optional)', leaving its interaction with fixture_id and fixture_type_id unclear.

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 description uses a specific verb and resource ('Patch a fixture to a DMX address' / 'Assigns a DMX address to a fixture'), which is unambiguous. It does not, however, differentiate itself from plausible siblings such as unpatch_fixture or rdm_patch, so an agent must infer the boundary.

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 DESTRUCTIVE marker and the confirm_destructive requirement imply this is a deliberate write operation, giving implicit guidance on when to use it. There is no explicit statement of when not to use it or which sibling tool handles the alternative case (e.g. unpatching or RDM-based patching).

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