Skip to main content
Glama
VPCriativo94

gemini-nano-banana-mcp

by VPCriativo94

Generate image

generate_image

Turn text prompts into images with Google's Gemini Nano Banana models. Specify a prompt, model, aspect ratio, and file name; saves the image locally and returns its path.

Instructions

Generate an image from a text prompt using Google's Gemini image models (Nano Banana). Saves the result as a local file and returns its path.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modelNoGemini image model id. Defaults to "gemini-2.5-flash-image".
promptYesText description of the image to generate
file_nameNoOptional output file name. Defaults to a timestamp.
aspect_ratioNoOptional aspect ratio, e.g. "1:1", "16:9", "9:16".
Behavior4/5

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

No annotations are provided, so the description carries the full burden. It explicitly discloses the key side effect of saving the result as a local file and returning its path, which is essential for an agent to understand the tool's behavior. It does not mention potential errors or network dependencies, but the core behavioral trait is transparent.

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?

The description is a single, well-structured sentence that front-loads the primary action, includes the model context, and states the output. Every clause earns its place with no unnecessary fluff.

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?

Given there is no output schema, the description covers the return value (the file path). It explains the core purpose and the side effect of file creation. The tool's complexity is low, with only one required parameter, and the description provides enough context for an agent to invoke it correctly. Minor gaps like error conditions are not critical.

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?

All four parameters are fully documented in the schema (100% coverage), so the description does not add significant parameter-level clarification beyond what the schema already provides. The mention of 'text prompt' and 'local file' loosely relates to prompt and file_name, but it does not add new meaning to individual parameters. Baseline of 3 is appropriate.

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 description uses a specific verb ('Generate') and resource ('an image'), clearly states the model family (Gemini image models) and the output behavior (saves to a local file, returns its path). This is unambiguous and distinguishes the tool from any potential image-related sibling, though none exist.

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?

There are no sibling tools to differentiate against, but the description clearly implies the usage scenario: converting a text prompt into an image. It does not explicitly state when not to use it or list alternatives, but given the absence of siblings and the self-explanatory nature, it provides clear context without exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/VPCriativo94/gemini-nano-banana-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server