Skip to main content
Glama
Nano Banana MCP Server

Nano Banana MCP Server

by Lennix

generate_image

Create single or multiple AI images from text prompts and control style, variations, aspect ratio, resolution, and output format.

Instructions

Generate single or multiple images from text prompts with style and variation options

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
seedNoSeed for reproducible variations
formatNoOutput format: separate files or single grid imageseparate
promptYesThe text prompt describing the image to generate
stylesNoArray of artistic styles: photorealistic, watercolor, oil-painting, sketch, pixel-art, anime, vintage, modern, abstract, minimalist
previewNoAutomatically open generated images in default viewer
imageSizeNoOutput image resolution (default: 1K). Must use uppercase K.1K
variationsNoArray of variation types: lighting, angle, color-palette, composition, mood, season, time-of-day
aspectRatioNoAspect ratio of generated image (default: 1:1)1:1
outputCountNoNumber of variations to generate (1-8, default: 1)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.11

TDQS

B3.2/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full disclosure burden, and it says nothing about cost, latency, rate limits, where generated files land, or whether generation is idempotent with a seed. For a generative, potentially expensive operation with no output schema, these omissions are material.

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?

A single front-loaded sentence with the core capability first and secondary options trailing. Nothing is wasted, though the brevity leaves the definition short on substance rather than padded.

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 nine parameters fully documented in the schema, the parameter side is covered, but the tool has no annotations and no output schema, so the description should have said what comes back and any cost or side-effect information. Complete on inputs, thin on behavior.

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 every parameter (prompt, styles, variations, seed, aspectRatio, imageSize, outputCount, format, preview) is already documented in the schema. The description's mention of "style and variation options" only echoes those fields without adding format or interaction guidance, so 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?

The description gives a specific verb and resource ("Generate ... images from text prompts") and adds scope (single or multiple, style and variation options). It does not name or distinguish itself from siblings like generate_icon, generate_pattern, or generate_diagram, so an agent must infer the generic-vs-specialized split.

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

Usage Guidelines3/5

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

Usage is only implied: an agent can reason that this is the general-purpose image generator, but the description never states when to prefer it over the specialized siblings or when it is inappropriate. No prerequisites, no exclusions, no alternatives are named.

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