Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEMINI_1PSIDYesThe value of the __Secure-1PSID cookie from gemini.google.com. Equivalent to being logged in as you. Required for authentication.
GEMINI_1PSIDTSYesThe value of the __Secure-1PSIDTS cookie from gemini.google.com. Equivalent to being logged in as you. Required for authentication and rotates frequently.
GEMINI_COOKIE_PATHNoPath where the refreshed __Secure-1PSIDTS value is persisted. Defaults to output/.cookies.output/.cookies

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": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
generate_imageA

Generate one or more new images from a text prompt using the Gemini web app.

The prompt should describe the desired image in as much visual detail as helpful (subject, style, composition, lighting, etc.) - it is sent to Gemini as an image generation request. Newly generated images are saved to disk and appended to the cumulative HTML gallery; this tool returns the absolute paths of the new images plus the gallery path so the result can be viewed.

Parameters

prompt: str A description of the image to generate. model: str | None, optional Model name/alias/id to use (see list_models). Defaults to the server's configured default model, or the account's own default if unset.

edit_imageA

Edit one or more existing local image files using a text instruction.

image_paths must be paths to existing image files on disk (e.g. a photo or a previously generated image) describing what to edit; prompt describes the desired change. The edited image(s) Gemini returns are saved to disk and appended to the cumulative HTML gallery; this tool returns the absolute paths of the new images plus the gallery path so the result can be viewed.

Parameters

prompt: str Instructions describing the desired edit. image_paths: list[str] Paths to existing local image files to edit. model: str | None, optional Model name/alias/id to use (see list_models). Defaults to the server's configured default model, or the account's own default if unset.

list_modelsA

List the Gemini models (image/chat) available to the currently signed-in account.

Returns each model's display name and internal model name/id, one per line. Use a model_name value from this list as the model argument to generate_image or edit_image to override the default model.

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/5.0

Scored across 3 tools

Disambiguation5/5

Each tool serves a clearly distinct purpose: generate new images, edit existing images, and list available models. There is no meaningful overlap between these operations, so an agent can reliably select the right tool.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case: generate_image, list_models, edit_image. This creates a predictable and readable naming convention across the entire set.

Tool Count5/5

Three tools is a well-scoped count for an image generation and editing server. Each tool covers a necessary core function without redundancy or unnecessary bloat.

Completeness4/5

The server covers the core image workflow: generating, editing, and choosing models. Minor gaps exist, such as no explicit gallery management or image deletion, but these are not essential to the stated purpose.

Maintenance

ActivityMaintained
ResponsivenessNo issues