Skip to main content
Glama
grandMA2 MCP
by drohi-r

query_object_list

Lists objects in the grandMA2 show file by type, such as cues, groups, or presets, with optional IDs, ranges, filters, and file export.

Instructions

List objects from the show file by type — cues, groups, presets, etc.

Sends typed `list <type>` commands with type-specific options.
Different from list_console_destination (which lists at the current
navigation location). This tool queries named object pools directly.

Args:
    object_type: Object type to list. Typed shortcuts:
        "cue", "group", "preset", "attribute", "messages".
        Or any generic type (e.g. "sequence", "macro", "executor").
        If omitted, lists all objects at the default scope.
    object_id: Optional object ID to list a specific item
    end: Optional end ID for range listing (e.g. cue 1 thru 10)
    sequence_id: Sequence to list cues from (only for object_type="cue")
    preset_type: Preset type name or number (only for object_type="preset",
        e.g. "color", "position", "4")
    filename: Optional filename to export the list output
    condition: Optional filter condition (for "messages" or generic types)

Returns:
    str: JSON with command_sent and raw_response.

Examples:
    - List all cues: object_type="cue"
    - List cues in sequence 2: object_type="cue", sequence_id=2
    - List groups: object_type="group"
    - List color presets: object_type="preset", preset_type="color"
    - List attributes: object_type="attribute"

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

Input Schema

NameRequiredDescriptionDefault
endNo
filenameNo
conditionNo
object_idNo
object_typeNo
preset_typeNo
sequence_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose the mechanism (typed `list <type>` console commands) and a brief return shape, which is useful, but it never states that the operation is read-only, what happens with an unrecognized object_type, or whether the `filename` option writes a file server-side — a real side effect left unexplained.

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?

Purpose and sibling differentiation are front-loaded, and the Args block is scannable with per-parameter constraints inline. The Examples section is partly redundant with the parameter text, but it earns its place by showing the common typed-shortcut calls.

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 seven-parameter, zero-annotation tool, the definition covers every parameter and points at the return shape, which is more than most. The remaining gap is the safety/behavioral profile: read-only status and the file-export side effect of `filename` are unstated, which matters for a tool that issues commands to a console.

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 largely does: all seven parameters get meaning plus conditional applicability (sequence_id only for cue, preset_type only for preset, condition for messages/generic types, end for ranges). Weaknesses remain — it doesn't say that object_id is the range start paired with `end`, and filename's path/location semantics are ambiguous.

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 opening line states a specific verb and resource ("List objects from the show file by type") and enumerates concrete types. It then explicitly separates itself from list_console_destination by contrasting navigation-scoped listing with direct pool queries, so the agent can discriminate without opening either schema.

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 gives an explicit when-to-use-vs-alternative: use this for named object pools, not for the current console navigation location. It also tells the agent that omitting object_type falls back to a default-scope listing. It stops short of stating when-not to use it (e.g. invalid type handling), but the routing context is clear.

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