Skip to main content
Glama

generate_video

Generate a video with a selected model, save it to the workspace, and open it in Krita as an animation to paint over, grade, or re-render.

Instructions

Make a video with a video model, save it in the workspace and (by default) open it in Krita as an animation to paint over, grade or re-render. use_canvas=true sends the current picture as the start frame (image-to-video) or, for HeyGen, as the background behind the avatar. backend: heygen (talking avatar: script + avatar_id + voice_id; character='photo' makes the character painted on the canvas talk), openai (Sora), gemini (Veo), replicate / fal (any video model id). camera = a cinematic camera move written into the prompt: dolly_in, dolly_out, push_in, pull_back, crash_zoom, pan_left/right, tilt_up/down, orbit_left/right, crane_up/down, handheld, fpv_drone, whip_pan, bullet_time, ken_burns, static. style = a look (cinematic, photo, anime, ... as in generate_image). Generation can take several minutes. (No video model? camera_move animates the picture locally.)

Input Schema

NameRequiredDescriptionDefault
pathNo
extraNo
modelNo
styleNo
widthNo
cameraNo
heightNo
promptNo
scriptNo
backendNo
secondsNo
voice_idNo
avatar_idNo
characterNoavatar
max_framesNo
use_canvasNo
negative_promptNo
import_into_kritaNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations, the description carries the full burden and does disclose meaningful behavior: the result is saved to the workspace, optionally imported into Krita as an animation layer stack, and 'Generation can take several minutes' warns about long latency. It does not say what is returned (path? document handle?), what happens on backend failure, or whether partial artifacts are left behind.

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 core action and side effects in the first sentence, then uses compact labeled fragments for backend, camera and style. The parenthetical asides and trailing '(No video model? ...)' note make it denser than ideal, but nearly every clause carries distinct information.

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 an 18-parameter generative tool with no annotations and no output schema, the description covers the workflow and backend routing well but omits return values, resolution/duration parameter behavior (width, height, seconds, max_frames) and the meaning of path/extra. An agent could call it with defaults but would be guessing on several knobs.

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 description coverage is 0% across 18 parameters, so the description must compensate, and it does for the high-ambiguity ones: backend, use_canvas, camera (full enumerated list of moves), style, character, model. However path, extra, width, height, seconds, max_frames and negative_prompt are never explained, leaving roughly half the surface undocumented.

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 ('Make a video with a video model') plus the full lifecycle: saved in the workspace and by default opened in Krita as an animation. It also differentiates itself from siblings by naming camera_move as the local no-model alternative and by referencing generate_image semantics for style.

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

Usage Guidelines4/5

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

Gives concrete selection rules: use_canvas=true means image-to-video for most backends and background-behind-avatar for HeyGen, and per-backend requirements (heygen needs script + avatar_id + voice_id; replicate/fal need a model id). The fallback 'No video model? camera_move animates the picture locally' names an alternative with its condition, but there is no explicit statement of when not to use this tool (e.g. cost/quality tradeoffs vs. render_video or import_video).

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