Skip to main content
Glama

Ken Burns effect

ken_burns

Add slow zoom or pan motion to a whole clip, usually a still: first scale it to fill the frame, then animate zoom or pan direction with easing so no borders appear.

Instructions

Add a slow zoom/pan across the whole clip (Ken Burns), typically for stills. The clip is first scaled to fill the frame, then animated: zoom_in / zoom_out change scale by amount percent around the centre; pan_left / pan_right / pan_up / pan_down zoom in by amount and slide across the extra margin so no border ever shows. Replaces the clip's Position and Scale keyframes. Returns the keyframes.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ken_burns"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountNoExtra zoom over the fill scale, in percent. Default 15.
easingNoSpeed curve of the move. "linear" (default): constant speed. "ease_in": starts slowly and speeds up. "ease_out": starts fast and slows into the end value. "ease_in_out": slow at both ends. "hold": keeps the start value, then jumps to the end value at the end time.
clip_idNoStable clip id (from get_sequence_structure / list_clips). Preferred.
directionNoMove to make. Default "zoom_in". pan_left moves the picture leftwards.
clip_indexNo0-based index of the clip in its track's clip list, as reported by list_clips / get_sequence_structure. Usually time order, but a moved clip can keep its old index, and indices shift after edits: prefer clip_id.
track_typeNoUsed with track_index + clip_index when clip_id is not given. Default "video".
sequence_idNoStable sequence id (from list_sequences). Omit to use the active sequence.
track_indexNo0-based track index (0 = V1 or A1).
sequence_nameNoSequence name; used only when sequence_id is not given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.9/5.0
Behavior4/5

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

Goes beyond the annotations by disclosing a genuinely important side effect: existing Position and Scale keyframes are replaced, and the tool returns the keyframes it created. That is exactly the kind of overwrite warning annotations (readOnlyHint=false, destructiveHint=false) do not convey. It stays short of stating permissions, undo, or failure modes, but the mutation contract is clear.

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 tight sentences with the purpose front-loaded, followed by the mechanics and then the side effect. No filler and no repetition of schema content that does not need restating.

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

Completeness4/5

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

For a 9-parameter, all-optional tool with no output schema, the description covers what it does, how the animation resolves, and what it returns. Clip targeting (clip_id vs track_index/clip_index) and sequence resolution are handled by the schema, so no agent-facing gap is left for the core call.

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 baseline is 3, but the description adds a mental model the schema lacks: the clip is first scaled to fill the frame, then amount percent zoom is applied around the centre, and pans intentionally overshoot into the extra margin so no border shows. That explains why pan directions also zoom, which an agent would otherwise misread from the enum alone.

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 concrete verb and resource: add a slow zoom/pan (Ken Burns) across the whole clip, with the specific move set (zoom_in/zoom_out, pan_left/right/up/down) named. The animation model (fill-scale first, then move) is spelled out. It lacks an explicit contrast with nearby siblings like apply_transform_effect or add_keyframes, so an agent must infer which to prefer.

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?

"typically for stills" gives a light usage signal, and the opening scope "across the whole clip" implicitly excludes per-keyframe work. However, no alternative tool is named and no when-not condition is stated, so the routing decision between this and the keyframe/transform siblings is left to inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools