Skip to main content
Glama

images generations

images_generations
Read-only

OpenAI-compatible image generation (FLUX.1 schnell): same shape as OpenAI /v1/images/generations, returns b64_json (or a data URL with response_format=url). One 1024px JPEG per call, flat price, no API key. Costs $0.01 USDC per call (x402).

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "prompt": "<prompt>"
    },
    "name": "images_generations"
  }
}

Input Schema

NameRequiredDescriptionDefault
nNoMust be 1
promptYes
response_formatNob64_json (default) | url (data URL)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior5/5

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

Goes well beyond the readOnly/openWorld annotations: it discloses the exact return payload (b64_json, or a data URL when response_format=url), the fixed output (one 1024px JPEG per call), flat pricing, no API key requirement, and a $0.01 USDC x402 payment. Payment/auth and output-shape facts like these are exactly the non-obvious behavior an agent needs before invoking.

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?

One dense, front-loaded sentence that leads with compatibility and then layers output format, size, price, and auth. Slightly run-on with stacked parentheticals, but every clause carries information an agent would otherwise have to discover empirically.

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?

With no output schema, the description correctly carries the return-format burden (b64_json vs data URL) and adds cost/auth context appropriate for an x402-paid tool. The notable gap is sibling disambiguation across a crowded image-tool namespace, which is the one thing an agent most needs here.

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 coverage is 67%, and the description does add meaning for response_format (clarifying that 'url' yields a data URL, not a hosted link) and reinforces the single-image limit for n. The required 'prompt' parameter is left completely undescribed in both the schema and the description, so the description only partially compensates.

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?

States a specific verb+resource (image generation) and names the backing model (FLUX.1 schnell) plus the OpenAI-compatible surface it mirrors. However, it never distinguishes itself from the many sibling image generators (image_generate, image_fast, image_pro), so an agent cannot tell from the description alone which one to pick.

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?

There is no when-to-use guidance and no routing against siblings, despite the tool sitting in a cluster of near-identical image tools (image_generate, image_fast, image_pro, image_edit, image_inpaint). The only implicit cue is 'same shape as OpenAI /v1/images/generations', which assumes the caller already knows the OpenAI API.

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