Skip to main content
Glama

generate_image

Destructive

Generate an image with a Morphix model. Spends credits. Renders a live view that polls itself until the image is ready. Pick a model with explore_models. Pass asset ids to edit or reference existing images.

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": {
      "model": "<model>",
      "promptText": "<promptText>",
      "aspectRatio": "<aspectRatio>"
    },
    "name": "generate_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
modelYes
assetIdsNo
promptTextYes
resolutionNo
variationsNo
aspectRatioYes
imageStyleIdNo

Output Schema

NameRequiredDescriptionDefault
generationsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "black-forest-labs/flux-dev",
      -  "black-forest-labs/flux-kontext-dev",
      -  "black-forest-labs/flux-2-dev",
      -  "black-forest-labs/flux-2-max",
      -  "black-forest-labs/flux-3-image",
      -  "google/nano-banana",
      -  "google/nano-banana-2",
      -  "google/nano-banana-2.1",
      -  "google/nano-banana-2-lite",
      -  "google/nano-banana-pro",
      -  "openai/gpt-image-1",
      -  "openai/gpt-image-1.5",
      -  "openai/gpt-image-2",
      -  "openai/gpt-image-2.5-flare",
      -  "openai/gpt-image-2.5-sunburst",
      -  "bytedance/seedream-4",
      -  "bytedance/seedream-5-lite",
      -  "bytedance/seedream-5-pro",
      -  "bytedance/seedream-5.5",
      -  "qwen/qwen-image",
      -  "krea/krea-2-medium",
      -  "krea/krea-2-medium-turbo",
      -  "krea/krea-2-large",
      -  "krea/krea-3",
      -  "recraft-ai/recraft-v4",
      -  "microsoft/mai-image-2.5",
      -  "xai/grok-imagine-image-2",
      -  "ideogram-ai/ideogram-4-5"
      -]New value: +[
      +  "black-forest-labs/flux-dev",
      +  "black-forest-labs/flux-kontext-dev",
      +  "black-forest-labs/flux-2-dev",
      +  "black-forest-labs/flux-2-max",
      +  "black-forest-labs/flux-3-image",
      +  "google/nano-banana",
      +  "google/nano-banana-2",
      +  "google/nano-banana-2.1",
      +  "google/nano-banana-2-lite",
      +  "google/nano-banana-pro",
      +  "openai/gpt-image-1",
      +  "openai/gpt-image-1.5",
      +  "openai/gpt-image-2",
      +  "openai/gpt-image-2.5-flare",
      +  "openai/gpt-image-2.5-sunburst",
      +  "bytedance/seedream-4",
      +  "bytedance/seedream-5-lite",
      +  "bytedance/seedream-5-pro",
      +  "bytedance/seedream-5.5",
      +  "qwen/qwen-image",
      +  "krea/krea-2-medium",
      +  "krea/krea-2-medium-turbo",
      +  "krea/krea-2-large",
      +  "krea/krea-3",
      +  "recraft-ai/recraft-v4",
      +  "microsoft/mai-image-2.5",
      +  "xai/grok-imagine-image-2",
      +  "ideogram-ai/ideogram-4-5",
      +  "ideogram-ai/ideogram-4-6",
      +  "ideogram-ai/ideogram-4-6-lite",
      +  "ideogram-ai/ideogram-4-6-turbo"
      +]
  2. Changed1 schema field changed
    • changedInput schema / properties / model / enum
      Previous value: -[
      -  "black-forest-labs/flux-dev",
      -  "black-forest-labs/flux-kontext-dev",
      -  "black-forest-labs/flux-2-dev",
      -  "black-forest-labs/flux-2-max",
      -  "black-forest-labs/flux-3-image",
      -  "google/nano-banana",
      -  "google/nano-banana-2",
      -  "google/nano-banana-2.1",
      -  "google/nano-banana-2-lite",
      -  "google/nano-banana-pro",
      -  "openai/gpt-image-1",
      -  "openai/gpt-image-1.5",
      -  "openai/gpt-image-2",
      -  "openai/gpt-image-2.5-flare",
      -  "openai/gpt-image-2.5-sunburst",
      -  "bytedance/seedream-4",
      -  "bytedance/seedream-5-lite",
      -  "bytedance/seedream-5-pro",
      -  "qwen/qwen-image",
      -  "krea/krea-2-medium",
      -  "krea/krea-2-medium-turbo",
      -  "krea/krea-2-large",
      -  "krea/krea-3",
      -  "recraft-ai/recraft-v4",
      -  "microsoft/mai-image-2.5",
      -  "xai/grok-imagine-image-2",
      -  "ideogram-ai/ideogram-4-5"
      -]New value: +[
      +  "black-forest-labs/flux-dev",
      +  "black-forest-labs/flux-kontext-dev",
      +  "black-forest-labs/flux-2-dev",
      +  "black-forest-labs/flux-2-max",
      +  "black-forest-labs/flux-3-image",
      +  "google/nano-banana",
      +  "google/nano-banana-2",
      +  "google/nano-banana-2.1",
      +  "google/nano-banana-2-lite",
      +  "google/nano-banana-pro",
      +  "openai/gpt-image-1",
      +  "openai/gpt-image-1.5",
      +  "openai/gpt-image-2",
      +  "openai/gpt-image-2.5-flare",
      +  "openai/gpt-image-2.5-sunburst",
      +  "bytedance/seedream-4",
      +  "bytedance/seedream-5-lite",
      +  "bytedance/seedream-5-pro",
      +  "bytedance/seedream-5.5",
      +  "qwen/qwen-image",
      +  "krea/krea-2-medium",
      +  "krea/krea-2-medium-turbo",
      +  "krea/krea-2-large",
      +  "krea/krea-3",
      +  "recraft-ai/recraft-v4",
      +  "microsoft/mai-image-2.5",
      +  "xai/grok-imagine-image-2",
      +  "ideogram-ai/ideogram-4-5"
      +]
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

The description adds meaningful behavior beyond the annotations: it discloses that the call costs credits, and that it renders a live view that self-polls until completion, which tells the agent to expect an async, credit-consuming operation. It doesn't explain what destructiveness means in practice (e.g., whether passing assetIds overwrites the source assets), which is the remaining gap given destructiveHint=true.

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?

Four short sentences, front-loaded with purpose and cost, then the async-polling behavior, then the model and asset guidance. Every sentence carries distinct information; nothing is repeated from the schema or annotations.

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?

With an output schema present, the return value needs no explanation, and the polling note covers runtime behavior well. However, for a 7-parameter, credit-spending, destructive operation with zero schema description coverage, leaving four parameters undefined makes the definition only marginally sufficient.

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 description coverage is 0%, so the description carries the full burden, yet it only illuminates two of seven parameters — model selection (via explore_models) and assetIds (edit/reference existing images). resolution, variations, imageStyleId, and the meaning of the many aspectRatio enum values get no treatment, and even promptText is only implied.

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?

The first sentence names a specific verb ("Generate") and resource ("an image") tied to a named provider ("Morphix model"), which cleanly separates it from siblings like upscale_image, generate_video, and generate_audio. An agent can identify the operation without opening the schema.

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

Usage Guidelines4/5

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

It gives concrete routing guidance: "Pick a model with explore_models" establishes a prerequisite, and "Pass asset ids to edit or reference existing images" tells the agent when to use the asset path versus plain generation. It stops short of explicit when-not-to-use guidance (e.g., generation vs. upscaling an existing image), so it lands at 4 rather than 5.

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