Skip to main content
Glama
grandMA2 MCP
by drohi-r

detect_dmx_address_conflicts

Scans the DMX patch to find fixtures with overlapping channel ranges on the same universe, reporting each conflict and clean universe so you can verify addressing before patching or during a show health check.

Instructions

Scan the patch for DMX address conflicts — fixtures sharing overlapping channel ranges.

Queries list_universes and list_fixtures to build a channel-occupancy map,
then reports any fixtures whose DMX footprint overlaps with another fixture on
the same universe. Safe to run before any patching operation or during a show
health check.

Args:
    universe_id: Check only this universe (1-based). If None, checks all universes.

Returns JSON with:
- conflicts: list of {universe, fixture_a, fixture_b, overlap_channels}
- clean_universes: list of universe IDs with no conflicts
- total_fixtures_checked: int

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "detect_dmx_address_conflicts"
  }
}

Input Schema

NameRequiredDescriptionDefault
universe_idNo

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 provided, the description carries the full burden, and it does well: it discloses the read-only safety profile ('safe to run'), the underlying data sources (list_universes, list_fixtures), and how the occupancy map is computed. It omits cost/latency expectations for a full-universe scan, which for a potentially large showfile would have been valuable.

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 purpose, then mechanism, then usage, then args and returns – a clean structure with no filler. The Returns block restates what the output schema already declares, which is mild redundancy, though it aids quick scanning.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-optional-parameter diagnostic with a declared output schema, the definition covers purpose, mechanism, safety, parameter semantics, and result shape. Nothing an agent needs to invoke it correctly or interpret the response is missing.

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 description must compensate, and it does: 'universe_id: Check only this universe (1-based). If None, checks all universes' adds both the indexing base and the null/default behavior. That is more than the schema's bare type declaration conveys.

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 leads with a specific verb and resource ('Scan the patch for DMX address conflicts') and defines the condition precisely ('fixtures sharing overlapping channel ranges'). That scope is self-distinguishing from the other detect_* diagnostics, so an agent does not need a sibling comparison to know what this returns.

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?

It states clear conditions for use: 'Safe to run before any patching operation or during a show health check,' which tells the agent this is a non-mutating pre-check. It stops short of naming an explicit alternative or exclusion, so it is not quite a 5.

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