Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
VISION_API_KEYYesYour model provider's API key
VISION_BASE_URLNoCustom API base URL
VISION_MODEL_IDNoThe vision model to useglm-4.6v-flash
VISION_MAX_TOKENSNoMax response tokens2048
VISION_TEMPERATURENoSampling temperature0.4
VISION_MODEL_PROVIDERNoProvider name (e.g., zhipu, openai, deepseek, moonshot, siliconflow, custom)zhipu

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": false
}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
see_imageA

Look at an image and answer a question about it.

This is the core vision tool. Use it whenever you need to understand, describe, or reason about visual content that you cannot see.

Args: image: The image to analyze. Accepts: - A local file path (e.g. /home/user/photo.jpg) - An HTTP(S) URL (e.g. https://example.com/img.png) - A base64-encoded string (with or without data-URI prefix) question: What you want to know about the image. Default: "What is in this image?"

Returns: The vision model's answer as plain text.

Examples: >>> see_image("/tmp/screenshot.png", "What error is shown in this dialog?") >>> see_image("https://example.com/chart.png", "What's the trend?") >>> see_image("iVBORw0KGgo...", "Is this a cat or a dog?")

describe_imageA

Generate a text description of an image.

Useful when you need a caption, alt text, or a general summary of what an image contains without asking a specific question.

Args: image: The image to describe (file path, URL, or base64). detail_level: How detailed the description should be. Options: "brief", "detailed", "exhaustive". Default: "detailed".

Returns: A text description of the image.

Examples: >>> describe_image("/tmp/product.jpg") >>> describe_image("https://site.com/scene.png", "brief")

extract_textA

Extract (OCR) all visible text from an image.

Ideal for screenshots of documents, code, error messages, or any image where the text content matters more than the visual appearance.

Args: image: The image containing text (file path, URL, or base64). language_hint: Optional hint about the text language (e.g. "Chinese", "English", "mixed"). Helps the model focus on the right character set.

Returns: All text found in the image, preserving layout where possible.

Examples: >>> extract_text("/tmp/error_screenshot.png") >>> extract_text("/tmp/receipt.jpg", "Chinese")

analyze_chartA

Analyze a chart, graph, diagram, or UI screenshot.

Specialised for understanding data visualisations, technical diagrams, flowcharts, and UI screenshots where spatial layout and relationships matter.

Args: image: The chart/diagram image (file path, URL, or base64). question: Optional specific question about the chart. If empty, a general analysis is performed.

Returns: A text analysis of the chart or diagram.

Examples: >>> analyze_chart("/tmp/q1_revenue.png") >>> analyze_chart("/tmp/architecture.png", "What are the main components?")

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/xiayuyang750/glm-vision-mcp'

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