Skip to main content
Glama
grandMA2 MCP
by drohi-r

diff_cues

Compare two cues within a sequence to reveal per-attribute changes, timing, label, and block differences, with a raw line diff fallback when parsing fails.

Instructions

Structured diff of two cues showing per-attribute changes (SAFE_READ).

More detailed than compare_cue_values — parses attribute names, timing,
labels, and block status. Falls back to raw line diff if parsing fails.

Args:
    sequence_id: Sequence containing both cues.
    cue_a: First cue number.
    cue_b: Second cue number.

Returns:
    str: JSON with changes[], timing_diff, label_diff, block_diff, identical.

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": {
      "sequence_id": "<sequence_id>",
      "cue_a": "<cue_a>",
      "cue_b": "<cue_b>"
    },
    "name": "diff_cues"
  }
}

Input Schema

NameRequiredDescriptionDefault
cue_aYes
cue_bYes
sequence_idYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations supplied, the description carries the full burden and does add real behavior: a self-declared SAFE_READ marker, the parsing scope, and a graceful fallback to raw line diff on parse failure. It does not state prerequisites such as whether both cues must belong to the given sequence or what happens if a cue number does not exist, which is a meaningful gap for a query tool with zero annotation coverage.

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 purpose and the sibling comparison, then cleanly grouped Args/Returns sections. The Returns block duplicates information already available in the output schema, which is the only wasted content.

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?

A simple three-parameter read tool with an output schema; all parameters are documented and the fallback behavior is disclosed. The remaining gap is failure/edge-case semantics rather than core operational detail, so it is largely complete for this complexity.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/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 partially by annotating all three args — notably clarifying that sequence_id contains both cues. However the cue_a/cue_b notes ('First cue number') add little beyond the schema titles, and nothing explains ordering effects, numeric precision of cue numbers, or whether the two cues may live in different sequences.

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 ('Structured diff of two cues showing per-attribute changes') and explicitly positions itself against the sibling compare_cue_values as the more detailed option. An agent can distinguish the two 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?

The line 'More detailed than compare_cue_values — parses attribute names, timing, labels, and block status' gives a clear selection criterion relative to the named alternative. It stops short of an explicit when-not rule (e.g. use compare_cue_values when you only need a quick equality check), so it is strong but not exhaustive.

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