Skip to main content
Glama

generate_video

Generate a video from a text description using AI. Optionally provide an image to use as the first frame.

Instructions

Generate a video from a text prompt using AI. Optionally provide an image as the first frame. Available providers: none configured

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
promptYesText description of the video to generate
providerNoProvider to use: openai, xai, google. Auto-selects if omitted.
durationNoVideo duration in seconds (provider limits apply)
aspectRatioNoAspect ratio: 16:9, 9:16, 1:1
resolutionNoResolution: 480p, 720p, 1080p
imagePathNoPath to an image to use as the first frame of the video (OpenAI and Google only)
outputDirectoryNoDirectory to save the generated file. Supports absolute or relative paths (resolved from cwd). Defaults to MEDIA_OUTPUT_DIR env var or cwd.
providerOptionsNoProvider-specific parameters passed through directly
Behavior2/5

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

No annotations are provided, so the description bears full responsibility for behavioral disclosure. It mentions generation from text and optional image, but does not disclose any side effects, authentication needs, rate limits, or the impact of 'none configured' providers. The mutation nature is implied but not elaborated.

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?

The description is two sentences long, front-loads the primary purpose, and avoids redundancy. It is concise but could be slightly more informative without being verbose.

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?

Given the complexity (8 parameters, nested objects, no output schema, no annotations), the description is too brief. It lacks details on behavior, return values, provider limits, duration constraints, and error conditions, leaving significant gaps for an agent.

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 baseline is 3. The description adds context about the optional image (aligns with imagePath) and notes provider configuration status, but otherwise does not add significant meaning beyond 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?

The description clearly states the tool generates a video from a text prompt using AI, with an optional image as the first frame. It does not explicitly differentiate from sibling tools like generate_image, but the purpose is specific and unambiguous.

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?

The description provides minimal usage guidance: it notes the optional image and the lack of configured providers. It does not specify when to use this tool vs alternatives (e.g., when to use generate_image instead) or any prerequisites.

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/rsmdt/multimodal-mcp'

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