Skip to main content
Glama

compare_recordings

Compares two equally long local audio segments (0.25–30 s) and reports differences as B minus A. Use it to detect signal changes between authorized clips without alignment or quality scoring.

Instructions

Compare equally long authorized local audio segments (0.25–30 s). Differences are B minus A; no automatic alignment or quality judgment.

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": {
      "path_a": "<path_a>",
      "path_b": "<path_b>"
    },
    "name": "compare_recordings"
  }
}

Input Schema

NameRequiredDescriptionDefault
path_aYes
path_bYes
start_a_sNo
start_b_sNo
duration_sNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.5.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations at all, the description must carry the whole behavioral burden, and it does disclose useful traits: equal-length requirement, 0.25–30 s window, B-minus-A diff convention, and no auto-alignment or quality scoring. It does not state that the operation is read-only, what permissions 'authorized' requires, or what the response contains — meaningful gaps for an annotation-free tool.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, no filler, with the constraining information (equal length, duration range) front-loaded and the diff orientation stated second. Every clause carries information an agent needs.

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

Completeness3/5

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

For a 5-parameter tool with 0% schema coverage, no annotations, and no output schema, the description covers the diff convention and duration bounds but leaves parameter roles and return shape underspecified. An agent can invoke it, but may guess wrong about start offsets and what comes back.

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 all five parameters (path_a, path_b, start_a_s, start_b_s, duration_s) are bare titles. The description compensates partially — 'A'/'B' maps to path_a/path_b and start_a_s/start_b_s, 'equally long' and the 0.25–30 s range bear on duration_s — but it never says that duration_s applies to both segments or what units/offset semantics the start parameters have.

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?

A specific verb and resource — 'Compare equally long ... local audio segments' — with the scope constraint (0.25–30 s) stated up front. It is clearly the pairwise-diff tool among siblings like audio_spectrogram and sense_audio, though it never names them 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?

'Authorized local audio segments' implies the prerequisite (local, permission-granted files) and 'no automatic alignment' implies caller responsibility for aligned inputs. But there is no explicit when-to-use vs when-not, and no pointer to any alternative tool for single-file or unaligned analysis.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.