Skip to main content
Glama

SwogeAgentic

generate video

generate_video
Read-only

Create a short video with Grok Imagine (6 or 10 seconds). API key only: billed at its real cost when the video arrives, up to the quoted maximum, nothing if it fails. Returns a video id — poll it with video_status (free).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
quoteNotrue: return the price of this call without running or paying for it
promptYeswhat happens in the video, in any language
qualityNospeed (default) or quality (Grok Imagine Video 1.5)
durationNoseconds (default 6)
resolutionNodefault 480p
aspect_ratioNovideo shape (default auto)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior1/5

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

Annotation Contradiction. The description says the tool creates a video and bills the caller in real money, which is a state-changing side effect, while annotations declare readOnlyHint=true. This directly contradicts the annotation and misleads an agent about 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?

Two compact, efficient sentences carry the essential information: the operation, billing behavior, failure policy, return value, and polling path. No filler or redundant details.

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?

Covers the critical operational details: return type, asynchronous polling via video_status, and cost behavior on success and failure. The schema handles parameter completeness. The annotation contradiction is a notable coherence gap, but the description itself is nearly complete for invoking the tool.

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 100%, so the schema already documents all parameters including prompt, duration, quality, resolution, aspect_ratio, and quote. The description only restates duration and hints at quote-based pricing, adding no meaningful parameter-level semantics beyond 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?

States a specific verb, resource, and scope: 'Create a short video with Grok Imagine (6 or 10 seconds).' It also separates generation from polling by saying the tool returns a video id to check with video_status, which distinguishes it from sibling tools.

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?

Explains the follow-up action explicitly: 'poll it with video_status (free).' It also notes the API-key billing condition. It does not enumerate negative cases or alternatives, but the context is clear enough for an agent to decide when to invoke it.

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