Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault

No arguments

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": false
}
resources
{
  "subscribe": false,
  "listChanged": false
}
extensions
{
  "io.modelcontextprotocol/ui": {}
}
experimental
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
discoverD

发现服务端 API 信息

set_server_urlC

设置服务器地址并保存到配置文件

registerB

注册客户端账号,获取 api_key(仅需一次)

update_profileC

修改当前客户端用户名

list_servicesC

获取可用的 Agent 服务列表(轻量摘要)

get_service_usageB

获取指定服务的详细用法说明(能力范围、调用规范、返回格式、限制条件)

submit_taskC

提交任务到远程 Agent(支持文件上传)

input_files 为本地文件路径列表,只能上传当前工作目录下的文件,单个文件不超过 100MB。

get_taskA

查询任务状态和最终结果(仅在用户明确要求时调用)

⚠️ 不要主动轮询。只有在用户明确要求查询任务状态时,才调用此工具。

poll_taskA

轮询任务直到获得最终结果(仅用户明确要求时使用)

每 20 秒查询一次任务状态,直到任务进入 completed / failed / cancelled 状态。 默认不设置超时;传入 timeout_seconds 可限制最大轮询时长。

⚠️ 重要:Agent 禁止主动调用此工具。ONLY use this tool when the user explicitly asks to wait for or poll a task result (e.g. "帮我等结果"、"轮询一下任务"). 如果用户没有明确表达等待意图,应询问用户而不是直接轮询。

cancel_taskC

取消执行中的任务

list_filesC

列出任务的结果文件

download_resultA

下载任务结果文件并返回每个文件的完整路径

  • file_id: 指定要下载的文件 ID,不指定则默认下载第一个 zip 文件或第一个文件

  • download_all: 是否下载该任务的所有结果文件

返回结果中会明确列出每个文件的完整路径,读取文件时请直接使用这些路径,不要推测子目录。

list_serversB

列出所有已配置的服务器

set_default_serverC

切换默认服务器

remove_serverB

删除指定服务器的配置(不能删除默认服务器)

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/Wolido/OpenAaaS'

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