Skip to main content
Glama

Generate a video clip

generate_video
Destructive

Render a clip and return a run id. Text-to-video, or image-to-video by passing image_url. Several models produce native audio — set generate_audio and check list_models for which support it. Takes minutes; poll get_run_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": {
      "prompt": "<prompt>",
      "model": "<model>"
    },
    "name": "generate_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNo
modelYesRequired. Video models differ sharply in price and length — read list_models first.
promptYesThe shot: subject, action, framing, light.
durationNoSeconds. Each model allows only specific values; list_models gives them.
image_urlNoSource frame for image-to-video. Required by i2v models.
image_urlsNoReference images for reference-to-video models.
resolutionNoFrom the model's declared resolutions.
aspect_ratioNo9:16
end_image_urlNoFinal frame, for models that interpolate.
generate_audioNoNative audio where the model supports it. Priced higher — quote first.
negative_promptNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior3/5

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

Adds real context beyond the annotations: multi-minute latency, asynchronous run-id return requiring polling, and a cost warning on audio ('Priced higher — quote first'). However annotations flag destructiveHint=true and openWorldHint=true, and the description never explains what the destructive aspect is (credit/money spend, non-idempotent regeneration on retry) — that is the single most important behavior for an agent to know here.

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, front-loaded with the action and return value, then mode selection, then the async/cost caveats. No filler and no repetition of schema text.

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 11-parameter, expensive, asynchronous generation tool with no output schema, the description covers the essentials: what comes back (run id), how to continue (get_run_status), and how to pick valid model-specific values (list_models). The gap is the destructive/cost semantics implied by annotations but never spelled out.

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?

With 73% schema coverage the schema already documents most fields, and the description adds genuine cross-cutting meaning: image_url switches the tool into image-to-video mode, generate_audio depends on model capability and raises price, and model/duration/resolution constraints are deferred to list_models. It leaves negative_prompt and seed unexplained in both places.

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 ('Render a clip and return a run id') and spells out the two modes: text-to-video, or image-to-video via image_url. That is concrete and distinguishable in behavior, though it never differentiates itself from the similarly named create_video sibling.

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 clear operating context: pass image_url for image-to-video, use generate_audio only where the model supports it, check list_models for support, and poll get_run_status afterwards. It lacks any explicit exclusion or comparison against create_video/create_ad_video, so the when-not-to-use half is missing.

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