Skip to main content
Glama

AgentX402: Pay-per-Call AI, Web Render, Search & DeFi Tools

generate_flux_image

Generate high-quality 1024x1024 image with Flux.2-Klein-4B BF16 on RTX 3060 ($0.15 USDC or free trial).

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": "generate_flux_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsNo
widthNo
heightNo
promptYes

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?

Annotations already declare openWorldHint=true, destructiveHint=false and non-idempotent, so safety and repeatability are largely covered. The description adds genuinely useful context the annotations lack: the per-call price ($0.15 USDC or free trial), which signals a paid external call. It says nothing about latency, cold-start behavior, or what the tool returns, so it clears the lowered bar without being rich.

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?

A single front-loaded sentence with the core action first and pricing last; nothing is wasted. It is slightly under-specified rather than over-long, but structurally clean.

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?

With no output schema and 0% parameter coverage, the description should explain what is produced (an image URL, base64, a job id) and how the three optional knobs behave. For a paid, non-idempotent generation call it leaves too much for the agent to guess.

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 coverage is 0% across four parameters, so the description must carry the burden and does not. It never mentions 'steps', what width/height do, or any constraints, and its claim of '1024x1024' arguably conflicts with the adjustable width/height defaults.

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 and resource ('Generate high-quality ... image') plus the model and hardware, making the tool's function immediately identifiable. It does not name a sibling alternative, but the purpose is unambiguous relative to the rendering and staging tools listed.

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 guidance on when to choose this tool versus the other image/video-rendering siblings, and no exclusions or prerequisites beyond the price note. The agent must infer that this is the text-to-image option.

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