Skip to main content
Glama

ai_image

Text-to-image (FLUX.1 schnell). Returns a base64 JPEG data URL. 0.03 USDC per call via x402.

Input Schema

NameRequiredDescriptionDefault
stepsNo
promptYesImage description
paymentProofNoPayment proof: USDC tx hash on Polygon or Base (0x...) or Solana tx signature. Omit on the first call to receive the 402 payment instructions, pay, then call again with the proof.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does well: it discloses the return format (base64 JPEG data URL) and the critical commercial term (0.03 USDC per call via x402), which an agent must know before invoking. It omits latency, resolution/size limits, and failure behavior.

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 compact sentences with the capability, return type, and price front-loaded in that order. Nothing superfluous and nothing buried.

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 a single-capability generation tool with no output schema, the description covers what comes back and what it costs, which are the two things an agent most needs. The remaining gap is guidance on the `steps` parameter and image dimensions.

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 adds no meaning beyond the schema — notably it never explains `steps` (1-8, default 4), which is the one undocumented parameter and affects cost/quality trade-offs. The paymentProof mechanics are fully spelled out in the schema, not the description.

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 (text-to-image) and even names the underlying model, FLUX.1 schnell, so an agent knows exactly what capability it is invoking. It is clearly distinct from the text-oriented ai_* siblings, though it does not explicitly say so.

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 statement of when to use this versus alternatives, no prerequisites beyond the implicit cost note, and no exclusions. The domain is obvious from the name, but the description provides no actual routing guidance.

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.