Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_MODELNoDefault image model (e.g., gemini-2.0-flash-preview-image-generation).
GEMINI_API_KEYNoYour Gemini API key from Google AI Studio.
GEMINI_AUTH_MODENoSet to 'gemini-web' to use cookie-based authentication.
GEMINI_SECURE_1PSIDNoThe __Secure-1PSID cookie value from gemini.google.com.
GEMINI_SECURE_1PSIDTSNoOptional __Secure-1PSIDTS cookie value.

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
configure_api_keyA

Set or update the Gemini API key for image generation. The key is stored locally and persists across sessions.

configure_google_loginA

Switch to the free, unofficial "gemini-web" auth mode that uses your logged-in consumer Gemini (gemini.google.com) session instead of an API key. Supports image generation and editing (no video). Extract the cookies from your browser DevTools (Application > Cookies > gemini.google.com). Cookies are stored locally and may need re-extraction when they expire.

configure_modelA

Set the default Gemini model for image generation and editing. Persists across sessions. Use "quality" param to set either "high" (default) or "fast" model tier. High-quality: gemini-3.1-flash-image-preview (default). Fast/cheap: gemini-2.5-flash-image (default fast).

generate_imageA

Generate a new image from a text description using Gemini AI. Returns the generated image and saves it to disk.

edit_imageB

Edit an existing image based on text instructions. Provide the file path of the image to modify.

continue_editingA

Continue editing the last generated or edited image. Automatically uses the most recent image from the session.

generate_videoA

Generate a video from a text prompt using Gemini Veo. Supports text-to-video, image-to-video (first frame), and first+last frame interpolation. Video generation takes 1-6 minutes. Available models: veo-3.1-generate-preview (latest), veo-3-generate-preview, veo-2-generate-preview.

list_video_historyA

List recently generated videos with their prompts, models, and timestamps.

get_statusA

Check the current configuration status, active model, and last image/video information.

list_historyA

List recently generated and edited images with their prompts and timestamps.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4/5.0

Scored across 10 tools

Disambiguation5/5

Each tool targets a distinct operation: configuration tools are separated by purpose (API key, Google login, model), image tools separate generation from editing and continuation, video tool stands alone, and info tools provide status and history without overlap.

Naming Consistency5/5

All tools follow a consistent verb_noun snake_case pattern (e.g., configure_api_key, generate_image, list_history). The only slight deviation is 'continue_editing' (gerund) but it still fits the verb+noun structure.

Tool Count5/5

The server covers configuration (3 tools), image generation/editing (3), video generation (1), and info retrieval (3) with a total of 10 tools. This is well-scoped for a Gemini AI media generation server without unnecessary bloat.

Completeness4/5

The tool surface covers the full lifecycle: configuration, generation, editing, and history. A minor gap is the lack of delete or management actions for generated media, but the core workflow is complete.

Maintenance

ActivityInactive
ResponsivenessNo issues