Skip to main content
Glama

generateVideo

Start AI video generation from a prompt. Use listModels with kind=video to check models, supported lengths, and video credit costs. Confirm the model and cost with the user first. The finished video is saved as a draft and is not published. Check progress with getVideoStatus.

Input Schema

NameRequiredDescriptionDefault
modelNoA model id from GET /v1/models?kind=video (cost shown there; default google/veo-3.1-fast), or a built-in name: sora-2 (1 credit), sora-2-pro (3). The old names veo-3.1-fast-generate-preview and veo-3.1-generate-preview still work and run on google/veo-3.1-fast and google/veo-3.1.
promptYesDescription of the video content to generate
durationNoSeconds. Default 8. Must be a length the model supports (see `durations` in listModels). Built-in Veo models: 4, 6, or 8; Sora: 4, 8, or 12.
aspectRatioNoDefault: 9:16
contentGroupIdYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / model / description
      Previous value: -"A model id from GET /v1/models?kind=video (cost shown there), or a built-in name: veo-3.1-fast-generate-preview (default, 1 credit), veo-3.1-generate-preview (3), sora-2 (1), sora-2-pro (3)."New value: +"A model id from GET /v1/models?kind=video (cost shown there; default google/veo-3.1-fast), or a built-in name: sora-2 (1 credit), sora-2-pro (3). The old names veo-3.1-fast-generate-preview and veo-3.1-generate-preview still work and run on google/veo-3.1-fast and google/veo-3.1."
  2. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations declare the safety profile (openWorld, non-idempotent, non-destructive), but the description adds non-obvious behavior annotations cannot express: generation is asynchronous, the result lands as an unpublished draft, and cost confirmation is required up front. The unpredictability of cost is a real behavioral caveat that is disclosed.

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?

Four short sentences, all front-loaded: action, prerequisite, approval gate, follow-up. No restatement of the name or filler, and the draft-not-published caveat sits where an agent will read it before calling.

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?

Covers the full lifecycle (validate model → confirm cost → generate → poll with getVideoStatus) with no output schema to compensate for. It stops short of saying what the call returns immediately (a job/video id presumably), which an agent must assume to use getVideoStatus.

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?

At 80% schema coverage the baseline is 3; the description adds meaning to model and duration by pointing at listModels for valid lengths and per-model credit pricing, which the schema only partially encodes. The one uncovered parameter, contentGroupId, is never explained in either place, keeping it off a 5.

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?

"Start AI video generation from a prompt" gives a specific verb (start/generate) plus resource (video) and signals an asynchronous job, which cleanly separates it from sibling upload/publish tools like createVideo and publishVideo. An agent can tell it apart from generateImage and createVideo without opening either schema.

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?

Explicitly routes to listModels with kind=video to discover models, supported lengths and credit costs, mandates confirming model and cost with the user first, and names getVideoStatus for progress. Both the prerequisite step and the follow-up tool are stated rather than inferred.

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