Skip to main content
Glama

video_generation

Generates videos from text prompts with controls for size, aspect ratio, duration, seed, and streaming via Grok AI.

Instructions

Generate videos via /v1/chat/completions using grok-imagine-1.0-video.

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": "video_generation"
  }
}

Input Schema

NameRequiredDescriptionDefault
seedNo
sizeNo
promptYesVideo generation prompt.
streamNo
max_tokensNo
timeout_msNoOptional timeout override
aspect_ratioNo
duration_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.6/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses only the underlying endpoint and model name. For a likely expensive, possibly long-running generative operation it says nothing about latency, cost, whether 'stream' implies incremental delivery, or what the response contains (URL, bytes, job id).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The single sentence is front-loaded and free of filler, but at this length it is under-specified rather than appropriately concise for an 8-parameter generative tool. Nothing is wasted, but too little is said.

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

Completeness2/5

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

With 8 parameters, 25% schema coverage, no output schema, and no annotations, the definition should explain output form, streaming behavior, and duration/size tradeoffs. It identifies the backend but leaves an agent unable to predict what it gets back or how to choose between the size and aspect_ratio options.

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

Parameters2/5

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

Schema description coverage is only 25% across 8 parameters, so the description is expected to compensate, and it adds nothing about seed, size, aspect_ratio, duration_seconds, stream, max_tokens, or timeout_ms. The agent must infer the meaning and interaction of dimension and aspect-ratio options entirely from the schema.

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 ('Generate videos') and even names the backend endpoint and model ('/v1/chat/completions using grok-imagine-1.0-video'), so the agent knows what it produces. It doesn't explicitly contrast with the sibling image_generation tool, though the noun difference makes the distinction fairly obvious.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance on when to use this versus image_generation, x_search, or general_search, and no prerequisites or exclusions. The only routing signal is the word 'videos' in the description.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.