Skip to main content
Glama
grandMA2 MCP
by drohi-r

list_sequence_cues

List all cues in a grandMA2 sequence or verify that a specific cue exists, using a sequence ID or executor ID for lookup.

Instructions

List cues in a sequence, or check whether a specific cue exists.

Supports two ways to identify the sequence:
  - sequence_id: Direct sequence number (e.g. 278)
  - executor_id: Executor number — sequence is resolved via
    'list executor PAGE.ID' before listing cues

If both are supplied, sequence_id takes precedence.

Validated MA2 probes used:
  'list cue sequence N'     → all cues in sequence N
  'list cue M sequence N'   → specific cue M in sequence N
  'list executor P.E'       → resolve sequence from executor

Args:
    sequence_id: Sequence number to inspect.
    executor_id: Executor number — resolved to its linked sequence.
    executor_page: Executor page for resolution (default 1).
    cue_id: Optional specific cue to check for existence.

Returns:
    str: JSON with command_sent, raw_response, exists, resolved_sequence_id,
         and executor_probe_response (when executor_id was used).

Examples:
    - All cues in seq 278: list_sequence_cues(sequence_id=278)
    - Cue 5 in seq 278: list_sequence_cues(sequence_id=278, cue_id=5)
    - Cues for executor 1: list_sequence_cues(executor_id=1)
    - Check cue 99 on executor 1: list_sequence_cues(executor_id=1, cue_id=99)

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

Input Schema

NameRequiredDescriptionDefault
cue_idNo
executor_idNo
sequence_idNo
executor_pageNo

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 load and does reasonably well: it discloses that the tool issues MA2 probes, that executor_id triggers an extra resolution probe ('list executor P.E'), and that the response includes command_sent, raw_response, resolved_sequence_id, and executor_probe_response. It does not state that the operation is read-only or note any console-connection or error behavior.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with purpose, then structured sections for identification modes, precedence, probes, args, returns, and examples. There is minor overlap between the args list and the examples, but every section earns its place and no sentence is filler.

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 four-parameter tool with zero schema coverage and no annotations, the description supplies enumeration modes, precedence, probe mechanics, and output fields. An output schema exists, making the 'Returns' section partly redundant, and nothing is said about failure modes when a sequence or executor does not exist.

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: each of the four parameters is glossed, the executor_page default of 1 is restated, cue_id is framed as an existence check, and the precedence between sequence_id and executor_id is documented. It adds real meaning beyond bare titles like 'Cue Id' and 'Executor Id'.

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?

States a specific verb and resource — 'List cues in a sequence' — and adds the secondary mode 'or check whether a specific cue exists'. The scope is precise enough to separate it from siblings like auto_number_cues, diff_cues, and execute_sequence without opening any 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?

Explains the two ways to identify a sequence and resolves the ambiguity explicitly: 'If both are supplied, sequence_id takes precedence.' The four worked examples cover each mode. It stops short of saying when to prefer this over related siblings, but the internal routing guidance 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