Skip to main content
Glama

Burn subtitles

burn_subtitles

Render .srt or .ass subtitle files permanently into a video as hard subs, with optional font, size, and color styling for SRT.

Instructions

Render an .srt or .ass subtitle file permanently onto the video (hard subs). Use force_style for SRT to tweak font/size/color (libass syntax, e.g. "FontName=Arial,FontSize=24").

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "input": "<input>",
      "subtitles": "<subtitles>",
      "output": "<output>"
    },
    "name": "burn_subtitles"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYesPath to the source video.
outputYesPath for the subtitled output video.
overwriteNoOverwrite the output file if it already exists.
subtitlesYesPath to the .srt or .ass subtitle file.
forceStyleNolibass style overrides for SRT, e.g. "FontSize=24,PrimaryColour=&H00FFFF&".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.5/5.0
Behavior3/5

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

With no annotations, the description usefully discloses the central behavioral trait: subtitles are permanently rendered into the video rather than attached as a switchable track. It gives little further operational context, such as whether the source remains unchanged or that rendering may require re-encoding, though the schema separately documents output and overwrite behavior.

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 compact sentences front-load the operation, supported formats, and permanent result, then immediately cover optional styling with a concrete example. There is no filler or unnecessary structural overhead.

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 simple, flat, fully documented schema plus the hard-subs explanation covers most selection needs. However, the incorrect parameter identifier undermines reliable invocation, and the absence of annotations or additional operational context leaves some behavioral gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, and the styling explanation mostly duplicates the existing forceStyle documentation and example. More seriously, the description calls the option force_style while the accepted input property is forceStyle, which could cause an agent to supply an invalid parameter.

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?

The description gives a specific action and resource: rendering an .srt or .ass file onto video as permanent hard subtitles. The hard-subs wording clarifies the result, but there is no explicit differentiation from siblings such as auto_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?

It provides clear usage context for permanently embedding subtitles and for optionally adjusting SRT font, size, and color. It does not explain when soft subtitles or another sibling workflow would be preferable, but the intended use is otherwise easy to infer.

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