Skip to main content
Glama
grandMA2 MCP
by drohi-r

discover_object_names

Navigate to an object pool by keyword, index, or dot path to retrieve every object name, so you can build wildcard patterns for matching in list, info, or label commands.

Instructions

Navigate to an object pool and return all object names for wildcard pattern building.

This is the first step in the discover-names → derive-pattern → wildcard-command
workflow.  The returned names can be used directly with list_objects(),
info(), label(), etc. by passing them as the ``name`` argument with
``match_mode="literal"`` (exact match) or deriving a ``*``-pattern and
using ``match_mode="wildcard"``.

CD scope covered
----------------
Any destination accepted by navigate_console() works here:
  - Keyword form:      "Group", "Sequence", "Preset", "Macro", "Effect", …
  - Numeric index:     "22" (Groups), "25" (Sequences), "17" (Presets), …
  - Dot-notation:      "10.3" (LiveSetup/FixtureTypes)

Object pool destinations (cd 1–42 that have named user objects):
  Group=22, Sequence=25, Preset=17, Macro=13, Effect=24, Gel=16, World=18,
  Filter=19, Form=23, Timer=26, Layout=38, Timecode=35, Agenda=34,
  UserProfile=39, Remote=36.

System-config branches (cd 1=Showfile, cd 2=TimeConfig, cd 3=Settings,
cd 4=DMX_Protocols, …) hold property nodes, not named user objects — they
return empty names and are not useful for wildcard matching.

After this call the console is left at root (cd /).

Args:
    destination: Object pool to inspect.  Any format accepted by
        navigate_console: keyword ("Group"), numeric index ("22"),
        or dot path ("10.3").

Returns:
    str: JSON with destination, entries (id + name), names_only list,
         and a wildcard_tip suggesting how to build a pattern.

Example workflow::

    discover_object_names("Group")
    # → names: ["Mac700 Front", "Mac700 Back", "Wash", "ALL LASERS"]

    # Derive prefix pattern and use with list_objects:
    # list_objects("group", name="Mac700*", match_mode="wildcard")
    # → "list group Mac700*"

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": {
      "destination": "<destination>"
    },
    "name": "discover_object_names"
  }
}

Input Schema

NameRequiredDescriptionDefault
destinationYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.4/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

With no annotations, the description carries the full burden and largely meets it: it discloses the console side effect ("After this call the console is left at root (cd /)"), the empty-result behavior for non-pool destinations, and the shape of the returned JSON. It stops short of stating read-only status or what happens on an invalid destination, which is the one remaining behavioral gap.

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 verb and workflow role, then structured into CD scope, Args, Returns, and example sections. The 15-entry cd mapping table and the inline example workflow are lengthy, but each entry is a concrete usable lookup rather than filler. Slightly bulky for a one-parameter tool, but nothing is gratuitous.

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?

An output schema exists, so return values need little explanation, yet the description still summarizes the JSON keys (destination, entries, names_only, wildcard_tip). Combined with the destination format matrix and the console-state disclosure, almost everything needed to call it correctly is present; only error behavior and the distinction from list_pool_names are 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 description coverage is 0% and the single parameter has no schema description, so the description must compensate — and it does, spelling out all three accepted destination formats (keyword, numeric index, dot path) with concrete examples and a full cd-to-pool mapping table (Group=22, Sequence=25, Preset=17, etc.).

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: navigate to an object pool and return all object names for wildcard pattern building. The workflow framing ("first step in the discover-names → derive-pattern → wildcard-command workflow") further pins it down. It does not, however, differentiate itself from the similarly named sibling list_pool_names, so an agent must infer the split.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use (first step of a three-stage workflow), names the downstream consumers (list_objects, info, label) with the exact match_mode values to pass, and provides a when-not-to-use exclusion: system-config branches such as cd 1–4 hold property nodes, return empty names, and are not useful for wildcard matching.

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