Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
NANOBANANA_MODELNoDefault model to use (gemini-3.1-flash-image-preview or gemini-3-pro-image-preview).
GOOGLE_AI_API_KEYYesGoogle AI API key obtained from Google AI Studio.

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
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
gemini_chatA

Chat with Gemini 3.1 Flash model. Supports multi-turn conversations with up to 10 reference images.

gemini_generate_imageB

Generate images using Gemini's image generation capabilities. Supports session-based image consistency for maintaining style/character across multiple generations.

gemini_edit_imageB

Edit or modify existing images based on prompts. Supports session history references ('last' or 'history:N') and image consistency features.

get_image_historyA

Get the list of generated/edited images in a session for reference

clear_conversationB

Clear conversation history for a specific conversation ID

set_aspect_ratioA

Set the aspect ratio for subsequent image generation and editing in this session. Must be called before generating/editing images if a specific ratio is desired.

set_modelA

Set the Gemini model for this session. 'flash' for faster generation (default), 'pro' for higher quality.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 7 tools

Disambiguation5/5

Each tool has a clearly distinct purpose with no overlap: conversation management (clear_conversation), chat (gemini_chat), image generation (gemini_generate_image), image editing (gemini_edit_image), history retrieval (get_image_history), aspect ratio configuration (set_aspect_ratio), and model selection (set_model). The boundaries between tools are well-defined and unambiguous.

Naming Consistency4/5

The naming follows a mostly consistent pattern with six tools using snake_case and clear action-object naming (clear_conversation, get_image_history, set_aspect_ratio, set_model). The three gemini_* tools deviate slightly by prefixing with 'gemini_' but maintain internal consistency. The main inconsistency is that gemini_chat doesn't follow the verb_noun pattern as strictly as others.

Tool Count5/5

Seven tools is an ideal number for this Gemini interaction server, covering core functionality without bloat. Each tool serves a distinct purpose in the workflow: conversation management, chat interaction, image generation/editing, history access, and session configuration. No tool feels redundant or unnecessary for the server's scope.

Completeness4/5

The tool surface provides excellent coverage for Gemini-based chat and image workflows, including conversation management, multi-modal chat, image generation/editing, and session configuration. The only minor gap is the lack of a tool to manage multiple conversations or sessions beyond the current one, but agents can work effectively with the provided tools for most use cases.

Maintenance

ActivityInactive
ResponsivenessNo issues