Skip to main content
Glama
joemccann

xAI MCP Server

by joemccann

generate_video

Create videos from text descriptions using xAI's technology. Animate images or edit existing videos based on your prompts.

Instructions

Generate videos from text descriptions using xAI. Can also animate images or edit existing videos.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesText description of the video to generate
modelNoVideo generation modelgrok-2-video
imageNoOptional input image URL or base64 to animate
videoNoOptional input video URL to edit/extend
durationNoVideo duration in seconds (1-15)
aspect_ratioNoAspect ratio (e.g., '16:9', '9:16', '1:1')
wait_for_completionNoWait for video generation to complete
Behavior2/5

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

With no annotations provided, the description carries full burden but only mentions capabilities without behavioral details like processing time, rate limits, authentication requirements, output format, or error conditions. It doesn't contradict annotations (none exist).

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?

The description is a single, efficient sentence that front-loads the core functionality and lists additional capabilities without wasted words. Every phrase earns its place by clarifying scope.

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?

For a complex video generation tool with 7 parameters, no annotations, and no output schema, the description is insufficient. It lacks critical context like output format, processing behavior, limitations, or error handling, leaving significant gaps for agent understanding.

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 fully documents all 7 parameters. The description adds no additional parameter semantics beyond what's in the schema, maintaining the baseline score of 3 for adequate but no extra value.

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?

The description clearly states the tool's purpose with specific verbs ('generate', 'animate', 'edit') and resources ('videos', 'images', 'existing videos'), and distinguishes it from siblings like generate_image (static images) and analyze_image (analysis rather than generation).

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

Usage Guidelines3/5

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

The description implies usage scenarios (text-to-video, image animation, video editing) but doesn't explicitly state when to choose this tool over alternatives like generate_image for static content or when not to use it. No sibling tool comparisons are provided.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/joemccann/xai-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server