Skip to main content
Glama

Generate a video

generate_video
DestructiveIdempotent

Start a Veo Fast video from your prompt. Uses separate video credits: 720p 4/6s costs 1, 720p 8s costs 2, 1080p 8s costs 2, 4k 8s costs 4. Returns an operation; poll get_generation then get_video_status. Never start another paid request automatically. Before starting, the owner must also approve the exact request at the returned approval_url in Cormak. Then repeat the same request_id and parameters.

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": {
      "request_id": "<request_id>",
      "confirm_spend": "<confirm_spend>",
      "prompt": "<prompt>"
    },
    "name": "generate_video"
  }
}

Input Schema

NameRequiredDescriptionDefault
promptYes
request_idYesA UUID for this exact request. Reuse it on retries; changing it requests another paid generation.
resolutionNo720p
audio_styleNoauto
aspect_ratioNo16:9
confirm_spendYesSet true only after the user confirms spending their Cormak credits.
duration_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already flag destructiveHint=true and openWorldHint=true, but the description goes much further: an explicit credit cost table by resolution and duration (720p 4/6s = 1, 1080p 8s = 2, 4k 8s = 4), a two-step human approval gate via approval_url, an idempotency contract on request_id, and a no-auto-retry rule. That is exactly the financial and authorization context an agent needs before a paid mutation.

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?

Four dense but front-loaded sentences with no filler — the verb comes first, pricing is compressed into a compact inline table, and the fallback workflow follows. Slightly telegraphic phrasing late in the text ("Then repeat the same request_id and parameters") costs a little readability.

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 paid, approval-gated generation tool with no output schema, the description covers the return value (an operation, plus an approval_url in the response), the polling path, the cost, and the retry contract. An agent has everything needed to invoke it without accidentally double-charging.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 29% of 7 parameters, so the description should compensate more. It does add real meaning for resolution and duration_seconds by mapping them to credit costs, and it reinforces request_id retry semantics, but prompt, aspect_ratio, and audio_style get no semantic treatment beyond their enums and defaults.

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?

Names a specific verb and resource plus the model: "Start a Veo Fast video from your prompt." It also signals the async nature ("Returns an operation") which cleanly separates it from the sibling polling tools get_generation and get_video_status that it names.

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?

Gives an explicit workflow: start the video, then poll get_generation then get_video_status. It also states hard exclusions and prerequisites — the owner must approve the exact request at approval_url, the caller must reuse the same request_id and parameters, and it must "Never start another paid request automatically." Nothing about when to call it is left to inference.

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.