Skip to main content
Glama

Add captions to a video

add_captions

Use to burn word-by-word captions onto a video (TikTok style). Pass words (from generate_speech) or let Typeshoot transcribe the speech. 6 credits a minute (min 2), plus ~2 a minute to transcribe. style bold (pop, 1-2 words) or clean.

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": {
      "video": "<video>"
    },
    "name": "add_captions"
  }
}

Input Schema

NameRequiredDescriptionDefault
styleNobold
videoYesA media_id, a library asset id or url, or a video link.
wordsNo[{word, start, end}] timings, if you have them.
positionNoHeight, 0 top to 1 bottom.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only declare that this is a non-read-only, non-idempotent, non-destructive open-world call. The description adds genuinely new behavior: automatic transcription when words are absent, and the pricing model (6 credits/min with a 2-credit minimum, plus ~2/min for transcription), which matters for an agent deciding whether to supply timings itself.

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?

Three sentences, each carrying distinct information: purpose, input sourcing, and cost/style. The purpose is front-loaded and the style enum is summarized at the end where it is most useful.

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?

Cost, transcription fallback, word sourcing, and style semantics are covered, but there is no output schema and the description never says what the call returns or whether it is asynchronous — notable given a check_job sibling exists. An agent can call this correctly but cannot tell how to retrieve the finished captioned video.

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

Parameters4/5

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

Schema coverage is 75%, so the baseline is 3, but the description adds real meaning: the words array is tied to generate_speech output, and "bold" is explained as pop-style single/double words versus "clean". Only position goes unexplained beyond the schema, which is a minor gap at this coverage level.

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?

"Burn word-by-word captions onto a video (TikTok style)" gives a specific verb, resource, and output format, and the note that words can come from generate_speech distinguishes the input source from the sibling that produces them. An agent can tell exactly what this tool produces without opening the schema.

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 states the two operating modes clearly: pass pre-computed word timings, or let Typeshoot transcribe the audio. That is actionable context for choosing an invocation path. It stops short of naming when to prefer one mode or pointing to an alternative tool, so it does not reach 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.