Skip to main content
Glama

RegiAI

Generate image

generate_image

Generate a new image from a text prompt, or edit an input image with a prompt.

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_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
imageNoInput image (a file the user uploaded).
promptYesWhat to create, or how to edit the input image.
aspect_ratioNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, idempotentHint=false, destructiveHint=false and openWorldHint=false, so the agent knows this is a non-idempotent mutation that does not reach external accounts. The description adds the dual-mode behavior (generate vs. edit) beyond that, but says nothing about cost, latency, rate limits, or what happens to the source image when editing.

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?

A single sentence covering both operating modes, with the primary verb front-loaded and no filler. Nothing could be removed without losing a mode.

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

Completeness3/5

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

There is no output schema, yet the description never indicates what is returned (presumably an image/file reference) or how the agent should surface it. For a simple three-parameter tool with annotations covering the safety profile this is mostly adequate, but the missing return information and sibling routing keep it at minimum-viable.

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%, so the schema already documents `image` as 'a file the user uploaded' and `prompt` as 'What to create, or how to edit the input image'. The description only restates that split and adds nothing for `aspect_ratio`, such as a default or which modes honor it — baseline 3 is appropriate.

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 a new image') and additionally covers the second mode ('edit an input image with a prompt'), so an agent can tell what the tool produces. It does not, however, distinguish itself from sibling tools like ai_image_generator or ai_image_editor, which appear to cover the same two modes.

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?

The description implies that supplying an `image` selects edit mode and omitting it selects generation, but it never states that as a rule and gives no when-to-use/when-not-to-use guidance. With near-identical siblings (ai_image_editor, ai_image_generator) present, the absence of any routing guidance is a real gap.

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