Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ARK_API_KEYYes视觉模型凭据
ARK_BASE_URLYesOpenAI 兼容接入点(/chat/completions)
VISION_MODELYes视觉模型 id
VISION_TIMEOUTNo请求超时秒数(默认 60)60
VISION_MAX_TOKENSNo单次识别最大输出 token(默认 2048)2048

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
recognize_imageA

识别图片内容并返回文字描述。

适用于截图分析、UI 审查、图片内容理解、图表解读等场景。

Args: image: 图片来源,支持三种形式: 1. 本地文件绝对/相对路径(如 /tmp/a.png、./pic.jpg) 2. http(s) 网络图片 URL 3. base64 编码字符串(裸串即可,无需 data: 前缀) prompt: 想让模型关注的重点或要回答的问题。 默认为详细描述图片全部内容。

Returns: 视觉模型给出的图片文字描述。

Raises: FileNotFoundError: 本地图片路径不存在。 RuntimeError: 未配置 API key 或视觉模型调用失败。

ocr_imageA

提取图片中的所有文字内容(OCR),保持原始排版。

与 recognize_image 的区别:本工具只提取文字,不描述图像本身, 适合截图取字、票据/单据录入、文档数字化等场景。

Args: image: 图片来源,支持本地路径 / http(s) URL / base64 字符串。

Returns: 图片中识别到的纯文本内容。

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

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