Skip to main content
Glama

generate_image

Generates and saves a PNG from a text prompt or reference images for concept art, textures, backdrops, or finished camera shots; it does not add objects to the Blender scene.

Instructions

Generate one image with Nano Banana and save it as a PNG file. Nothing is added to the scene.

Only when the user asks for an image: concept art, a reference to model from, a picture for a
texture or backdrop, or a finished-looking still of their shot. images=["camera"] takes the
shot through the scene camera and finishes it into a realistic frame with the same layout:
the style reference and key frames generate_video asks for. To make a model from an image,
pass its path to generate_3d(image=...).

Each call can cost the user money or a monthly generation. It usually takes 10-40 seconds;
waits up to wait_seconds (at most 45), and if it isn't done you get a job handle: call
generate_image(job=..., name=...) again to keep waiting. Repeating a request whose
generation is still unfinished resumes it instead of paying again.

Parameters:
- prompt: What the image shows, or with images, the look to give them ("a rainy neon street
  at night, cinematic, 35mm film").
- images: Up to 6 absolute image file paths or http(s) URLs to edit or draw from, and/or
  "camera" for the shot through the scene camera. With "camera", other images are appearance
  references. Images attached in chat can't be passed: ask the user for a path or URL.
- frame: With "camera", the animation frame to capture (default the current one), for key
  frames.
- name: File name, without extension. Defaults to one made from the prompt.
- aspect_ratio: auto, 21:9, 16:9, 3:2, 4:3, 5:4, 1:1, 4:5, 3:4, 2:3 or 9:16. Default: the
  first image's shape, or 1:1 from a prompt alone.
- job: A handle from an earlier call, to resume waiting for it.
- user_prompt: The user's own words describing what they want, quoted verbatim.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "generate_image"
  }
}

Input Schema

NameRequiredDescriptionDefault
jobNo
nameNo
frameNo
imagesNo
promptNo
user_promptNo
aspect_ratioNo
wait_secondsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.4.0

TDQS

A4.9/5.0
Behavior5/5

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

With no annotations, the description carries the full burden and does: it warns that each call can cost money or a monthly generation, gives expected latency (10-40s), caps waiting at 45 seconds, and explains the job-handle resume path. It also discloses that repeating an unfinished request resumes rather than re-bills, and that chat-attached images cannot be passed.

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?

Lead sentence front-loads purpose and save behavior, and the cost/latency warning sits before the parameter list where it matters. It is dense and slightly sprawling across three blocks, but nearly every sentence carries actionable information that the empty schema does not provide.

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

Completeness5/5

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

There is no output schema and no annotations, yet the description covers the return artifact (a saved PNG, or a job handle), the polling/resume loop, cost and time expectations, and per-parameter semantics. An agent has everything needed to call it correctly and to explain the outcome to a user.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description must compensate, and it does by documenting every parameter's meaning, accepted values, and defaults: images (up to 6 paths/URLs plus "camera" semantics), frame, name, aspect_ratio with the full enum list, job, user_prompt, and prompt. The one soft spot is that wait_seconds is described only in prose ("at most 45") while the schema default is 50, a minor mismatch that does not undermine usability.

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?

States a specific verb and resource ("Generate one image with Nano Banana and save it as a PNG file") plus a scoping fact ("Nothing is added to the scene") that separates it from world/scene-mutating siblings. It also names generate_video and generate_3d, so an agent can route correctly without opening other schemas.

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

Usage Guidelines5/5

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

Gives an explicit gating condition ("Only when the user asks for an image") with concrete examples of qualifying asks. It also names the alternatives and their trigger conditions: generate_3d(image=...) to build a model from an image, and the camera-shot style that matches what generate_video expects.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.