Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LLM_MODELNoText model name, defaults to glm-4.7glm-4.7
VISION_MODELNoVision model name, defaults to glm-4.6vglm-4.6v
OPENAI_API_KEYYesAPI key for OpenAI or compatible API.
OPENAI_BASE_URLNoBase URL for API, defaults to https://api.openai.com/v1https://api.openai.com/v1

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
{
  "listChanged": true
}
logging
{}
prompts
{
  "listChanged": true
}
resources
{
  "subscribe": false,
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
crawl_singleA

爬取单个网页(自动降级:快速提取 → Cloud 兜底 → 浏览器渲染)

适用于已经知道一个明确 URL、需要提取该页面正文 Markdown 的场景。 默认先尝试轻量级快速提取(适合静态文章/文档页),失败、内容过短或检测到 SPA 骨架页时 自动切换到浏览器渲染。若要从一个入口页继续发现站内链接,请使用 crawl_site; 若已有多个明确 URL,请使用 crawl_batch。

参数组合:

  • 默认 prefer_fast=True:先快提取,必要时 fallback 到浏览器。

  • prefer_fast=False:跳过快速提取,强制直接使用浏览器。

  • enhanced=True:只影响浏览器路径(不改变快速提取行为)——深度模式: 等正文实文本出现即返回(替代盲等,实测浏览器耗时砍半:BBC 20s→9s)+ PruningContentFilter 剪掉导航/boilerplate(实测导航行 32%→0.8%)+ 随机 UA/拟人信号/删弹窗。代价是图片会被剪掉;要图片用 enhanced=False。 强制浏览器增强需同时设置 prefer_fast=False, enhanced=True。

  • css_selector / excluded_selector / scan_full_page:只在浏览器路径生效 (快速提取成功时被忽略)。需要强制生效配合 prefer_fast=False。

crawl_siteA

从入口页开始递归爬取站内页面(快速 BFS 优先,SPA 退回浏览器 BFS)

适用于只有一个网站入口、希望沿站内链接抓取若干页面的场景。 与 crawl_batch 不同,本工具会从起始页发现链接:入口页快速提取成功时, 从 Markdown 提取站内链接、逐层交给 crawl_batch 爬取(每页自动降级); 入口页需要浏览器渲染(SPA)或失败时,退回浏览器 BFS 深度爬取。不支持 LLM 后处理。

crawl_batchA

批量爬取多个网页(自动降级版)

适用于已经有一组明确 URL、需要并行抓取多个页面的场景。 默认对所有 URL 并行快速提取;只有失败、内容过短或 SPA 骨架页才进入浏览器 fallback。 若只有一个 URL,请使用 crawl_single;若只有入口页并希望发现站内链接,请使用 crawl_site。

参数组合:

  • prefer_fast=True:静态页走快速路径,失败项才走浏览器 fallback。

  • prefer_fast=False:所有 URL 都直接走浏览器,不返回 fast/fallback 方法标记。

  • min_content_length 只影响快速提取是否被认为足够完整。

  • css_selector / excluded_selector 只在浏览器路径生效(快速提取成功时被忽略)。

search_textA

搜索网页内容(通用搜索)

适用于搜索技术文档、百科、博客、论坛、教程等网页内容。 只返回搜索结果摘要和链接,不抓取页面正文;如需正文,请对结果 URL 再调用 crawl_single/crawl_batch。

search_newsA

搜索新闻内容

适用于搜索突发新闻、时事、财经、体育等时效性内容。 只返回新闻搜索结果摘要和来源链接,不抓取全文;如需全文,请对结果 URL 再调用 crawl_single。

search_booksB

搜索图书

适用于查找技术书籍、学术资料、电子书等。

search_videosA

搜索视频

适用于查找教程视频、演示视频、课程录像等。

search_imagesC

搜索图片(支持下载和分析)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.7/5.0

Scored across 8 tools

Disambiguation4/5

The crawl_* trio is explicitly disambiguated in the descriptions (single URL vs. entry-page-with-link-discovery vs. explicit batch), and the search_* tools split cleanly by content type. Minor overlap remains between search_books and search_text for finding technical/academic material, and crawl_single vs crawl_batch could be misread at a glance without reading the cross-references.

Naming Consistency4/5

All eight names follow a clean verb_noun snake_case pattern (crawl_single, crawl_batch, crawl_site, search_books, search_news...). The only wrinkle is that the crawl_* suffixes mix a cardinality term (single, batch) with a scope term (site), which is slightly less parallel than the search_* suffixes.

Tool Count5/5

Eight tools is well within the ideal range and each earns its place: five search surfaces keyed to distinct content types plus three crawl modes keyed to distinct input shapes. Nothing appears redundant or bolted on.

Completeness4/5

Search-and-fetch is covered end to end, and the descriptions correctly route users from search results back into crawl_single/crawl_batch. Gaps are minor: no sitemap/link-listing tool, no document or PDF extraction path despite search_books returning book references, and no way to re-extract or post-process an already fetched page.

Maintenance

ActivityNo data
ResponsivenessNo recent community issues