Skip to main content
Glama
lawriec
by lawriec

extract_subtitles

Extract subtitle tracks from video files and save them as standalone subtitle files in SRT, VTT, or ASS formats.

Instructions

Extract a subtitle track from a video file and save it as a standalone subtitle file.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesAbsolute path to the input video file
output_pathNoAbsolute path for the output subtitle file. Defaults to same directory with '_subtitles' suffix.
stream_indexNoZero-based index of the subtitle stream to extract (default 0 = first subtitle track)
output_formatNoSubtitle format: srt, vtt, or ass. Defaults to srt.
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure, but it only states the core action. It does not mention potential failure modes (e.g., missing subtitle track), prerequisites, or that the input video is not modified. The description adds no deeper behavioral context.

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?

The description is a single, well-structured sentence that immediately states the tool's action and result. It contains no redundant information and is easy to parse.

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?

Given the lack of annotations and output schema, the description is only minimally complete. It does not explain error behavior, default naming conventions (though schema covers some), or how extraction interacts with other tools. It is adequate for a simple operation but lacks richer context.

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?

The input schema provides 100% coverage of all four parameters with clear descriptions, so the description itself adds no additional parameter semantics. Baseline 3 is appropriate because the schema already handles parameter clarity.

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 clearly states the tool extracts a subtitle track from a video and saves it as a standalone file. This specific verb+resource combination distinguishes it from sibling tools like extract_audio, burn_subtitles, and embed_subtitles.

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?

The description implies the tool is used when subtitles need to be extracted as a separate file, but it does not explicitly mention alternatives or when not to use it. Sibling tools like burn_subtitles have different purposes, yet no comparative guidance is provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/lawriec/mcp-video-reader'

If you have feedback or need assistance with the MCP directory API, please join our Discord server