Skip to main content
Glama

edit_video

Destructive

Edit a video (a VerseIn media URL) from a text instruction, optionally guided by reference images or videos (VerseIn media URLs). Spends the user's coins: the price depends on the length; 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. Never use it to swap faces or to put a real person's face or identity onto someone else; such requests are refused. Generating through an AI assistant is charged in VerseIn coins. Unlimited-plan allowances do not apply here.

Input Schema

NameRequiredDescriptionDefault
modelNovideo edit model key; omit for the default. An invalid key is answered with the valid ones
promptNothe edit to make (some models require it)
video_urlYesthe video to edit — 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 (the model decides which values are allowed)
aspect_ratioNooutput aspect ratio (the model decides which values are allowed)
generate_audioNogenerate sound, for models that support audio (default on for those models)
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
confirmation_tokenNothe confirmation_token a needs_confirmation answer returned, passed back once the user agreed to that price
reference_image_urlsNoreference images — VerseIn media URLs
reference_video_urlsNoadditional reference videos — VerseIn media URLs

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
Behavior3/5

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

Adds real context beyond the annotations — coin cost tied to length, the needs_confirmation/confirmation_token round-trip with the user, an async task-id return, and a hard refusal policy for face/identity edits. However it omits the request_id idempotency guarantee documented in the schema, which sits in tension with the idempotentHint: false annotation and would have been valuable at the description level for a destructive, non-idempotent, charged operation.

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?

Five front-loaded sentences and every one carries decision-relevant content. The coin-charging point is stated twice in slightly different words ('Spends the user's coins' and 'charged in VerseIn coins… Unlimited-plan allowances do not apply'), which is minor redundancy rather than bloat.

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, costly, asynchronous mutation with a confirmation gate, the description covers cost, gating, async follow-up, and prohibition. With an output schema present it correctly does not attempt to enumerate return fields, only the one thing the agent must act on (task id → get_tasks).

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 coverage is 100%, so per-parameter meaning is already covered; the description still adds workflow-level semantics for the confirmation_token/max_total_coins pair (price may change between estimate and call, and the call is blocked until the user agrees) that the schema alone only implies field-by-field.

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 — edit a video from a text instruction — plus input form (a VerseIn media URL) and optional reference media. This clearly separates it from generate_video, extend_video, reframe_video and upscale_video, which operate on different intents.

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

Usage Guidelines5/5

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

Gives an explicit when-to-use (transform an existing video per a prompt), an explicit when-not-to-use (face swapping or placing a real person's identity on someone else, which is refused), and routes the agent forward to get_tasks and backward to estimate_cost/max_total_coins for pricing. Little is left to inference.

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