Skip to main content
Glama

Generate Video

generate_video

Start a text-to-video render (paid plans, no faces). Returns a job_id right away; rendering takes 1–3 minutes, then call check_video_status. Models and allowed lengths: Seedance25 (4/5/8/10/15/20/30s), Kling3 (3/5/10/15s). Other lengths are rounded to the nearest allowed one. Kling3 makes 16:9, 9:16 and 1:1 only; other shapes go to the nearest one.

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>"
    },
    "name": "generate_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYesDescribe the motion, camera move, lighting and setting.
durationNoLength in seconds. Defaults to 5, or the model's shortest length.
providerNoVideo model.Seedance25
resolutionNoDefaults to 720p. Unsupported values fall back to the default.
aspect_ratioNoVideo shape. Kling3: 16:9, 9:16 or 1:1.16:9

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed3 schema fields changed
    • changedInput schema / properties / aspect_ratio / description
      Previous value: -"Video shape."New value: +"Video shape. Kling3: 16:9, 9:16 or 1:1."
    • changedInput schema / properties / provider / enum
      Previous value: -[
      -  "Seedance25",
      -  "Seedance2",
      -  "Seedance2Fast",
      -  "Seedance2Mini",
      -  "Kling3"
      -]New value: +[
      +  "Seedance25",
      +  "Kling3"
      +]
    • changedInput schema / properties / resolution / description
      Previous value: -"Defaults to 720p (768p for Hailuo). Unsupported values fall back to the default."New value: +"Defaults to 720p. Unsupported values fall back to the default."
  2. Changed1 schema field changed
    • changedInput schema / properties / provider / enum
      Previous value: -[
      -  "Seedance25",
      -  "Seedance2",
      -  "Seedance2Fast",
      -  "Seedance2Mini",
      -  "Kling3",
      -  "Wan30",
      -  "Wan30Prime",
      -  "Hailuo23",
      -  "Hailuo23Fast"
      -]New value: +[
      +  "Seedance25",
      +  "Seedance2",
      +  "Seedance2Fast",
      +  "Seedance2Mini",
      +  "Kling3"
      +]
  3. Changed2 schema fields changed
    • changedInput schema / properties / duration / description
      Previous value: -"Length in seconds. Defaults to 5 (10 for Kling4, or the model's shortest length)."New value: +"Length in seconds. Defaults to 5, or the model's shortest length."
    • changedInput schema / properties / provider / enum
      Previous value: -[
      -  "Seedance25",
      -  "Seedance2",
      -  "Seedance2Fast",
      -  "Seedance2Mini",
      -  "Kling4",
      -  "Kling3",
      -  "Wan30",
      -  "Wan30Prime",
      -  "GrokVideo",
      -  "Hailuo23",
      -  "Hailuo23Fast"
      -]New value: +[
      +  "Seedance25",
      +  "Seedance2",
      +  "Seedance2Fast",
      +  "Seedance2Mini",
      +  "Kling3",
      +  "Wan30",
      +  "Wan30Prime",
      +  "Hailuo23",
      +  "Hailuo23Fast"
      +]
  4. First observed

TDQS

A4.7/5.0
Behavior5/5

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

Adds substantial context beyond the annotations: a plan-level precondition (paid plans), a content policy (no faces), the async contract (returns job_id immediately, 1–3 minute render), and normalization behavior for out-of-range lengths and unsupported aspect ratios. This is exactly the information an agent needs to set expectations and avoid resubmitting, consistent with idempotentHint=false.

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?

Front-loads the action and cost/policy constraints, then the async contract, then model-specific limits. Every clause carries operational information; nothing is filler or a restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a five-parameter async generation tool with no output schema, the definition covers preconditions, timing, the return value (job_id), the follow-up call, and all enum normalization rules. Nothing an agent needs to invoke it correctly is missing.

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 already 100%, yet the description still adds cross-parameter meaning the schema cannot express: the per-model allowed duration sets (Seedance25 4/5/8/10/15/20/30s, Kling3 3/5/10/15s), rounding of other lengths, and Kling3's aspect-ratio restriction with nearest-shape fallback. Only minor gap is resolution behavior beyond the schema's fallback note.

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 and resource ('Start a text-to-video render') plus immediate scope qualifiers (paid plans, no faces). It also distinguishes itself from the sibling check_video_status by naming it as the follow-up step, so an agent knows this is the kickoff call, not the polling call.

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 when-to-use context: paid plans only, no faces, and an explicit next step ('then call check_video_status'). It does not compare against other generation siblings (generate_image, generate_logo), but the modality difference makes that largely self-evident.

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