Skip to main content
Glama

Generate Video

generate_video
Destructive

Generate an AI video with Grok Imagine, Seedance, Veo, or Kling. Users can name a model family naturally: Veo maps to Veo 3.1 Fast, Kling to Kling 2.5 Turbo, Grok to Grok Imagine, Seedance to Seedance 2.0 Mini, and Seedance Pro to Seedance 1.5 Pro. Never omit model when the user named one. Call list_models first when the user wants to review models and costs before spending credits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoVideo model or friendly name. Shortcuts: grok -> grok-imagine; seedance or seedance-mini -> seedance-2.0-mini; seedance-pro -> seedance-1.5-pro; veo -> veo-3.1-fast; kling -> kling-2.5-turbo. Defaults to grok-imagine only when the user did not name a model.
promptYesVideo description
durationNoSeconds: Grok 6-30, Seedance 1.5 Pro 4-12, Seedance 2.0 Mini 4-15, Veo 3.1 Fast 4/6/8, Kling 5/10. Defaults to the selected model preset.
image_urlNoOptional public image URL to animate
resolutionNoQuality: Grok and Seedance 1.5 support 480p/720p/1080p; Seedance 2.0 Mini supports 480p/720p; Veo 3.1 Fast currently uses 720p; Kling uses fixed Pro quality.
aspect_ratioNoVideo aspect ratio, default 16:9. Veo supports 16:9 or 9:16; Kling image-to-video follows the source image instead.

TDQS

A4.6/5.0
Behavior4/5

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

The annotations already indicate destructiveHint=true and readOnlyHint=false, so the agent knows this is a mutating operation. The description adds context that it involves spending credits (implied by the advice to review costs before spending credits), and clarifies default behavior (defaults to grok-imagine only when user didn't name a model). This goes beyond annotations by warning about cost implications, though it doesn't explicitly state the exact side effects.

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?

The description is three sentences, front-loading the core purpose, then providing mapping details and two actionable instructions. Every sentence carries relevant information with no redundancy, making it concise and well structured.

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 a tool with six parameters, three enums, and a destructive annotation, the description covers model selection, default behavior, and cost caution. It leaves out details like asynchronous execution or return values, but since there is no output schema and the parameter schema is complete, the description is reasonably complete. It could mention that generation may take time or return a job reference, but that's not critical.

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 each parameter is well documented. The description adds the crucial rule 'Never omit model when the user named one' and clarifies the default fallback, which is not directly in the schema. This gives the agent deeper understanding of model handling beyond the enum values, so it adds value above the schema.

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?

The description states a specific action: generating an AI video, and lists the supported model families (Grok Imagine, Seedance, Veo, Kling). It clearly distinguishes from the sibling generate_image by focusing on video, and the verb 'generate' is precise. The mapping details further clarify what the tool does.

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?

The description gives explicit guidance: call list_models when the user wants to review models and costs before spending credits, and never omit model when the user named one. This directs the agent to the appropriate sibling for cost review and sets a clear rule for model handling, making usage conditions explicit.

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.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: generating images, checking credits, and listing models. There is no overlap or ambiguity between them.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern: generate_image, get_credits, list_models. The naming is uniform and predictable.

Tool Count4/5

With only 3 tools, the set is minimal but appropriately scoped for a focused image generation service. It feels slightly thin but not inadequate, as each tool is essential to the core workflow.

Completeness4/5

The tool surface covers the essential operations for this domain: generating an image, checking credits, and understanding model options. Minor gaps like history or cancellation exist, but they are not critical for basic usage.

Resources