Skip to main content
Glama

generate_shot_video

Generate a video for one existing edit shot and attach the queued media to that shot immediately. Use this for project and timeline builds. It preserves the shot still as the source frame, replaces the prior primary video reference, and keeps the result inside the edit instead of presenting it as standalone media.

Input Schema

NameRequiredDescriptionDefault
modelNoVideo model ID. Uses the edit default when omitted.
editIdYesThe edit ID
promptNoMotion prompt. Defaults to the shot videoPrompt when omitted.
shotIdYesThe shot that should receive the generated video
volumeNoAttached shot-video volume. Keep 0 when narration or a separate mix owns the audio.
durationNoGenerated source duration in seconds, chosen independently of the final trimmed timeline duration. Use supported model settings and set source trims with update_shot.
resolutionNoOutput resolution supported by the selected model, for example 720p or 1080p.
aspectRatioNoAspect ratio. Uses the edit default when omitted.
workspaceIdYesThe workspace ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / duration / description
      Previous value: -"Generated source duration in seconds. It must cover the shot editorial duration."New value: +"Generated source duration in seconds, chosen independently of the final trimmed timeline duration. Use supported model settings and set source trims with update_shot."
  2. First observed

TDQS

A4.3/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and delivers: it discloses that it replaces the prior primary video reference, preserves the shot still as source frame, and keeps output inside the edit. These are meaningful state-change behaviors beyond what the schema states.

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?

Three sentences, front-loaded with the core action and scope, with zero filler. Could drop 'immediately' as redundant but otherwise efficient.

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 mutation tool with no annotations and no output schema, the description covers purpose, scoping, and critical side effects (replaces prior reference, preserves source frame). It omits mention of permissions or error conditions, which would round it out.

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 schema already documents all parameters thoroughly, including model defaults, prompt defaults, and volume guidance. The description adds no parameter-specific detail beyond what the schema provides; baseline 3 applies.

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+resource ('Generate a video for one existing edit shot and attach the queued media to that shot immediately') and distinguishes itself from standalone siblings like generate_video by emphasizing attachment into the edit.

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?

Explicitly scopes usage with 'Use this for project and timeline builds' and notes the result stays inside the edit rather than standalone media, but doesn't name the alternative tool (generate_video) for creating standalone video.

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.