Skip to main content
Glama

image

image

AI image generation from a text prompt (FLUX.1 schnell, 1024x1024 JPEG returned as a base64 data URL). Sexual or graphic prompts are refused and not charged. Price: $0.01 USDC per successful 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": "image"
  }
}

Input Schema

NameRequiredDescriptionDefault
stepsNoDiffusion steps 1-8 (default 4; more = finer detail)
promptYesImage description (max 1000 characters)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/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 behavioral burden and does well: it discloses the model, exact output format and encoding, a content-refusal policy with the important detail that refused calls are not charged, and the $0.01 USDC cost per successful call under x402. It stops short of covering latency, error behavior, or whether a higher step count changes cost.

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, each carrying distinct information: capability and output shape, content policy, then price and payment protocol. Front-loaded with what the tool does, with no filler.

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 simple two-parameter tool with no output schema, the description supplies the missing return-value information (base64 data URL JPEG) plus pricing and refusal semantics. The only remaining gap is failure/retry behavior when a call is rejected or the upstream service errors.

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 both parameters (prompt with a 1000-character cap, steps with a 1-8 range and default of 4) are already fully documented in the schema. The description does not add guidance on writing effective prompts or on when to raise steps, so baseline 3 applies.

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 ('AI image generation from a text prompt') and pins down the model (FLUX.1 schnell) and output (1024x1024 JPEG as base64 data URL), so the agent knows exactly what it gets. No sibling is image-related, so there is nothing meaningful to differentiate against, which keeps it just short of a 5.

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?

Usage is only implied: an agent infers it should call this when it needs a generated image. The description adds useful boundary context (sexual or graphic prompts are refused and not charged) but never says when to prefer this over alternatives or what prerequisites exist for the paid x402 call.

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