Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DOCTROVE_DEBUGNoEnable debug logging. Set to 'true' to enable. Default 'false'. Can be set via --debug.false
DOCTROVE_CONFIGNoPath to a JSON configuration file. Default none. Can be set via --config.
DOCTROVE_CACHE_TTLNoCache lifetime in seconds (0-86400, 0 disables cache). Default 600. Can be set via --cache-ttl or --no-cache for 0.600
DOCTROVE_INDEX_URLNoRemote index URL. The URL of the directory containing index.json. If not set, offline mode uses the built-in index. Can be set via --index-url.
DOCTROVE_TIMEOUT_MSNoRemote index fetch timeout in milliseconds. Default 15000. Can be set via --timeout-ms.15000
DOCTROVE_LOCAL_INDEXNoPath to a local index JSON file. Defaults to the built-in data/index.json. Can be set via --local-index.data/index.json

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
catalog_lookupA

检索文档目录:按库/框架的名称或描述查找条目,返回带相关度评分与命中信号的候选列表。当不确定库的规范 id 时,先调用本工具;后续用返回的 id 调用 doc_extract。结果按评分降序,评分依据:名称精确/前缀/别名命中 > 摘要词元命中 > 流行度微调。

catalog_releasesA

查看条目的可用版本清单与推荐版本。支持 "latest"、精确版本号(如 "5.1.0")与前缀(如 "5" 或 "5.1" 或 "5.1.x")。先于 doc_extract 调用可确定目标版本是否可用。

doc_extractA

提取文档:按条目 id、版本与聚焦点(focus)取回相关文档片段,片段按相关度评分降序。focus 建议一次只描述一个概念(如 "路由参数"),跨概念问题分多次调用。version 缺省取最新稳定版;支持精确版本号与前缀(如 "4")。返回中包含 releaseNote 说明版本选择依据、source 标注数据来源。

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/JohnXu22786/docs-retriever'

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