Skip to main content
Glama

flow_extend_or_edit_video

Extend a video scene by 3-10 seconds (up to 30 seconds total) or edit its style, lighting, or objects with a text prompt.

Instructions

Extend a video scene (by 3s-10s, up to 30s cumulative) or edit an existing video's style, lighting, or objects.

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": {
      "prompt": "<prompt>"
    },
    "name": "flow_extend_or_edit_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
modeNoextend
promptYes
durationNo
resolutionNo720p
output_pathNo
strip_audioNo
aspect_ratioNo16:9
source_videoNo
reference_imagesNo
previous_interaction_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.8/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It usefully discloses the duration constraints (3s-10s per extension, 30s cumulative cap), but says nothing about whether source video is required, how previous_interaction_id chains sessions, latency/cost of generation, or what happens to existing audio.

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?

A single compact sentence with the core capability front-loaded and no filler. It is efficient, though the parenthetical duration constraint interrupts the two-mode statement slightly.

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?

An output schema exists, so return values need not be explained, and the duration cap is a helpful addition. However, for a 10-parameter generation tool with zero annotation coverage, the definition leaves too many mode-dependent and path-related parameters unexplained for an agent to call it confidently.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across 10 parameters, so the description must compensate and largely fails. It clarifies only duration bounds and implies the two modes; resolution, aspect_ratio, output_path, strip_audio, reference_images, source_video, and previous_interaction_id receive no explanation anywhere.

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 names a specific verb and resource ('Extend a video scene' / 'edit an existing video') and enumerates the editable dimensions (style, lighting, objects). It is clear what the tool does, but it never distinguishes itself from siblings such as flow_text_to_video or flow_reference_to_video, which also produce video.

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

Usage Guidelines2/5

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

The two modes are implied ('extend' vs 'edit') but the description never says when to pick one over the other, nor does it connect them to the mode parameter or explain when source_video is required. There is no guidance about when to choose this tool over the sibling generation tools.

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