Skip to main content
Glama
grandMA2 MCP
by drohi-r

compare_cue_values

Compare two cues in a sequence and show line-by-line differences in raw console output to identify changes for tracking analysis and cue cleanup.

Instructions

Compare two cues in a sequence and show differences (SAFE_READ).

Lists both cues and diffs the raw console output to help identify
what changes between them. Useful for tracking analysis and cue cleanup.

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

Returns:
    str: JSON with cue_a, cue_b, raw outputs, and line-by-line differences.

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

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.7/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden, and it does disclose the safety profile via the '(SAFE_READ)' marker plus the fact that it only lists and diffs raw console output. It also states the response shape (cue_a, cue_b, raw outputs, line-by-line differences), though it says nothing about error behavior when a cue number does not exist.

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 first sentence is front-loaded with the operation and a safety tag, followed by one sentence of context, then Args/Returns blocks. The Returns block partly restates what the output schema already provides, which is mild redundancy, but overall it is tight and scannable.

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 three-required-parameter read-only comparison tool, the definition covers purpose, argument meaning, and return content, and an output schema exists so return values need not be fully spelled out. The only meaningful gap is the absence of guidance on behavior when a specified cue is missing or invalid.

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 annotate all three arguments: sequence_id contains both cues, cue_a is the first cue number, cue_b the second. The cue_a/cue_b ordering is genuinely useful semantic detail, but no format, range, or unit information is added beyond 'number'/'integer.'

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 description opens with a specific verb and resource: 'Compare two cues in a sequence and show differences,' which tells an agent exactly what operation is performed. It is clearly distinct from siblings such as compare_patch_to_show_expectation because the resource is named (cues in a sequence), but it never explicitly routes the agent away from those siblings.

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 through the phrase 'Useful for tracking analysis and cue cleanup,' which suggests a debugging/audit context. There is no statement of when this tool is preferable to other comparison or cue-inspection tools, and no exclusions or preconditions are given.

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