Skip to main content
Glama

Generate Media

generate_media

Submit image, video, or audio generation requests to receive a job ID for tracking. The server routes to available backends, returning immediately while the job runs.

Instructions

Start a generation and return a job handle.

Returns immediately. The job is not finished when this returns; poll get_job with the returned job_id until state is one of succeeded, failed, cancelled or rejected.

Set backend only to pin a specific provider. Leaving it unset lets the server route, which is normally what you want.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
widthNo
heightNo
promptYes
backendNo
modalityYes
duration_sNo
require_tagsNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Install Server

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the behavioral burden and does it well: it discloses that the call returns before the job is done, enumerates terminal states, and explains default routing behavior. This goes well beyond the schema, though it does not mention cancellation or lifecycle 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?

Three short sentences, all high-signal. The most important action is front-loaded, the async behavior comes immediately after, and the backend guidance is a compact decision rule. No filler.

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

Completeness3/5

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

The description is complete on the job lifecycle and backend routing, and an output schema exists for the job-handle return. It is less complete for a 7-parameter tool because it never explains modality-specific parameter applicability (e.g., duration_s vs width/height) or require_tags, and does not point to list_capabilities for discovery.

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 0%, so the description must explain the parameters, but it only adds semantics for backend. prompt, modality, width, height, duration_s, and require_tags are left to their types/names, and require_tags in particular has no hint of its meaning or effect.

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 opens with a concrete verb and resource: 'Start a generation and return a job handle.' This clearly separates it from siblings like get_job, cancel_job, and list_jobs, all of which are later referenced or implied by the async lifecycle.

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?

The description makes the async workflow explicit: call this to start the job, then poll get_job with the returned job_id. It also gives concrete guidance on when to set backend vs leave it unset. It does not, however, spell out when to prefer list_capabilities first or when not to call this tool.

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

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/rolan86/mcp-media-orchestrator'

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