Skip to main content
Glama

Edit footage into a video

create_edit

Cut the user’s footage into a finished video from a brief: the director picks the shots, cuts silences and filler words, frames for the canvas, adds captions and the music track. When the user turns them on it also adds AI shots made by a video model (generated_shots, from photo_ids or a prompt), an AI music track and an AI voice-over, each paid only for what is used. Without any footage (footage_ids [] and generated_shots true) it makes the whole video from the brief with AI shots. Never for nudity, sexual or romantic scenes, or real people. Spends credits: show the user the price from edit_cost first. A failed edit returns them. It takes a few minutes; the answer is an edit id for edit_status.

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": {
      "footage_ids": "<footage_ids>",
      "brief": "<brief>"
    },
    "name": "create_edit"
  }
}

Input Schema

NameRequiredDescriptionDefault
lookNoA look laid over the whole edit (a colour grade, film, VHS, glitch, blur, paper and print, drawing or effect look). Free. When omitted the director picks one only if the brief asks for a look.
briefYesWhat the edit is for, in the user’s words: the story or message, the audience, the platform, the tone, what to keep or leave out
voiceNoThe voice of the voice-over; Roger when omitted
canvasNoThe frame: 9:16 for TikTok, Reels and Shorts, 4:5 or 1:1 for feeds, 16:9 for YouTube; 9:16 when omitted
captionsNoBurned-in captions of what is said; on when omitted
directorNoWho writes the edit: auto (Auto: Our pick for most edits: careful cuts, captions and pacing); light (GPT 6 Luna: Quick and light, for simple cuts); fable (Claude Fable 5.2: The most capable director, for long footage and the hardest briefs; not on every plan). auto when omitted. The price depends on it.
length_sNoLength of the finished video in seconds, 3 to 180; the director picks what the footage and brief call for when omitted. A video made without clips runs up to 60 s; pass the length the user asks for; 10 s when omitted.
ask_firstNoLet the director ask multiple-choice questions about choices the brief leaves open before it edits (edit_status shows them, answer_questions answers; it goes ahead with its suggestions after 15 minutes). On when omitted; turn off when the user cannot be asked.
photo_idsNoIds of images of the account (upload_image, or list_assets with kind image) that AI shots may start from; needs generated_shots
auto_musicNoWithout music_asset_id, the director lays an instrumental track from the RenderHour music library that suits the brief, lowered under speech; on when omitted, false for no music
shot_modelNoThe video model of the AI shots (needs generated_shots), as the user picks it: grok-lite (Grok Imagine Lite: quick, stylised shots at the lowest price); kling-3 (Kling 3.0: natural motion, people and products); wan-2.6 (Wan 2.6: detailed scenes and places); kling-4 (Kling 4.0: the most lifelike motion of the kling models); seedance-fast (Seedance 2.0 Fast: cinematic camera moves; it refuses real faces); seedance-2.5 (Seedance 2.5: bytedance’s flagship, for the most detailed scenes; it refuses real faces); veo-3.1 (Veo 3.1: google’s cinematic model, in eight-second shots). grok-lite when omitted. Each has its own price a second (edit_cost shows them all); a model with fixed clip lengths is paid by the clip it makes.
voice_overNoAn AI voice-over: the director writes lines said by a narrator over shots without speech. Priced per 1,000 characters on top of the edit (edit_cost gives the rate and the most it can add). Off when omitted.
footage_idsYesIds of the account’s videos, from add_footage or list_footage; up to 150 clips and 30 minutes in all. At least one, except for a 1:1 Reference made from photos alone, or a video made from words alone: pass [] with generated_shots true, and the whole video (up to 60 s) is made of AI shots from the brief.
reference_idNoEdit like this video: the id of a video of the account (add_footage or list_footage), up to 3 minutes. As inspiration (the default) the edit copies its rhythm of cuts, caption style, on-screen texts and pace, not its content. It is read like footage, so its length is priced with the footage's.
music_asset_idNoAn audio file of the account laid under the edit (list_assets with kind audio)
generated_musicNoAn instrumental track made for the edit by a music model from the director’s description (instead of music_asset_id or a library track), lowered under speech. Priced on top of the edit (edit_cost). Off when omitted.
generated_shotsNoAI shots: let the director add up to 6 shots of 3–10 s made by a video model where the footage lacks a picture (b-roll, a product or establishing shot, a scene the brief asks for that was not filmed, a photo brought to life), from the user’s photos (photo_ids) or from a prompt. Each second is paid for on top of the edit (edit_cost gives the rate and the most it can add); only the shots the director uses are charged, and a shot that fails is not. Off when omitted: turn it on when the brief asks for scenes, animation or motion the footage does not have.
idempotency_keyNoRepeat a call with the same key to get the same edit without paying twice

Schema Changelog

Changes observed during successful MCP inspections.

No schema history has been recorded yet.

TDQS

A4.3/5.0
Behavior5/5

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

Adds substantial behavior beyond annotations: spending credits with a required price check via edit_cost, credit refund on failure, several-minute processing time, return of an edit id for status polling, and per-use cost model for AI shots, music, and voice-over. Annotations only declare readOnly/destructive/openWorld; the description fills in cost, latency, failure, and return semantics.

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 purpose, then covers optional features, constraints, cost, and return in a logical order. It is dense but every sentence carries relevant information; bullet points could improve scanability, but it is not wasteful.

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 an 18-parameter creation tool with no output schema, it covers cost, failure, return format, content restrictions, and AI feature toggles. It relies on the schema for parameter details, which is acceptable given 100% coverage. Minor gaps like idempotency behavior or full error modes remain.

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% and parameter descriptions are extensively detailed. The tool description adds little parameter-level meaning beyond reiterating the footage_ids/generated_shots interaction and cost implications, which are already covered in the schema. Baseline 3 is appropriate.

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 ('Cut the user’s footage into a finished video') and resource, describes the director's actions, and distinguishes from edit_cost and edit_status by naming them for pricing and status polling.

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?

Gives explicit when-not ('Never for nudity, sexual or romantic scenes, or real people'), when to turn on AI features, and directs to edit_cost before spending credits and to edit_status for results. Lacks direct comparison to some siblings like request_changes or share_edit, but the creation purpose is unambiguous.

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