Skip to main content
Glama

extend_video

Destructive

Add generated footage to the end (or, for some models, the start) of a video (a VerseIn media URL). Spends the user's coins; calls above the confirmation threshold return needs_confirmation with a confirmation_token; ask the user, then call again with it. Returns a task id; follow it with get_tasks. Generating through an AI assistant is charged in VerseIn coins. Unlimited-plan allowances do not apply here.

Input Schema

NameRequiredDescriptionDefault
modelNoextension model key; omit to use the recommended model that fits this video. An invalid key is answered with the valid ones
promptNowhat happens in the added footage (some models require it)
durationNoseconds to add (the model decides which values are allowed)
directionNoextend after the end (end) or before the start (start, few models)
video_urlYesthe video to extend — a VerseIn media URL
request_idNoyour id for this call; retrying with the same id never charges twice. Use a new id to intentionally repeat identical settings
resolutionNooutput resolution, for models that offer a choice
generate_audioNogenerate sound for the added footage, for models that support it
max_total_coinsNothe most this edit may charge: send the exact most the user agreed to (the max_coins of estimate_cost, or total_cost_coins when equal). If the job could now cost more, nothing is submitted and needs_confirmation returns the new price
prompt_expansionNolet the model expand the prompt, for models that support it
confirmation_tokenNothe confirmation_token a needs_confirmation answer returned, passed back once the user agreed to that price

Output Schema

NameRequiredDescriptionDefault
errorNopresent only when the call failed
tasksNo
failedNo
balanceNobalance after submitting
declinedNotrue when the user declined the confirmation form; nothing was submitted or charged
next_actionNo
total_cost_coinsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses that the call spends the user's coins, that calls above a threshold return needs_confirmation, and that unlimited-plan allowances explicitly do not apply. That price-gating and billing context is exactly what an agent needs before invoking a destructiveHint=true operation and is not derivable from the annotations or schema alone.

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 packs the confirmation workflow and billing caveats efficiently with no filler. It is slightly dense in the middle, chaining confirmation steps and the task-id handoff in a single stretch, but every sentence carries operational value.

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 an 11-parameter, non-idempotent, cost-incurring mutation, it covers purpose, confirmation gating, billing limits, and the asynchronous follow-up. Since an output schema exists, the brief 'returns a task id; follow it with get_tasks' is sufficient return-value guidance.

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 100%, so parameter meanings are already fully documented. The description's notes on model defaults, required prompts, and direction are essentially restatements of schema text, adding little beyond the structured fields; 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 and resource ('Add generated footage to the end ... of a video') and pins down the input type (a VerseIn media URL) plus the model-dependent direction nuance. An agent can immediately distinguish this from generate_video and edit_video.

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?

Describes the price-confirmation workflow step by step ('returns needs_confirmation with a confirmation_token; ask the user, then call again with it') and names the follow-up tool (get_tasks). It lacks an explicit comparison to edit_video or generate_video, which is the only missing routing cue among a large sibling set.

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.

Resources