Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GEN_IMAGE_MODELNoImages model list, comma-separated, used in order.
GEN_IMAGE_API_KEYYesRequired. Non-empty API key.
GEN_IMAGE_BASE_URLYesRequired. Full HTTP/HTTPS root address; no authentication info, query parameters, or fragments. Do not fill in a specific image endpoint.
GEN_IMAGE_TIMEOUT_MSNoSingle upstream request timeout in milliseconds, default 120000, positive integer, max 2147483647.120000
GEN_IMAGE_GEMINI_MODELNoGemini image model list, comma-separated, used in order.
GEN_IMAGE_AUTO_FALLBACKNotrue or false, default false.false

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
}
resources
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
list_modelsA

List configured model groups and the tools that use them. Returns configuration only — not live availability. Does not use network, credentials, or base URL.

generate_imageA

Generate images with POST /v1/images/generations (OpenAI Images API). Use for gpt-image-2 and other Images-only models. Do not send those models to chat completions.

edit_imageB

Edit or combine local images with POST /v1/images/edits (multipart). Use for gpt-image-2 image-to-image. Do not set input_fidelity for gpt-image-2.

generate_gemini_imageA

Generate or edit images with POST /v1/chat/completions using a Gemini image model. Do not call /v1/images/* for Gemini image models.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.9/5.0

Scored across 4 tools

Disambiguation4/5

Each tool is tied to a specific API/model family: generate_image/edit_image for OpenAI image endpoints, generate_gemini_image for Gemini chat-completions, and list_models for configuration. There is slight functional overlap between generate_gemini_image and generate_image, but the usage rules make selection clear.

Naming Consistency5/5

All tool names follow a consistent snake_case verb_noun pattern: list_models, generate_image, edit_image, generate_gemini_image. The model qualifier in generate_gemini_image is informative rather than inconsistent.

Tool Count5/5

Four tools cover the core image generation and editing workflows plus model discovery. This is a well-scoped set with no redundant or filler tools.

Completeness4/5

The set covers generation and editing for both Gemini and OpenAI image models, plus model listing. Missing image variation functionality is a minor gap, but the main workflows have no dead ends.

Maintenance

ActivityNo data
ResponsivenessNo issues