Skip to main content
Glama

generate_image

POST /v1/image/generate — intent tool for image generation. Rejects enable_web_search. Returns images plus cost trace.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nNoVariants 1-4
modelYesLive image model id from get_models
promptYes
qualityNo
resolutionNo
aspect_ratioNo
hide_watermarkNo
enable_web_searchNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It does add useful behavior: it rejects enable_web_search and returns images plus a cost trace. However, it omits important context such as authentication requirements, cost side effects, rate limits, and any failure modes, so transparency is only partial.

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 short and front-loaded, with the endpoint and core purpose in the first clause. Every sentence carries some information and there is no filler. It is concise without being merely a tautology, even if brevity leaves gaps that other dimensions capture.

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 eight parameters, no output schema, and no annotations, this description is materially incomplete. It does not explain how the many optional parameters interact, what constraints exist, or what the response structure looks like beyond 'images plus cost trace'. An agent would likely need to inspect related tools or experiment to call this reliably.

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 only 25%, so the description must compensate by explaining parameter meaning. It adds only that enable_web_search is rejected, while leaving prompt, quality, resolution, aspect_ratio, and hide_watermark semantically unexplained. The schema provides descriptions for n and model, but the description itself does not add meaningful detail for most parameters.

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 identifies this as an image generation tool, naming the endpoint and stating it returns images plus cost trace. It is distinct from generate_video by domain, though it doesn't explicitly compare itself to siblings. The phrase 'intent tool' is slightly ambiguous but does not undermine the clear resource and action.

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 almost no guidance on when to choose this tool over chat_completions, generate_video, or other siblings. It only states a rejection condition (enable_web_search) rather than explaining intended call scenarios or alternatives. An agent must infer usage from the tool name and endpoint.

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.

Resources