Skip to main content
Glama

Add captions

add_captions

Creates burned-in captions from the word-timed transcript or explicitly supplied text items with source timestamps, or disables captions. Styling supports named presets and detailed presentation parameters.

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

Input Schema

NameRequiredDescriptionDefault
modeNo
itemsNo
styleNo
project_idYesExplicit project identifier for this request. The connection's navigation pointer does not select the target.
motion_motifNoActive Blueprint motif id this event executes; never 'hold'.
emphasis_wordsNo
max_words_per_captionNo
min_words_per_captionNoPreferred minimum for static phrase presets such as clean; QA flags unavoidable fragments.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / motion_motif / description
      Previous value: -"Active Blueprint motion motif id this event executes; never 'hold'."New value: +"Active Blueprint motif id this event executes; never 'hold'."
  2. Changed1 schema field changed
    • removedInput schema / properties / style / properties / anchor_x
      Removed value: -{
      -  "maximum": 1,
      -  "minimum": 0,
      -  "type": "number"
      -}
  3. Changed1 schema field changed
    • addedInput schema / properties / style / properties / anchor_x
      Added value: +{
      +  "maximum": 1,
      +  "minimum": 0,
      +  "type": "number"
      +}
  4. Changed1 schema field changed
    • changedInput schema / properties / project_id / description
      Previous value: -"Required immutable scope for this call. Copy the id from list_projects/open_project/project_state; the active-project pointer is never used to guess."New value: +"Explicit project identifier for this request. The connection's navigation pointer does not select the target."
  5. Changed3 schema fields changed
    • addedInput schema / properties / style / properties / leading / maximum
      Added value: +2.2
    • addedInput schema / properties / style / properties / leading / minimum
      Added value: +0.5
    • addedInput schema / properties / style / properties / motion_look
      Added value: +{
      +  "description": "Browser-drawn caption look, the default for short-form/podcast/premium: editorial = bold sans + big serif-italic emphasis word, hard pops; clean = calm sentence case rising from a blur; lockup = small caps over one huge hero word; pop = outlined hype punches; box = gliding highlight pill; serif = gold serif-italic emphasis; glow = karaoke; stack = giant condensed hero; mono = typewriter. null = presets.",
      +  "enum": [
      +    "editorial",
      +    "clean",
      +    "lockup",
      +    "pop",
      +    "box",
      +    "serif",
      +    "glow",
      +    "stack",
      +    "mono"
      +  ],
      +  "type": "string"
      +}
  6. Changed1 schema field changed
    • changedInput schema / properties / style / properties / preset / enum
      Previous value: -[
      -  "clean",
      -  "documentary",
      -  "broadcast",
      -  "retro",
      -  "neon",
      -  "podcast",
      -  "reels",
      -  "beast",
      -  "karaoke",
      -  "elegant",
      -  "spotlight",
      -  "stacked",
      -  "iridescent",
      -  "chrome",
      -  "editorial",
      -  "fashion",
      -  "luxe",
      -  "impact",
      -  "lyric",
      -  "classic"
      -]New value: +[
      +  "composed",
      +  "clean",
      +  "documentary",
      +  "broadcast",
      +  "retro",
      +  "neon",
      +  "podcast",
      +  "reels",
      +  "beast",
      +  "karaoke",
      +  "elegant",
      +  "spotlight",
      +  "stacked",
      +  "iridescent",
      +  "chrome",
      +  "editorial",
      +  "fashion",
      +  "luxe",
      +  "impact",
      +  "lyric",
      +  "classic"
      +]
  7. First observed

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare write (readOnly=false), non-idempotent, non-destructive. The description adds genuinely useful non-schema facts: captions are burned into the video rather than stored as a track, and the same tool disables captions. It omits what happens on repeat calls despite idempotentHint=false, and says nothing about permissions or overwrite behavior on existing captions.

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?

Two sentences, front-loaded with the core action and scoping, no filler. The second sentence is thin but not wasteful.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a complex mutation tool: 8 parameters, a deeply nested style object with ~27 properties, no output schema, and low schema coverage. The description does not explain the mode-dependent semantics (items required only in explicit mode?), styling precedence between preset and individual fields, or what the caller gets back.

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 description coverage is only 38%, but the description contributes almost nothing at the parameter level. 'mode', 'items', 'style.preset', 'emphasis_words', min/max words per caption, and 'motion_motif' are all left to the schema, where most have no description at all. The single mention of presets and presentation parameters does not compensate for the gap.

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 ('Creates burned-in captions') and enumerates the input sources (word-timed transcript vs. explicitly supplied timestamped items) plus the disable path. This is enough to distinguish it from sibling text/overlay tools, though no sibling is named explicitly.

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?

Implies two data paths (transcript-derived vs. explicit items) and an off-switch, which hints at usage. However, it never states when to prefer one path over the other, what 'mode' accepts, or when to use audit_captions instead. Guidance is implied rather than explicit.

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.