Skip to main content
Glama

add_text_overlay

Add a text overlay to the video timeline. Use a presetId to auto-apply a preset style (cinematic-title, lower-third, subtitle, chapter-card, quote, social, breaking-news, credits-roll), or provide custom textConfig. The text field overrides the preset default text. Auto-creates an overlay track if none exist.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
exitNoExit animation
sizeNoNormalized overlay size; overrides width/height if provided
textYesThe text to display
colorNoText color as hex (e.g. #FFFFFF) or rgba (overrides preset)
enterNoEntrance animation
widthNoWidth (normalized 0–1 of canvas). Uses preset default if not specified.
borderNoOverlay item border styling
editIdYesThe edit ID
heightNoHeight (normalized 0–1 of canvas). Uses preset default if not specified.
shadowNoOverlay item drop shadow
opacityNoOverall opacity 0–1 (default 1)
trackIdNoOverlay track ID (auto-creates a track if not provided)
durationNoHow long to show the text (seconds, uses preset default if not specified)
fontSizeNoFont size in points (overrides preset)
positionNoNormalized center position; overrides positionX/positionY if provided
presetIdNoText preset ID (cinematic-title, lower-third, subtitle, chapter-card, quote, social, breaking-news, credits-roll). Provides default styling, animation, and position.
rotationNoRotation in degrees
fontStyleNoFont style (overrides preset)
keyframesNoTransform keyframes relative to item start
positionXNoHorizontal position (0 = left, 0.5 = center, 1 = right). Uses preset default if not specified.
positionYNoVertical position (0 = top, 0.5 = center, 1 = bottom). Uses preset default if not specified.
startTimeNoWhen to show the text overlay (seconds from edit start)
textAlignNoText alignment
fontFamilyNoFont family (overrides preset). Available: Inter, Outfit, Playfair Display, Bebas Neue, Roboto Mono
fontWeightNoFont weight as 100-900, normal, or bold (overrides preset)
lineHeightNoLine-height multiplier
lineStylesNoPer-line style overrides keyed by zero-based line index
textConfigNoFull TextEffectConfig override/extension
strokeColorNoText stroke/outline color
strokeWidthNoText stroke/outline width
workspaceIdYesThe workspace ID
borderRadiusNoOverlay item corner radius in 720p logical pixels
letterSpacingNoLetter spacing in points
textAnimationNoPer-character/word/line text animation
textShadowBlurNoText shadow blur radius
backgroundColorNoText background color
textShadowColorNoText shadow color
textShadowOffsetXNoText shadow horizontal offset
textShadowOffsetYNoText shadow vertical offset
backgroundPaddingXNoText background horizontal padding
backgroundPaddingYNoText background vertical padding
backgroundBorderRadiusNoText background corner radius

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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 carries the full burden. It usefully discloses the auto-creation of an overlay track and the preset/text override precedence, but says nothing about permissions, failure behavior, or what is returned for a mutation of this size.

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?

Four tight sentences, front-loaded with the core action and then the preset/custom choice and the track side effect. No filler, though the parenthetical preset list is dense.

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?

For a 42-parameter mutation with no annotations and no output schema, the description covers the primary workflow adequately since the schema documents all parameters. It is still thin on behavior (no return value, no permissions/error context) given the complexity.

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 100%, so the baseline is 3, but the description adds genuine meaning the schema lacks: the presetId-to-style mapping, the fact that text overrides the preset default text, and the presetId-or-textConfig alternative. That interaction between parameters is not expressed anywhere in the schema.

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 ('Add a text overlay to the video timeline'), which clearly separates it from media/audio/remotion overlay siblings. It does not name a sibling explicitly (e.g. add_media_overlay), so it stops short of the 5-level differentiation.

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?

It gives the two invocation routes (presetId vs custom textConfig) and enumerates the preset IDs, which is helpful. However it never states when to use this tool versus siblings like add_media_overlay, update_overlay_item, or add_overlay_track, and gives no exclusions or prerequisites.

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.

Resources