Skip to main content
Glama

Generate a video (beta)

generate_video

Beta. The AI director makes a motion video from a brief and/or up to 3 demos (their screens, copy and narration): it picks a look, writes a storyboard of 10–15 beats (hook, product moments, CTA), gathers screens, b-roll, music and sound effects, designs every scene and records the narration. It runs as a job (usually 1–3 minutes): this waits up to 20 seconds, then answers with the finished video or its progress — if it is still "generating", call get_video later instead of generating again. Uses AI credits (5 up to a minute, 10 longer; refunded if it fails) and AI voice characters for narration. A walkthrough keeps a demo step's recorded narration when its script stays word for word; other formats write their own script. On the Free plan the user's email must be verified first.

Requires: demos:read, demos:write.

Input Schema

NameRequiredDescriptionDefault
lookNoArt direction; leave it out to let the director pick (list_video_blocks lists the looks).
mediaNoStock footage and AI images where they help.
musicNoA generated music bed.
proofNoProof the video may show word for word: numbers, customer quotes (with who said them), customer names. The director never invents these, so without proof it shows none.
titleNo
aspectNo16:9
formatNoteaser (punchy, 15–30 s), walkthrough (step by step on the real screens), launch (reveal + features), explainer (problem → how it works), social (vertical-friendly, huge type).teaser
promptNoWhat the video is about: product, audience, key message, tone, a call to action — or a full script.
demoIdsNoDemos to draw screens, copy and narration from (list_demos).
narrateNoAn AI voice reads the narration (Pro and Team).
lengthSecondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior5/5

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

Exceptional disclosure beyond the annotations: job semantics (1-3 minutes), 20-second synchronous wait, credit cost (5/10, refunded on failure), plan gating, and the narration-retention nuance for walkthroughs vs other formats. All consistent with the non-idempotent, non-destructive write annotations.

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-loaded with "Beta" and the core action, then layers cost, timing, and preconditions. Dense but every sentence carries operational information; the run-on quality of the first sentence slightly hurts scannability.

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?

With no output schema, the description carries the return contract well: it either returns the finished video or its progress state. Also covers plan/permission gates and credit spend. Only minor gaps remain around what the progress payload contains.

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 covers 73% of parameters, and the description adds real meaning on top: what proof means (never invented, so omit it and none is shown), how narration behaves per format, and that look can be omitted to let the director choose. A few parameters (title, aspect, lengthSeconds) are covered only by schema.

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?

States a specific verb and resource: an AI director makes a motion video from a brief and/or demos, with a described pipeline (storyboard of 10-15 beats, gathers screens/b-roll/music, designs scenes, records narration). This clearly distinguishes it from read-side siblings like get_video, though it never explicitly contrasts with create_video, which is the most likely point of confusion.

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 an explicit follow-up rule: if the job is still "generating" after the 20-second wait, call get_video rather than generating again. It also states prerequisites (demos:read/write, verified email on Free plan). It stops short of explaining when to prefer this over create_video.

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.