Skip to main content
Glama
grandMA2 MCP
by drohi-r

list_system_variables

Lists all grandMA2 built-in system variables, returning parsed key=value pairs. Filter by prefix to target specific variables such as $SELECTEDEXEC.

Instructions

List all grandMA2 built-in system variables (SAFE_READ).

Sends `ListVar` to the console and returns parsed key=value pairs.
System variables include $SELECTEDEXEC, $TIME, $DATE, $VERSION, $HOSTSTATUS,
$FADERPAGE, $BUTTONPAGE, $SELECTEDFIXTURESCOUNT, $USER, $HOSTNAME, etc.

Args:
    filter_prefix: Optional prefix filter (case-insensitive).
        e.g. "SELECTED" returns only $SELECTEDEXEC, $SELECTEDEXECCUE, etc.
        Omit to return all variables.

Returns:
    str: JSON with `variables` dict (name→value), `variable_count`, and `raw_response`.

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_system_variables"
  }
}

Input Schema

NameRequiredDescriptionDefault
filter_prefixNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations supplied, the description carries the burden and does reasonably well: it discloses the mechanism ('Sends `ListVar` to the console'), the read-only nature ('SAFE_READ'), the shape of the result, and examples of what is returned. It falls short of stating connection/auth requirements or any size or rate considerations for large variable sets.

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 purpose and data source, then a compact Args/Returns block. The enumerated variable examples are slightly padded but earn their place by illustrating what 'system variables' means on this console.

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 one-optional-parameter list tool with an output schema, the definition is nearly complete: purpose, mechanism, parameter behavior, and return shape are all present. Only environment assumptions (must be connected to a console) are unstated, which is a minor gap.

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% – the schema only names 'Filter Prefix' with a null default – so the description must compensate, and it does: it explains the prefix is case-insensitive and shows exactly what 'SELECTED' returns. It also states the omit-to-return-all default behavior.

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 ('List all grandMA2 built-in system variables') and even names the underlying console command. It is clear what the tool does, but it never contrasts itself with the sibling watch_system_var, so the agent must infer that this is the snapshot/read-all variant.

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?

Usage of the filter is well covered ('Omit to return all variables', with a concrete 'SELECTED' example), which implies when to pass a prefix. However, there is no guidance on when to choose this over watch_system_var, and no prerequisite context such as needing a live console connection.

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