Skip to main content
Glama

Looping idle video

character_video

Animates a finished scene.png into a silent looping idle video clip, with loop, model, duration, and motion options plus dry-run prompt and price preview before paid generation.

Instructions

ONLY on request, after character_scene. Animates scene.png into a silent looping idle clip: Veo 3.1 Fast by default, one 8 s piece that ends on its first frame; Kling makes it from two pieces (see loop), billed as two clips. Before the first video of a scene, a vision model reads what moves in scene.png (about $0.004, kept until the scene is redrawn), unless motion is given. dry_run returns the exact prompt and the price without making the video. Paid: tell the user the price from character_next and wait for a yes.

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": {
      "id": "<id>"
    },
    "name": "character_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYes
loopNoframe (Veo default): one piece whose last frame = first frame; Veo keeps the character moving, Kling freezes everything. chain (Kling default): a free piece from scene.png, then a piece from its last frame back to scene.png, joined without the duplicated frames; two clips of about seconds/2 each, and the second can drift. crossfade: the last second is blended into the first; the seam shows. off: a plain clip. Default frame when start is given.
modelNoDefault from models.json (veo). veo: Veo 3.1 Fast (4/6/8 s; prompt up to 20 000 characters) · kling: Kling O1 (3–10 s; prompt up to 2500) · kling3: Kling 3.0 (3–15 s; also told what must never appear). Veo and Kling 3.0 are also told what must never appear. All silent.
notesNoCorrections for this take, in plain words (e.g. 'his height must read against the ceiling', 'hands stay off the barometer', 'no smoke'). They go first as binding rules and win over the default prompt. Use this to fix a result instead of rewriting the whole prompt.
startNoA first frame instead of scene.png, for one piece (loop frame, crossfade or off): a file name in the character's assets folder or an https URL. With loop frame the piece ends on scene.png.
motionNoWhat in scene.png moves and how, if you can see the picture: one short line per thing, only what is visible, each 'repeats' (turns, sways, flickers) or 'stays still' (could only change one way). Replaces the vision model's reading, free.
promptNoReplaces the default prompt. Name nothing that isn't in the scene, and nothing as a ban: the model draws whatever is named. Breathing, blinking, a habitual gesture; things in the scene move at a steady speed in whole cycles, never backward; the same person throughout; static camera.
dry_runNoReturn the exact prompt, the pieces and the price without making the video.
secondsNoAbout how long the loop runs; default 10. A chain splits it into two pieces, each rounded into the model's range (Kling O1 3–10 s, 5 or 10 without an end frame; Kling 3.0 3–15; Veo 4, 6 or 8), so 10 is 5 + 5 s on Kling O1. dry_run shows the pieces and the price.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changedv0.3.8
    • removedInput schema / properties / audio
      Removed value: -{
      -  "description": "Veo only: default true (sound costs more). Kling has no sound.",
      -  "type": "boolean"
      -}
    • addedInput schema / properties / dry_run
      Added value: +{
      +  "description": "Return the exact prompt, the pieces and the price without making the video.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / loop / description
      Previous value: -"frame (Kling default): last frame = first frame, but the background tends to freeze and the motion can jerk at the seam. crossfade (Veo default; Veo also keeps the first = last frame): the last second is blended into the first, picture and sound, so the seam never jerks. off: plain clip."New value: +"frame (Veo default): one piece whose last frame = first frame; Veo keeps the character moving, Kling freezes everything. chain (Kling default): a free piece from scene.png, then a piece from its last frame back to scene.png, joined without the duplicated frames; two clips of about seconds/2 each, and the second can drift. crossfade: the last second is blended into the first; the seam shows. off: a plain clip. Default frame when start is given."
    • changedInput schema / properties / loop / enum
      Previous value: -[
      -  "frame",
      -  "crossfade",
      -  "off"
      -]New value: +[
      +  "chain",
      +  "frame",
      +  "crossfade",
      +  "off"
      +]
    • changedInput schema / properties / model / description
      Previous value: -"Default from models.json. kling (no sound) · veo (optional native sound; 4/6/8 s)."New value: +"Default from models.json (veo). veo: Veo 3.1 Fast (4/6/8 s; prompt up to 20 000 characters) · kling: Kling O1 (3–10 s; prompt up to 2500) · kling3: Kling 3.0 (3–15 s; also told what must never appear). Veo and Kling 3.0 are also told what must never appear. All silent."
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "kling",
      -  "veo"
      -]New value: +[
      +  "kling",
      +  "kling3",
      +  "veo"
      +]
    • addedInput schema / properties / motion
      Added value: +{
      +  "description": "What in scene.png moves and how, if you can see the picture: one short line per thing, only what is visible, each 'repeats' (turns, sways, flickers) or 'stays still' (could only change one way). Replaces the vision model's reading, free.",
      +  "type": "string"
      +}
    • changedInput schema / properties / notes / description
      Previous value: -"Corrections on top of the default prompt for this take, in plain words (e.g. 'his height must read against the ceiling', 'hands stay off the barometer'). Use this to fix a result instead of rewriting the whole prompt."New value: +"Corrections for this take, in plain words (e.g. 'his height must read against the ceiling', 'hands stay off the barometer', 'no smoke'). They go first as binding rules and win over the default prompt. Use this to fix a result instead of rewriting the whole prompt."
    • changedInput schema / properties / prompt / description
      Previous value: -"Small cyclical motions only: breathing, blinking, a habitual gesture, ambient motion; static camera; returns to the start pose."New value: +"Replaces the default prompt. Name nothing that isn't in the scene, and nothing as a ban: the model draws whatever is named. Breathing, blinking, a habitual gesture; things in the scene move at a steady speed in whole cycles, never backward; the same person throughout; static camera."
    • changedInput schema / properties / seconds / description
      Previous value: -"Default 8: room for one characteristic gesture and a return to the first-frame pose."New value: +"About how long the loop runs; default 10. A chain splits it into two pieces, each rounded into the model's range (Kling O1 3–10 s, 5 or 10 without an end frame; Kling 3.0 3–15; Veo 4, 6 or 8), so 10 is 5 + 5 s on Kling O1. dry_run shows the pieces and the price."
    • changedInput schema / properties / seconds / maximum
      Previous value: -30New value: +15
    • changedInput schema / properties / seconds / minimum
      Previous value: -4New value: +3
    • addedInput schema / properties / start
      Added value: +{
      +  "description": "A first frame instead of scene.png, for one piece (loop frame, crossfade or off): a file name in the character's assets folder or an https URL. With loop frame the piece ends on scene.png.",
      +  "type": "string"
      +}
  2. Changed2 schema fields changedv0.3.3
    • changedInput schema / properties / audio / description
      Previous value: -"Veo only: default true ($0.15/s; $0.10/s without). Kling has no sound."New value: +"Veo only: default true (sound costs more). Kling has no sound."
    • changedInput schema / properties / model / description
      Previous value: -"Default from models.json. kling (Kling O1 Standard ≈$0.084/s, no sound) · veo (Veo 3.1 Fast 720p, native sound $0.15/s or silent $0.10/s, 4/6/8 s)."New value: +"Default from models.json. kling (no sound) · veo (optional native sound; 4/6/8 s)."
  3. First observedv0.3.1

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare openWorldHint=true and destructiveHint=false, so the safety profile is covered. The description still adds genuinely non-obvious behavior: it is a paid call billed per clip, a vision-model pass costs about $0.004 and is cached until the scene is redrawn, and Kling bills twice. However it omits failure/retry behavior and what happens if the character was never drawn.

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-loads the critical constraints (request-only, after character_scene) and every sentence carries operational content. It is dense to the point of terseness in places ('see loop', '8 s', spaced numerals), which costs a little readability but not correctness.

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?

With nine parameters and no output schema, the definition still covers defaults, billing, the dry-run preview output ('the exact prompt and the price'), and the prerequisite chain. The remaining gap is return-shape detail for a real (non-dry) run, e.g. where the clip lands.

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 coverage is 89%, so the schema already documents every parameter in depth, including the loop and model enums. The description adds real meaning only at the margins: it ties `motion` to skipping the vision charge and ties `loop`/`model` to how billing is counted. That is supplementary rather than compensating, so baseline 3.

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 artifact ('Animates scene.png into a silent looping idle clip'), names its prerequisite ('after character_scene') and gates it ('ONLY on request'). The agent can tell this apart from character_scene and character_avatar from the text alone.

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?

Explicit gating ('ONLY on request, after character_scene'), an explicit cost-confirmation protocol ('Paid: tell the user the price from character_next and wait for a yes'), and a named dry-run alternative for previewing. Even the model/loop selection tradeoffs are routed ('Kling makes it from two pieces (see loop), billed as two clips').

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