Skip to main content
Glama

onchaincheck

ai_image

Generate an image from a text prompt with FLUX.1 [schnell]: a 1024x1024 JPEG returned as base64 in JSON. Optional steps (1-8, default 4) and seed for repeatable results. Costs $0.01 USDC on Base via x402.

Input Schema

NameRequiredDescriptionDefault
seedNoSeed for a repeatable image
stepsNoDiffusion steps 1-8 (default 4)
promptYesWhat to draw, up to 1,000 characters

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the full burden and does well: it discloses the return format (1024x1024 JPEG as base64 inside JSON), the cost and payment rail ($0.01 USDC on Base via x402), and that seeds make results repeatable. What it omits is payment mechanics (automatic vs. prompted), latency, and failure behavior for a paid generation call.

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, front-loaded with the action and model, followed by output shape, tunables, and price. No filler or redundant phrasing; each sentence adds a distinct fact.

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

Completeness5/5

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

There is no output schema, and the description compensates by specifying dimensions, format, and encoding of the result, plus the monetary cost. For a three-parameter generation tool, an agent has everything needed to call it and interpret the response.

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 100%, so the schema already documents all three parameters including ranges and the steps default of 4. The description only restates steps and adds the notion of repeatability for seed, which is marginal value beyond the schema's own 'Seed for a repeatable image' wording; the 1,000-character prompt cap is left to the schema.

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 specific verb and resource (generate an image from a text prompt) and names the underlying model, FLUX.1 [schnell]. This clearly separates it from the text-oriented siblings like ai_chat, ai_chat_pro, and ai_text_to_speech without needing the schema opened.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The usage is strongly implied — supply a text prompt, get an image — but there is no explicit when-to-use/when-not guidance and no routing to alternatives (e.g., when to prefer ai_chat for descriptive text instead of rendering). The agent must infer the selection rule from the verb alone.

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