Skip to main content
Glama

Gemini Generate Image Tool

gemini_generate_image_tool

Generate images from text prompts using Gemini's native model. Specify style, size, aspect ratio, and optionally ground results with Google Search.

Instructions

Generate an image from a text prompt using Gemini's native image model.

Input Schema

NameRequiredDescriptionDefault
styleNoOptional style modifier (photorealistic, cartoon, watercolor, etc).
promptYesDescription of the image to generate.
image_sizeNoOutput size (1K, 2K, 4K).2K
aspect_ratioNoAspect ratio (1:1, 2:3, 3:2, 3:4, 4:3, 9:16, 16:9, etc).1:1
use_google_searchNoGround with Google Search results.

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations are provided, so the description carries full behavioral burden, yet it discloses nothing about latency, cost, rate limits, or whether generation is reversible. The phrase 'Gemini's native image model' hints at a model choice but gives no practical behavioral context.

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 front-loaded sentence with no filler; the verb and resource come first and nothing redundant is included.

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?

An output schema exists and schema coverage is complete, so return values and parameters are covered. The remaining gap is sibling disambiguation among many image tools, which the description does not address.

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 all five parameters (prompt, style, image_size, aspect_ratio, use_google_search) are already documented in the schema. The description adds no extra syntax or format meaning beyond what the schema provides, so the 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 (generate), resource (image), input modality (text prompt) and names the underlying model family (Gemini native), which distinguishes it from the Imagen sibling. However, it does not explicitly contrast with gemini_generate_image_with_input_tool or gemini_imagen_generate_tool, leaving the agent to infer the boundary.

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?

No when-to-use guidance, no exclusions, and no named alternatives despite several closely related image-generation siblings. The agent must guess whether to prefer this over gemini_imagen_generate_tool or gemini_generate_image_with_input_tool.

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