Skip to main content
Glama
grandMA2 MCP
by drohi-r

discover_consoles

Find grandMA2 lighting consoles on a network via UDP broadcast and return candidate devices, scanned networks, and timing data for connection setup.

Instructions

Discover grandMA2 consoles via UDP broadcast (SAFE_READ).

Path A scope: broadcast only. mDNS path requires the optional
``[mdns]`` install (zeroconf) and is documented for Path B.

Args:
    timeout_seconds: Listen window after the probe is sent.
    network: Optional CIDR to constrain the broadcast (e.g. "192.168.1.0/24").
        None auto-detects local interfaces.
    methods: List of methods to attempt — subset of {"broadcast", "mdns"}.
        Default: ["broadcast"].

Returns:
    JSON envelope: ``{candidates, scanned_networks, elapsed_ms, note}``.

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": "discover_consoles"
  }
}

Input Schema

NameRequiredDescriptionDefault
methodsNo
networkNo
timeout_secondsNo

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, the description carries the full load and does tag the operation '(SAFE_READ)' and describe the return envelope shape. It omits behavior an agent would want for network discovery: what happens on timeout or no matches, whether broadcast may be blocked by OS/firewall permissions, and any error surfacing. Adequate but not rich.

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-loads the core purpose and scope in one line, then uses clean Args/Returns blocks that map one-to-one onto the parameters. The Path A/Path B aside points at documentation the agent cannot access here, which is mild waste, but nothing else is padding.

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 three-optional-parameter discovery tool, the definition covers what it does, how each knob behaves, and the envelope keys returned (an output schema also exists, so that is supplementary). The remaining gap is failure/timeout behavior and any environment prerequisites for UDP broadcast.

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 largely does: timeout_seconds is defined as the listen window after the probe, network is explained as an optional CIDR with an example and a documented None auto-detect behavior, and methods is documented as a subset of {"broadcast", "mdns"} with a default. That enumerates allowed values the schema itself leaves as a bare string array, though valid ranges for timeout_seconds are still unstated.

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 ('Discover grandMA2 consoles via UDP broadcast') plus a scope qualifier ('Path A scope: broadcast only'), so an agent knows this is console network discovery, not object/attribute discovery like the sibling discover_* tools. It stops short of naming a sibling alternative directly, but the broadcast-only framing does most of the disambiguation work.

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?

Gives an implied usage condition: use the broadcast path here, and the mDNS path only with the optional [mdns]/zeroconf install documented for 'Path B'. There is no explicit when-not or named alternative tool to call instead, so an agent must infer the routing from the install-dependency note.

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