Skip to main content
Glama

raen_image_generate

Read-only

Generate an AI image from a text prompt (Gemini upstream). Returns base64 PNG metadata/JSON. $0.01 USDC (x402, Base).

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

Input Schema

NameRequiredDescriptionDefault
promptYesText prompt describing the image
aspectRatioNoOutput aspect ratio (default 1:1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, openWorldHint=true, idempotentHint=false, so the safety profile is covered. The description adds real context beyond that: the Gemini upstream, that the result is base64 PNG metadata/JSON, and a concrete $0.01 USDC charge via x402 on Base — the cost disclosure is especially valuable for an agent deciding whether to invoke.

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 clauses, each front-loaded with the highest-value information: what it does, what comes back, what it costs. Nothing is wasted and no sentence restates the tool name.

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 two-parameter generation tool with no output schema, the description covers output format (base64 PNG metadata/JSON) and the payment mechanism, which are the two things an agent could not learn from structured fields. Payment flow details (how the x402 settlement is handled) are the only real gap.

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?

Input schema description coverage is 100%, with both 'prompt' and the enum-constrained 'aspectRatio' documented (including the 1:1 default), so the schema carries the burden. The description adds no syntax, length limits, or prompt-quality hints beyond what the schema already states, which is the expected baseline.

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?

The description gives a specific verb and resource ('Generate an AI image from a text prompt') and even names the upstream model provider. It does not differentiate from siblings, but the siblings (contract analysis, dispute letter, law lookup, ticker analysis) are in unrelated domains, so the differentiation gap is minor.

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 explicit when-to-use or when-not-to-use guidance, and no alternatives are named. Usage is only inferable from the purpose statement ('generate an image'), which is thin guidance for a paid operation where an agent should know the cost implications before invoking.

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.