Skip to main content
Glama
grandMA2 MCP
by drohi-r

watch_system_var

Poll a grandMA2 system variable via Telnet until it matches an expected value or times out. Returns match status, final value, elapsed time, and poll count.

Instructions

    Poll a grandMA2 system variable until it matches an expected value or times out.

    Uses ListVar telnet command. Requires an active telnet connection.

    Args:
        var_name:        Variable name (with or without leading $, case-insensitive).
                         e.g. "FADERPAGE" or "$FADERPAGE"
        expected_value:  Value to wait for (string comparison).
        timeout_seconds: Maximum wait time in seconds (capped at 30.0).
        poll_interval:   Seconds between polls (minimum 0.1).

    Returns:
        str: JSON with matched, final_value, elapsed_seconds, polls.
    

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": {
      "var_name": "<var_name>",
      "expected_value": "<expected_value>"
    },
    "name": "watch_system_var"
  }
}

Input Schema

NameRequiredDescriptionDefault
var_nameYes
poll_intervalNo
expected_valueYes
timeout_secondsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4.1/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 well: it discloses the transport dependency (active telnet connection), the underlying command (ListVar), and hard caps (timeout max 30.0s, poll interval min 0.1s). It does not describe what happens on timeout beyond returning, but the returned fields (matched, final_value, elapsed_seconds, polls) make the failure shape inferable.

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 one-line purpose, then structured Args/Returns blocks with no filler prose. The Returns section is largely redundant given an output schema exists, which is the only real waste.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 4-parameter polling tool with no annotations, the definition covers purpose, transport prerequisite, parameter edge cases, and limits. The presence of an output schema makes the Returns line a bonus rather than a necessity, and nothing an agent needs to call it correctly is 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%, so the description must compensate, and it does for all four parameters: leading-$ tolerance and case-insensitivity for var_name, string-comparison semantics for expected_value, a 30.0s cap for timeout_seconds, and a 0.1s floor for poll_interval. None of this is recoverable from the bare titles in the schema.

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?

The first sentence gives a specific verb (poll) plus resource (grandMA2 system variable) and the terminating condition (match or timeout). This is clearly distinguishable from a plain listing tool like list_system_variables, although no sibling is named explicitly.

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 is only implied by the semantics of 'watch/poll until match' — the description notes it requires an active telnet connection and uses the ListVar command, which is useful prerequisite context. There is no explicit statement of when to prefer this over list_system_variables or how to handle the timeout result, so guidance stops short of real when/when-not advice.

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