Skip to main content
Glama

Set caption style

set_caption_style
Idempotent

PROJECT-SCOPED: this call acts only on the explicit project_id and returns the project identity with its result. Change how existing captions LOOK without touching their text or timing. Pass only the fields to change: 'make the captions premium' -> {"style":{"motion_look":"editorial"}}, 'calmer/cleaner' -> {"style":{"motion_look":"clean"}}, 'more hype/viral' -> {"style":{"motion_look":"pop"}}, 'big hero words' -> {"style":{"motion_look":"lockup"}} (motion looks are browser-drawn; see add_captions for them and for the preset menu: clean/documentary/broadcast/podcast/beast/karaoke/spotlight/elegant/stacked/.../classic; naming a new preset without motion_look renders that preset, motion_look:null returns to the stored preset), 'make it red' -> {"style":{"color":"#FF0000"}}, 'center the captions' -> {"style":{"position":"middle"}}, 'bigger / more dynamic captions' -> {"style":{"size":"xl","dynamic":true}} (dynamic = legacy karaoke without a preset; presets animate on their own). highlight_color changes the accent of emphasized/spoken words; uppercase forces casing; emphasis_words (top-level arg, with a preset) replaces the emphasized keyword list. An explicit position or anchor_y locks captions there for the whole video and removes any old shot-aware placement track — use this when the user says captions must stop moving. For fine size control that the s|m|l|xl buckets can't hit pass size_scale (0.5-3.0; 1.5 = 50% bigger). Outline, shadow, backing panel, tracking and text alignment are independently editable. For transcript captions, single_line:true overrides any preset stack and guarantees one rendered row per state. Works for from_transcript and manual captions; errors helpfully if no captions exist yet.

Input Schema

NameRequiredDescriptionDefault
styleNo
project_idYesRequired immutable scope for this call. Copy the id from list_projects/open_project/project_state; the active-project pointer is never used to guess.
motion_motifNoActive Blueprint motion motif id this event executes; never 'hold'.
emphasis_wordsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. 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"
      +}
  2. 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"
      +]
  3. First observed

TDQS

A4.9/5.0
Behavior5/5

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

Annotations cover the safety profile (idempotent, non-destructive, write), but the description adds what annotations cannot: the call is project-scoped and returns the project identity, and an explicit position/anchor_y 'removes any old shot-aware placement track' — a real side effect the agent would otherwise not anticipate. Error behavior on missing captions is also disclosed.

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 project-scope constraint and the core purpose, and the arrow examples pack high intent-mapping value per token. However it is a single dense block, and the inline preset enumeration partially duplicates the schema enum, which slightly weakens scannability.

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

Completeness5/5

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

For a mutation tool with no output schema and a deeply nested style object, the description covers scope, return identity, side effects, applicability, and failure behavior — everything an agent needs to invoke it correctly without guessing.

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

Parameters5/5

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

Despite 50% schema coverage on a 24-property nested style object, the description supplies meaning the schema lacks: size_scale's numeric interpretation (1.5 = 50% bigger), single_line's override of preset stacks, dynamic as legacy karaoke, and the roles of highlight_color, uppercase, emphasis_words, and position/anchor_y. The intent-to-parameter mapping examples ('make it red' -> color) directly enable correct invocation.

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?

States a specific verb and resource with explicit scope boundaries: 'Change how existing captions LOOK without touching their text or timing.' The contrast with add_captions (which creates captions and owns the preset menu) makes the distinction from siblings unambiguous even before 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 Guidelines5/5

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

Routes the agent explicitly: motion looks are documented in add_captions, and 'use this when the user says captions must stop moving' names the triggering condition for the position/anchor_y lock. It also states applicability ('works for from_transcript and manual captions') and the failure mode ('errors helpfully if no captions exist yet').

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.