Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CLIPROXY_API_KEYYesThe API key for authenticating with your CLIProxy service
CLIPROXY_BASE_URLYesThe base URL of the CLIProxy API, e.g. http://127.0.0.1:8317/v1
CLIPROXY_OUTPUT_DIRNoDirectory where generated images will be saved./output
CLIPROXY_TIMEOUT_MSNoTimeout for image generation requests in milliseconds300000
CLIPROXY_IMAGE_MODELNoThe image model ID exposed by CLIProxy, e.g. gpt-image-2.5-flaregpt-image-2.5-flare

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
list_modelsA

查询已配置 CLIProxy 的可用模型 ID。列表不保证所有模型支持所有接口。

generate_textA

通过 CLIProxy 生成文本。支持 Chat Completions 和 Responses;调用可能消耗额度。

generate_imageA

通过 CLIProxy 的 images/generations 生成一张图片并保存本地,返回绝对路径、实际尺寸和 PNG 预览。默认 gpt-image-2.5-flare,也可指定 gpt-image-2.5-sunburst 或其他模型。可能消耗额度,失败不自动重试。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.2/5.0

Scored across 3 tools

Disambiguation5/5

Each tool has a clearly distinct purpose: listing available models, generating text, and generating images. There is no overlap or ambiguity between them.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern: list_models, generate_text, generate_image. The naming is predictable and easily understood.

Tool Count5/5

Three tools is well-scoped for a narrow proxy service focused on model discovery, text generation, and image generation. Each tool earns its place without unnecessary bloat.

Completeness5/5

The tool surface covers the core lifecycle of the domain: discovering available models, generating text, and generating images. No obvious critical operations are missing for the stated purpose.

Maintenance

ActivityMaintained
ResponsivenessNo issues