Skip to main content
Glama

generate_image

Create an image generation task (text-to-image, or image-to-image when image_urls are provided). Pro/Ultra flagship models (GPT Image 2, Nano Banana 2, Grok Imagine) and Ultra ViewMax C1 cost 0 credits within the shared daily fair-use pool; otherwise this consumes credits. Poll get_task for the result URLs.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelYes
sceneNo
promptYes
qualityNo
image_urlsNo
aspect_ratioNo

TDQS

A4.1/5.0
Behavior4/5

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

No annotations exist, so the description carries the behavioral disclosure burden. It adds important facts beyond the obvious generation behavior: it is an async task that must be polled via get_task, listed models can be free within a shared daily fair-use pool, and otherwise credit consumption occurs. This gives the agent material guidance about side effects and follow-up.

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 compact and front-loaded; the first sentence establishes the core operation and the second covers economic/blob behavior and result polling. It is slightly dense, but the factual content earns its place.

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?

For an async generation tool with no output schema, it properly tells the caller how to retrieve results via get_task and indicates nudget that lit consumed pricing can be 0. It does not specify output fields, failure behavior, quality, or aspect_ratio constraints, but an agent has enough to invoke it correctly and retrieve results.

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 0 percent, so the description must compensate. It does add meaning for image_urls by explaining that providing them switches the task to image-to-image, and it offers example model names. However, scene, quality, prompt, and aspect_ratio have no described effect or allowed values, leaving several use issues unresolved.

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 precise verb and resource: it creates an image generation task. It also distinguishes between text-to-image and image-to-image modes depending on image_urls, making it clearly distinct from sibling tools like generate_music, generate_ideo, or generate_speech.

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?

Clear context is present: it is the image-generation tool, and image-to-image is the correct mode when image_urls are provided. It also tells the caller to poll get_task for the eventual result URLs. It does not explicitly list when not to use it in favor of a sibling, but the image-specific wording makes the intended usage effectively unambiguous.

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.

TDQS

A4/5.0
Disambiguation5/5

Every tool targets a distinct resource/action: generate_* tools are separated by media type, list_*/get_* tools cleanly separate overview from detail retrieval, and get_task vs wait_for_task are clearly one-shot status vs polling behavior. There is no real overlap or ambiguity among the 14 tools.

Naming Consistency5/5

The tools follow a consistent verb_noun snake_case convention: generate_*, list_*, get_*, and wait_for_*. The generate_* group cleanly maps to each output modality, and the get/list distinction is applied predictably.

Tool Count5/5

14 tools is well-scoped for a multimodal generation server. Each tool earns its place: generation for each media type, model listing/detail, voice enumeration, credit lookup, and task status handling. There is no obvious bloat or redundancy.

Completeness4/5

The surface covers the core workflow well: discover models/voices, create generations, retrieve outputs, and monitor credits. The main gap is the absence of an explicit task cancellation tool, but the persisted task statuses and wait_for_task workflow make this a minor gap rather than a blocking one.