Skip to main content
Glama

add_media_overlay

Add an image or video media overlay to the edit timeline with precise transform, border radius, border, shadow, clipping, speed ramp, volume, animations, and keyframes.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
exitNoExit animation, or null to remove
sizeNoNormalized overlay size
typeYesOverlay media type
enterNoEntrance animation, or null to remove
widthNoLegacy shorthand for size.width
borderNoBorder styling, or null to remove
editIdYesThe edit ID
heightNoLegacy shorthand for size.height
shadowNoMedia overlay drop shadow, or null to remove
volumeNoVideo overlay audio volume
clipEndNoVideo overlay source trim end in seconds
mediaIdYesWorkspace MediaDocV2 ID to use as the overlay source
opacityNoOpacity from 0 to 1
trackIdNoOverlay track ID (auto-creates a track if not provided)
durationNoTimeline duration in seconds
positionNoNormalized overlay position
rotationNoRotation in degrees
clipStartNoVideo overlay source trim start in seconds
keyframesNoTransform keyframes relative to item start
positionXNoLegacy shorthand for position.x
positionYNoLegacy shorthand for position.y
speedRampNoVariable speed curve for video overlays
startTimeNoTimeline start time in seconds
workspaceIdYesThe workspace ID
borderRadiusNoCorner radius in 720p logical pixels
playbackSpeedNoFlat playback speed for video overlays

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.1/5.0
Behavior2/5

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

With no annotations, the description carries the full burden but discloses no side effects, permissions, or behavioral traits. It does not mention that a track is auto-created (per schema), nor what happens to existing overlays, how mutations are reversible, or any auth requirements.

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?

A single sentence that front-loads the core purpose and then enumerates capabilities. It is efficient and contains no filler, though the long feature list is a minor detraction from crispness.

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?

For a 26-parameter mutation tool with nested objects, no annotations, and no output schema, the description is far too thin. It should cover required parameters, track auto-creation, side effects, and return behavior, but only lists high-level feature categories.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3. The description enumerates feature categories (transform, border radius, shadow, etc.) but adds no syntax, defaults, or meaning beyond what the schema already provides for each parameter.

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 ('Add') and resource ('image or video media overlay') scoped to the 'edit timeline'. It clearly distinguishes itself from siblings like add_text_overlay, add_audio_track, and add_remotion_overlay by specifying the media type.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

Provides no when-to-use guidance, no alternatives, and no prerequisites. It lists capabilities but never says when to choose this tool over add_text_overlay or add_remotion_overlay.

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