Skip to main content
Glama
grandMA2 MCP
by drohi-r

diff_console_state

Compares the current console state snapshot against a caller-supplied baseline to identify which fields changed, how many stayed the same, and the snapshot's age.

Instructions

    Compare the current ConsoleStateSnapshot against a caller-supplied baseline.

    Pass a JSON dict with any subset of: active_filter, active_world,
    selected_fixture_count, fader_page, active_user_profile,
    has_unsaved_changes, console_modes, filter_vte, parked_count.
    Unrecognised keys are ignored.

    Args:
        baseline: JSON string with baseline field values to compare against.

    Returns:
        str: JSON with changed_fields, unchanged_count, snapshot_age_seconds.
    

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": {
      "baseline": "<baseline>"
    },
    "name": "diff_console_state"
  }
}

Input Schema

NameRequiredDescriptionDefault
baselineYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

With no annotations, the description must carry the behavioral load and does most of it: it enumerates the accepted baseline fields, states that unrecognised keys are silently ignored, and names the returned fields (changed_fields, unchanged_count, snapshot_age_seconds). It stops short of saying whether the current snapshot is read live or cached, or what permissions are needed, but the read-only nature of a comparison is self-evident.

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?

The purpose is front-loaded in the first sentence, followed by the parameter payload and return shape in a conventional docstring layout. The Args/Returns scaffolding is slightly verbose and the Returns section duplicates information already available in the output schema, but nothing is genuinely wasteful.

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-parameter comparison tool with an output schema present, this covers purpose, the accepted input payload, unknown-key handling, and the shape of the result. The only real gap is how it relates to sibling state-read and baseline tools, which an agent would need in order to sequence calls correctly.

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 coverage is 0% — the single 'baseline' parameter is an untyped string with no description — so the description carries full responsibility and largely meets it by listing the exact JSON keys accepted and the tolerance for extra keys. It does not explain value formats or valid ranges for those keys (e.g. what values fader_page or console_modes take), which keeps it below a 5.

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 opening sentence names a specific verb and resource: comparing the current ConsoleStateSnapshot against a caller-supplied baseline. An agent can tell it is an observational/comparison tool rather than a mutation tool, though it never explicitly contrasts itself with nearby reads like get_console_state or snapshot_console_baseline.

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 implied by 'Pass a JSON dict with any subset of...' plus the note that unrecognised keys are ignored, which is genuinely useful mechanics. However there is no statement of when to prefer this over get_console_state or diff_cues, nor any precondition such as requiring a prior snapshot.

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