Skip to main content
Glama
lawriec
by lawriec

embed_subtitles

Embed subtitle files as selectable soft tracks inside video containers (mp4, mkv, mov) without altering the video frames. Supports SRT, VTT, and ASS subtitle formats.

Instructions

Embed a subtitle file as a soft subtitle track inside a video container (the subtitles are selectable but not burned into the video frames). Supports mp4, mkv, and mov output.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_pathYesAbsolute path to the input video file
output_pathNoAbsolute path for the output file. Defaults to same directory with '_subtitled' suffix.
output_formatNoOutput container format: mp4, mkv, or mov. Defaults to same format as input.
subtitle_pathYesAbsolute path to the subtitle file (.srt, .vtt, or .ass)
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It openly explains that subtitles are soft and selectable, not burned into frames, and lists supported output formats. It does not cover output file creation or error scenarios, but the core behavior is transparently described.

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 exceptionally concise: one sentence for the core action with a parenthetical clarifying the soft-subtitle nature, and a second sentence listing supported formats. Every word adds value, and no information is repeated unnecessarily.

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?

The description, paired with the rich schema, covers the tool's purpose and key constraints. However, because there is no output schema and no annotations, the description omits the return value and whether a new file is created or the input is modified. These gaps reduce completeness for an agent that needs to predict tool behavior.

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 schema already covers all 4 parameters with clear descriptions (100% coverage), so the baseline is 3. The tool description adds no meaningful parameter semantics; it merely repeats the format support already present in the output_format parameter description.

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 identifies the tool's function: 'Embed a subtitle file as a soft subtitle track inside a video container'. The verb 'Embed' and the resource 'subtitle file' are specific, and the parenthetical 'selectable but not burned into the video frames' distinguishes it from burned-subtitle tools like burn_subtitles.

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 provides clear context on when to use the tool (when selectable soft subtitles are needed) and contrasts it with burned-in subtitles, effectively communicating the use case. However, it does not explicitly name an alternative tool or provide 'when not to use' guidance, which would be needed for a perfect score.

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