Skip to main content
Glama

Compare a clip with a reference audio excerpt

compare_reference_audio
Read-onlyIdempotent

Compare up to 15 seconds of a video soundtrack with a supplied corresponding audio excerpt. Set videoFromSeconds and referenceFromSeconds when the sections start at different times. Returns overall and one-second waveform-similarity signals for human review, not a verdict; quiet windows have no score. A low score can reflect mixing or a different excerpt; a high score does not prove lip sync, lyrics or intended sound.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "compare_reference_audio"
  }
}

Input Schema

NameRequiredDescriptionDefault
renderVideoUrlNo
durationSecondsNo
videoAttachmentNo
videoFromSecondsNo
referenceAudioUrlNo
referenceFromSecondsNo
referenceAudioAttachmentNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the annotations (readOnly/idempotent/non-destructive), the description discloses output shape (overall plus one-second waveform-similarity signals), an important edge case (quiet windows receive no score), and interpretation limits (low scores can reflect mixing or a mismatched excerpt; high scores do not prove lip sync, lyrics, or intended sound). That is exactly the kind of behavioral context the agent cannot get from structured fields.

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?

Three sentences, front-loaded with what is compared and how long, then the offset parameters, then the return semantics and caveats. No filler, and each sentence adds a distinct fact the 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 7-parameter tool with nested objects and no output schema, the description covers purpose, output character, and caveats well but leaves the input model underspecified — specifically whether to pass a URL or an attachment and what the reference excerpt must correspond to. It is adequate to understand the tool, less so to invoke it confidently on the first attempt.

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% across 7 parameters, including two nested attachment objects, so the description must carry the load. It usefully explains the offset semantics of videoFromSeconds/referenceFromSeconds and the 15-second cap, but says nothing about the URL-vs-attachment choice (renderVideoUrl/videoAttachment, referenceAudioUrl/referenceAudioAttachment) or the required durationSeconds range, leaving the most ambiguous input decision undocumented.

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?

"Compare up to 15 seconds of a video soundtrack with a supplied corresponding audio excerpt" gives a specific verb (compare), a specific resource pair (video soundtrack vs. reference audio), and a hard scope limit (15s). It reads as clearly distinct from the sibling check tools (black gaps, freeze, repeated shots), though it never explicitly contrasts itself with them, which keeps it from a 5.

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 rather than stated: the description tells you to set videoFromSeconds/referenceFromSeconds when sections are offset, and that output is "for human review, not a verdict." There is no explicit when-to-use vs. when-not-to-use framing, no prerequisites, and no alternative tool named for related verification tasks.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.