Check caption readability
check_caption_readabilityCheck 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
| Name | Required | Description | Default |
|---|---|---|---|
| max_cps | No | Maximum reading speed, characters per second (spaces count, line breaks do not). Default 17. | |
| min_gap | No | Minimum gap between two captions that are not back to back, in seconds. Default 0.083. | |
| segments | No | Captions to check instead of a file; takes precedence over file_path. | |
| file_path | No | An .srt file to check. Absolute path. Give this or segments. | |
| max_lines | No | Maximum lines per caption. Default 2. | |
| max_duration | No | Maximum time on screen, in seconds. Default 7. | |
| min_duration | No | Minimum time on screen, in seconds. Default 0.833. | |
| only_problems | No | Return only the captions that have warnings. Default false. | |
| max_line_length | No | Maximum characters on one line. Default 42. |