Skip to main content
Glama

Edit a video

edit_video

Edit an existing video clip (MP4, up to 15 seconds, 50 MB) following instructions: put the person from a photo into the clip, change outfit, style, background or scene, while keeping the motion and timing. Costs credits (based on clip length). Returns a task_id; poll get_video.

Input Schema

NameRequiredDescriptionDefault
promptYesWhat to change, e.g. "Replace the dancer with the person in image 1, keep the moves".
video_urlYesPublic https URL of the MP4 clip to edit.
image_urlsNoOptional reference photos, referred to as image 1, image 2… in the prompt.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations only declare non-read-only, open-world, non-destructive; the description goes well beyond by disclosing the credit cost model (scaled by clip length), the hard input constraints (MP4, 15s, 50MB), and the asynchronous contract (returns task_id, poll get_video). These are exactly the facts an agent needs before committing to a paid, long-running call.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, front-loaded with the operation and its hard limits, then the cost and async contract. Every clause carries operational information—no restatement of the name or title.

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?

With no output schema, the description correctly covers the return path (task_id then get_video) and supplies the cost and size limits an agent would otherwise lack. Nothing needed to invoke this correctly is missing.

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 explains prompt, video_url and the image 1/image 2 reference convention for image_urls. The description's mention of 'the person from a photo' loosely reinforces image_urls but adds no constraint or syntax the schema doesn't already supply, so the 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?

Specific verb + resource (edit an existing video clip), plus the input format, duration and size envelope, and the exact class of edits supported (outfit, style, background, scene) while preserving motion and timing. An agent can distinguish this from create_video or animate_photo without opening any schema.

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 makes clear this operates on an existing clip with instructions and explicitly routes the agent to get_video for polling the result. It does not, however, contrast this with create_video or animate_photo as alternatives for non-editing generation, so the when-not branch is left implicit.

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