Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MAX_TOKENSNoMaximum generation tokens (some models have lower limits)8192
MODEL_NAMENoOverride model name (provider-specific)
CUSTOM_PATHNoAPI path for custom endpoint/chat/completions
ZHIPU_API_KEYNoAPI key for Zhipu (GLM-4.6V)
CUSTOM_API_KEYNoAPI key for custom OpenAI-compatible endpoint
MODEL_PROVIDERNoModel provider: zhipu, siliconflow, qwen, volcengine, hunyuan, customzhipu
CUSTOM_BASE_URLNoBase URL for custom endpoint (e.g., https://your-endpoint.com/v1)
HUNYUAN_API_KEYNoAPI key for Hunyuan (Hunyuan-Vision-1.5)
CUSTOM_MODEL_NAMENoModel name for custom endpoint
CUSTOM_TIMEOUT_MSNoTimeout in milliseconds for custom endpoint60000
DASHSCOPE_API_KEYNoAPI key for Qwen (DashScope)
BASE_VISION_PROMPTNoCustom base vision prompt
CUSTOM_AUTH_HEADERNoAuth header type: bearer, x-api-key, custombearer
VOLCENGINE_API_KEYNoAPI key for Volcengine (Doubao-Seed-1.6)
SILICONFLOW_API_KEYNoAPI key for SiliconFlow (DeepSeek-OCR)
CUSTOM_THINKING_MODENoThinking mode: disabled, openai, qwen_extra_bodydisabled
CUSTOM_AUTH_HEADER_VALUENoCustom auth header template (e.g., 'X-API-Key: {{key}}')

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
image_understandA

图像理解工具(单一入口):

  • 何时调用:用户提到看图/截图/界面/报错/OCR/布局,或对话中出现图片附件并询问图片相关问题时,优先调用本工具。

  • 图片来源:粘贴图路径、本地路径、HTTP(S) URL、Data URI。

  • prompt:直接传入用户原始问题即可;服务端会拼接基础视觉协议与可选 task 指引。

  • task_type(可选):auto|general|ocr|ui|debug|describe。省略或 auto 时与旧版行为兼容(按 prompt 启发式)。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A4.4/5.0

Scored across 1 tool

Disambiguation5/5

Only one tool exists, so there is no possibility of misselection between tools. The tool's purpose is clearly defined with explicit call conditions and task types.

Naming Consistency5/5

The server has a single tool named 'image_understand' in snake_case. With only one tool, there is no naming pattern to conflict; the name is descriptive and consistent with a verb-adjacent structure.

Tool Count3/5

The server exposes exactly one tool. While the tool is comprehensive and well-designed, a single tool feels thin for an MCP server per the calibration guidelines, placing it in the borderline category.

Completeness5/5

The image_understand tool covers a broad range of use cases (general understanding, OCR, UI analysis, debugging, and description) via its task_type parameter. It provides a complete lifecycle for image understanding, with no obvious missing operations within its stated scope.

Maintenance

ActivitySlowing
ResponsivenessResponsive