Skip to main content
Glama

Generate a scene video

generate_scene_video
Destructive

The clip of a scene, with its dialogue spoken by the video model (lip-synced, in the drama language) and on-set sound; music is added at render. References are picked for you: the selected keyframe, the cast's portraits, the location plate, props, and, on models that take them, each speaker's voice sample. Every source picture must exist first (each cast portrait, the location plate, each prop image, and the key visual unless key_visual is direct): otherwise MISSING_ASSETS lists them. The clip length is the scene duration fitted to the model. start_from: "auto" (keyframe as first frame unless voice samples are sent), "keyframe", or "references". Check the prompt first with get_scene. The most expensive step: Costs credits (see estimate_cost); the result arrives as a take: poll with get_jobs or wait_for_jobs.

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": {
      "scene_id": "<scene_id>"
    },
    "name": "generate_scene_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelNoA model id from list_models; omitted = the drama's default for this kind
notesNoExtra direction for this generation only (not saved to the story)
scene_idYesThe scene id (scn_…), from get_episode.
resolutionNoOne of the model's resolutions (list_models); default the drama's or the model's
start_fromNo"auto" (default) uses the scene's key visual when it has one, else the references; "keyframe" or "references" forces one.auto
idempotency_keyNoAny unique string you choose; resending the same key returns the first job instead of paying twice
duration_secondsNoOverride the scene duration for this clip (6–15 s)

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Annotations only say it is a non-read-only, destructive, open-world call; the description adds the operationally important facts: it is the most expensive step and consumes credits, execution is asynchronous (result arrives as a take, poll via get_jobs or wait_for_jobs), and a named failure mode (MISSING_ASSETS) with its cause. That is exactly the context annotations cannot convey.

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?

Highly front-loaded: the first clause tells you what the output is, then prerequisites, then the expensive/async warning. It is dense and slightly run-on with stacked colons and parentheticals, but virtually every clause carries operationally useful information rather than restating the name.

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

Completeness5/5

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

For a costly, asynchronous, asset-dependent generation step, the description covers prerequisites, automatic reference selection, start_from modes, cost, and the polling path; return shape is covered by the output schema. Nothing an agent needs before invoking it appears to be missing.

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?

With 100% schema coverage the baseline is 3, but the description goes further on start_from by explaining the auto behavior in terms of voice samples being sent and by enumerating which references get picked automatically (keyframe, portraits, location plate, props, voice samples). It also frames duration as the scene duration fitted to the model, adding meaning beyond the bare 6-15 s schema bound.

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?

The description defines the artifact precisely: a scene clip with lip-synced dialogue in the drama language plus on-set sound, with music deferred to render. That distinguishes it implicitly from siblings like generate_scene_frame and generate_music, though it never states a verb such as 'generates' and relies on the title to supply one.

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?

It gives real preconditions (every source picture must exist first, else MISSING_ASSETS) and routes the agent elsewhere for two adjacent steps: 'Check the prompt first with get_scene' and 'see estimate_cost' for pricing. It does not state when NOT to use it or contrast it against a cheaper alternative path, so it stops short of full when/when-not guidance.

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.