Skip to main content
Glama

video_subtitles_styled

Burn SRT/VTT subtitles into video with custom font, size, color, and outline styling. Embed subtitles directly for consistent playback.

Instructions

Burn subtitles from SRT/VTT with custom styling.

Embeds subtitle file into video with customizable appearance.

Args: input_path: Absolute path to input video. subtitles_path: Absolute path to SRT or VTT file. output_path: Absolute path for output video. style: Optional style dict with font, size, color, outline, etc.

Returns: Dict with success status and output_path.

Input Schema

NameRequiredDescriptionDefault
styleNo
overwriteNoExplicitly allow replacing existing media. Existing non-media files are protected.
input_pathYes
output_pathYes
subtitles_pathYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.16.4
    • addedInput schema / properties / overwrite
      Added value: +{
      +  "default": false,
      +  "description": "Explicitly allow replacing existing media. Existing non-media files are protected.",
      +  "title": "Overwrite",
      +  "type": "boolean"
      +}
  2. Changed1 schema field changedv1.16.0
    • addedInput schema / additionalProperties
      Added value: +false
  3. Addedv1.5.1

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations, the description carries the full disclosure burden. It does not say that burning subtitles is a permanent re-encode of the video, that the source must not already have burned-in captions, or how the overwrite flag behaves (that detail lives only in the schema). Only the return shape is mentioned.

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?

Front-loaded with the core action and structured with Args/Returns blocks. The second sentence ('Embeds subtitle file into video...') largely restates the first, and the Returns block duplicates the existing output schema, but overall it is tight.

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?

Output schema exists, so the Returns section is redundant rather than additive. For a lossy, irreversible mutation tool with zero annotations, the description should say more about overwrite semantics and that the original video is not modified, but is only marginally adequate.

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 coverage is 20%, so the description must compensate. It documents input_path, subtitles_path, output_path, and gives the style dict meaningful content ('font, size, color, outline, etc.'), which goes beyond the generic object schema. However, the overwrite parameter is never mentioned and the style key list ends in 'etc.', leaving real ambiguity.

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?

States a specific verb and resource ('burn subtitles from SRT/VTT with custom styling', 'embeds subtitle file into video'). This clearly separates it from plain subtitle handling, though it never names the obvious sibling video_subtitles or video_generate_subtitles to make the distinction explicit.

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

Usage Guidelines2/5

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

There is no guidance on when to pick this over video_subtitles, video_generate_subtitles, video_translate_captions, or video_add_text. The reader can infer it is the 'styled/burned-in' variant, but nothing about prerequisites, irreversibility, or alternatives is stated.

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