Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ZAI_API_KEYNoZhipu API key.
VISION_DEBUGNoSet to 'true' to output redacted debug logs to stderr.false
VISION_MODELSNoComma-separated ordered list of vision model IDs for Zhipu or OpenAI-compatible providers.
VISION_ROUTESNoJSON string configuring routes for multiple providers. Overrides all simplified configuration.
OPENAI_API_KEYNoAPI key for the OpenAI-compatible API.
OPENAI_BASE_URLNoBase URL for the OpenAI-compatible API, e.g. https://provider.example/v1
VISION_PROVIDERNoProvider selector for simplified configuration. Set to 'zhipu' for Zhipu or 'openai-compatible' for a generic OpenAI-compatible API.
MODELSCOPE_MODELNoLegacy single model ID for ModelScope. Superseded by MODELSCOPE_MODELS if both are set.
MODELSCOPE_TOKENNoModelScope API token for the ModelScope provider.
MODELSCOPE_MODELSNoComma-separated ordered list of ModelScope model IDs. All models share the same MODELSCOPE_TOKEN.
VISION_API_KEY_ENVNoAlternative environment variable name that contains the API key for simplified configuration.
VISION_ALLOWED_DIRSNoComma-separated list of allowed local directories for image reading.
VISION_MAX_IMAGE_EDGENoMaximum image edge length in pixels for simplified config.2048
VISION_MAX_IMAGE_BYTESNoMaximum image size in bytes for input or processed images.20971520
VISION_MAX_IMAGE_PIXELSNoMaximum pixel count for decoded images.40000000
VISION_REQUEST_TIMEOUT_MSNoTimeout in milliseconds for model API requests.60000
VISION_FALLBACK_COOLDOWN_MSNoCooldown period in milliseconds for failed routes.60000
VISION_IMAGE_DOWNLOAD_TIMEOUT_MSNoTimeout in milliseconds for downloading online images.15000

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
analyze_imageA

使用可配置的视觉模型分析图片;遇到限流、超时或服务故障时可自动切换备用模型

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Markusbetter/vision-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server