Skip to main content
Glama

generate

Generate images or videos from text prompts. For videos, submit a prompt to get a job ID and poll for completion.

Instructions

Generate an image or video from a text prompt. Video is async: first call returns job_id; call again with job_id to poll.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tierNopoor
modelNo
job_idNo
promptYes
providerNo
media_typeYes
output_modeNoboth
aspect_ratioNo16:9
duration_secondsNo
reference_image_urlNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

Discloses async behavior for video, which is not captured by annotations; annotations already indicate write operation (readOnlyHint=false), consistent with generation.

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 concise sentences with no filler; first covers purpose, second covers critical async flow.

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?

Despite having output schema, the description lacks information on most parameters, return values, and image generation behavior, making it incomplete for a complex tool.

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

Parameters1/5

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

With 0% schema description coverage and 10 parameters, description only mentions 'text prompt' and 'job_id' implicitly, leaving all other parameters undocumented.

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?

Description clearly states the tool generates an image or video from a text prompt, distinguishing it from sibling tools like config or help.

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?

Explicitly mentions video is async and provides polling instructions, but does not specify when to use image vs video or provide alternatives.

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/n24q02m/imagine-mcp'

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