Skip to main content
Glama

Caption File Check

caption_compare

Read-only

Compare exactly two caption or subtitle files under identical bounded checks: an original versus its translated track, before versus after a timing fix, or a format migration. Attach two WebVTT, SRT, or TTML/IMSC caption files in chat or give two publicly fetchable URLs and it runs the same SSRF-guarded, 2 MB-capped preflight as caption_check on each, then aligns them by cue index and reports side-by-side pass status, detected-format and encoding differences, the cue-count delta, timing drift and overlap differences, reading-speed (CPS) regressions, structural-error deltas, and a winner only when the measured checks separate the two. Use caption_check for a single file. It reports only source-file conformance, timing, encoding, and reading-speed facts against a dated profile: never translation quality, transcription accuracy, or sync against the video. Fetching and parsing two live files can take up to 60 seconds.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
urlsNoExactly two public caption URLs to compare, in the order they should appear side by side (for example original then translated). Provide either this or files, never both. STRICT RULE: Caption compare failed — provide either two caption URLs or two attached caption files, not both STRICT RULE: Caption compare failed — provide two public caption URLs or attach two caption files
filesNoExactly two caption files attached in chat to compare, in the order they should appear side by side (for example original then translated). Provide either this or urls, never both.
profileNoNamed reading-speed profile applied to both tracks. netflix-adult-20 (default), netflix-children-17, youtube, ebu-tt.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
notesYesNotes about incomplete checks or completion under identical limits
tracksYesThe two tracks in input order
winnerNoTrack with fewer weighted structural, timing, reading-speed, and line-length problems
profileYesReading-speed and line-length profile applied to the caption checks
checkedAtYesISO timestamp when the caption result was produced
comparisonNoMeasured differences between the two successfully preflighted tracks

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false, so the safety profile is covered. The description adds meaningful behavioral context beyond that: SSRF-guarded and 2 MB-capped preflight, alignment by cue index, the specific comparison dimensions (cue-count delta, timing drift, CPS regressions, structural-error deltas), and the explicit non-goals (never translation quality, transcription accuracy, or sync against video). It also discloses the up-to-60-second fetch/parse time. The only minor gap is that it doesn't describe the exact output shape, but an output schema exists.

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 description is dense but well-organized: it front-loads the core purpose and use cases, then the input modes, then the comparison dimensions, then the sibling routing, then the non-goals and latency caveat. Every sentence earns its place, though the long middle sentence listing all comparison dimensions is a bit heavy. It is appropriately sized for a tool with this complexity.

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

Completeness5/5

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

For a comparison tool with an output schema, 100% schema coverage, and read-only annotations, the description is complete. It covers what the tool does, how to provide inputs, what it checks, what it deliberately does not check, the sibling alternative, and the latency expectation. An agent has everything needed to select and invoke it correctly.

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 100%, so the schema already documents all three parameters (urls, files, profile) with detailed descriptions and strict rules. The description adds the ordering semantics ('in the order they should appear side by side') and the profile's role ('applied to both tracks'), but it doesn't add much beyond what the schema already provides. Baseline 3 is appropriate when the schema carries the parameter documentation burden.

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?

The description states a specific verb ('Compare'), a precise resource ('exactly two caption or subtitle files'), and enumerates concrete use cases (original vs translated, before/after timing fix, format migration). It also explicitly distinguishes itself from the sibling caption_check by naming the single-file alternative, so an agent can tell them apart without opening the schema.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description gives explicit when-to-use guidance ('Use caption_check for a single file') and clear input modes (two attached files or two public URLs, never both). It also states the strict either/or rule and the 60-second latency expectation, so the agent knows the operational context before invoking.

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.

Resources