Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
GLM_MODELNoThe GLM vision model to useglm-4.6v-flash
GLM_API_URLNoThe GLM API endpoint URL
ZHIPU_API_KEYYesYour Zhipu API key (required)
GLM_TIMEOUT_MSNoRequest timeout in milliseconds. The default timeout is 120 seconds.120 seconds

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
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
analyze_imageA

用 GLM-4.6V-Flash(免费视觉模型)分析单张图片。source 可以是本地路径或 http(s) 图片 URL。

analyze_imagesA

用 GLM-4.6V-Flash 同时分析多张图片(按顺序传入,2~6 张为宜)。本地路径或 URL 均可。

analyze_videoB

用 GLM-4.6V-Flash 分析视频(建议用公网可访问的 URL,如 mp4)。

analyze_fileA

用 GLM-4.6V-Flash 分析文件(PDF/文档等,本地路径会自动转成 data URL)。

ocr_imageB

OCR:识别图片中的文字(适合截图、票据、书页等)。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.5/5.0

Scored across 5 tools

Disambiguation3/5

The four analyze_* tools are separated only by input modality (image, images, video, file), and analyze_image vs analyze_images differs only in count, which invites misselection. ocr_image is clearly distinct. Descriptions help somewhat, but an agent could easily pick analyze_images for a single image or analyze_file for an image file.

Naming Consistency5/5

All tools follow a consistent verb_noun snake_case pattern (analyze_image, analyze_images, analyze_video, analyze_file, ocr_image). The naming is predictable and readable throughout.

Tool Count4/5

Five tools is a reasonable, well-scoped set for a vision analysis server. It is slightly thin—analyze_image and analyze_images could arguably be merged into one tool with a list parameter—but no tool is superfluous.

Completeness4/5

The surface covers the main modalities: single image, multiple images, video, document, and OCR. Minor gaps remain (no batch OCR, no video-from-local-path handling, no result caching/follow-up operations), but core vision workflows are covered.