Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
OPENAI_API_KEYYesYour OpenAI API key, required for authentication.
GPT_MCP_OUTPUT_DIRNoDefault save folder for generate_image_to_file tool.
OPENAI_IMAGE_MODELNoThe image model to use (defaults to gpt-image-1).

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_image_to_fileA

Generate an image with OpenAI and SAVE it as a file on disk. Returns the absolute file path (no image bytes are sent back through the model context). Best for real, full-resolution assets — lossless and cheap on context. Optionally set output_dir/filename.

generate_image_bytesA

Generate an image with OpenAI and RETURN it inline as a base64 image block (no file is written). The image is viewable directly in the conversation. Note: large/full-res images are heavy to pass this way — best for small previews/icons. To persist a returned image, the assistant should re-save it.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.1/5.0

Scored across 2 tools

Disambiguation4/5

Both tools perform the same underlying operation (OpenAI image generation) and differ only in output delivery, which inherently invites confusion. However, the descriptions explicitly contrast file-output vs inline-bytes and give guidance on when each is appropriate, so an agent can choose correctly.

Naming Consistency5/5

Both names follow a clean snake_case generate_image_<output_mode> pattern, with the suffix precisely encoding the one behavioral difference. Highly predictable and readable.

Tool Count3/5

Two tools is thin for a server named gpt-mcp, which implies a broader OpenAI surface. Each tool does earn its place, but the set feels narrow rather than well-scoped.

Completeness3/5

The image-generation paths are fully covered (persist to disk and inline preview), but there are notable gaps: no image edit/variation, no size/quality parameters exposed, and no text/chat completion tools despite the GPT-oriented name.