Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_API_KEYNoGemini API key; if provided, skips OAuth and uses this key.
NANO_BANANA_CLIENT_IDNoOverride embedded OAuth client ID.
NANO_BANANA_CONFIG_DIRNoCustom config directory.
NANO_BANANA_OUTPUT_DIRNoCustom image output directory.
NANO_BANANA_CLIENT_SECRETNoOverride embedded OAuth client secret.

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_imageA

Create a new image from a text prompt using Google Gemini image models. Returns the file path of the saved image.

edit_imageA

Edit an existing image using a text prompt. Optionally provide reference images for style guidance. Returns the file path of the saved result.

continue_editingA

Refine the last generated or edited image with a new prompt. Must call generate_image or edit_image first. Returns the file path of the saved result.

configure_authA

Set a Gemini API key for authentication. Get your key from Google AI Studio (https://aistudio.google.com/apikey).

get_statusA

Check current authentication state, active model, and image output directory. Use this to verify setup before generating images.

get_last_imageA

Get metadata about the most recently generated or edited image, including file path, MIME type, timestamp, and size.

list_modelsA

List all available Gemini image models with their product name, ID, and whether they are the default. Use model IDs when calling generate_image, edit_image, or continue_editing.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources