Skip to main content
Glama

Subtitle Toolkit

text_to_subtitles

Turn a plain transcript (one line per caption) into an SRT file with evenly spaced timecodes. Timing is a starting point, not a real transcription — say so when you present the result.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
contentYesPlain text, one caption per line. Blank lines are skipped.
start_secondsNoTimecode of the first cue, in seconds. Default 0.
duration_secondsNoSeconds each cue stays on screen. Default 2.5.
max_chars_per_cueNoSplit longer lines into several cues at word boundaries. Default 0 = never split.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden. It discloses the key behavioral trait: timing is evenly spaced and not real transcription, and instructs the agent to communicate this to the user. It also mentions that blank lines are skipped and that long lines can be split, which are useful behavioral details. It doesn't mention output encoding or whether the SRT is returned as a string or file, but the core caveat is well covered.

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 sentences, front-loaded with the main action and the critical caveat. Every word earns its place; no fluff or repetition of schema details.

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?

For a simple conversion tool with 100% schema coverage and no output schema, the description covers the essential behavior and the important caveat about timing. It could mention what the output looks like (e.g., SRT content returned as a string) but the absence of an output schema makes that less critical. The sibling list shows related tools, and the description's caveat helps distinguish it from retime_subtitles.

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 four parameters. The description adds context about the overall behavior (evenly spaced timecodes) but doesn't add per-parameter meaning beyond the schema. Baseline 3 is appropriate.

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 ('Turn'), a clear resource ('plain transcript' → 'SRT file'), and the key behavior (evenly spaced timecodes). It also distinguishes itself from real transcription tools by explicitly saying timing is a starting point, which helps differentiate it from siblings like retime_subtitles or convert_subtitle.

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

Usage Guidelines4/5

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

The description clearly implies when to use this tool: when you have a plain transcript and need an SRT with placeholder timing. It also tells the agent to disclose the synthetic timing when presenting results. However, it doesn't explicitly name alternatives or state when NOT to use it (e.g., when real timing is needed), so it falls just short of a 5.

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