Skip to main content
Glama

Check caption readability

check_caption_readability
Read-onlyIdempotent

Check captions against subtitle readability rules for reading speed, line length, line count, duration, gaps, and overlaps, using segments or an .srt file to flag problem captions.

Instructions

Check captions against common subtitle rules: reading speed (characters per second), line length, number of lines, minimum and maximum time on screen, gaps and overlaps between captions. Give either segments or the file_path of an .srt file. Returns options used, total, with_warnings, counts per issue, max_cps_found and captions: index, start, end, duration, chars, cps, lines, longest_line, gap_before and warnings ({issue, message}). only_problems=true lists only captions with warnings. Works without Premiere.

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

Input Schema

NameRequiredDescriptionDefault
max_cpsNoMaximum reading speed, characters per second (spaces count, line breaks do not). Default 17.
min_gapNoMinimum gap between two captions that are not back to back, in seconds. Default 0.083.
segmentsNoCaptions to check instead of a file; takes precedence over file_path.
file_pathNoAn .srt file to check. Absolute path. Give this or segments.
max_linesNoMaximum lines per caption. Default 2.
max_durationNoMaximum time on screen, in seconds. Default 7.
min_durationNoMinimum time on screen, in seconds. Default 0.833.
only_problemsNoReturn only the captions that have warnings. Default false.
max_line_lengthNoMaximum characters on one line. Default 42.

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?

Annotations already declare readOnlyHint/idempotentHint/destructiveHint=false, so the safety profile is covered. The description adds genuinely useful context beyond them: it does not require a running Premiere host, it documents default thresholds for each rule, and it discloses the shape of the result. It omits any mention of performance limits on large inputs (segments capped at 20000).

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 rule set is front-loaded in the first sentence, followed by input options, then the return shape, then the only_problems modifier and the environment note — a sensible ordering. The return-value enumeration is a long, comma-spliced run-on that is harder to scan than a short list, which costs it the top score.

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?

With 9 parameters, no output schema, and no required fields, the description does the work of explaining the default thresholds and the returned fields (cps, longest_line, gap_before, warnings) so an agent can interpret results. It is only missing explicit sibling routing and any note on large-input behavior, which keeps it from 5.

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%, with defaults, units and bounds all documented in-schema, so the baseline is 3. The description restates the rule set and the segments-vs-file_path precedence (which the schema also states) but adds no new syntax or format detail beyond that. It neither helps nor misleads.

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+resource ('Check captions against common subtitle rules') and enumerates the exact rule families validated: reading speed, line length, line count, min/max duration, gaps and overlaps. An agent knows precisely what the tool computes. It stops short of differentiating itself from similarly-scoped siblings such as check_delivery_spec, so it lands at 4 rather than 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?

It gives clear input-mode guidance ('Give either segments or the file_path of an .srt file') and explains the only_problems switch, plus the important environmental note 'Works without Premiere.' However, there is no guidance on when to prefer this over check_delivery_spec or other validation tools, and no statement of when not to use it.

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