Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
YUQUE_COOKIEYes语雀 Cookie(单个 _yuque_session 的值或完整的 Cookie 字符串)。可以是仅 _yuque_session 的值,也可以是完整的 Cookie 字符串(如:lang=zh-cn; _yuque_session=xxx; yuque_ctoken=xxx; current_theme=default)
YUQUE_BASE_URLNo语雀基础 URL。企业私有部署时需要设置,公有云用户可以不设置。https://www.yuque.com
YUQUE_NAMESPACENo默认知识库命名空间。格式为 username/repo,支持中文(如:username/repo 或 用户名/知识库名)。设置后可以直接通过 slug 获取文档,无需每次指定命名空间。

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

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription
get-yuque-docA

从语雀 URL 或命名空间+slug 获取文档的详细信息。

支持的输入格式:

  1. 语雀 URL: https://www.yuque.com/username/repo/doc-slug

  2. 命名空间+Slug: 在 namespace 参数中指定 username/repo,在 slug 参数中指定文档 slug

返回的信息包括:

  • 文档基本信息(标题、ID、格式、字数等)

  • 作者信息

  • 知识库信息

  • 文档完整内容(Markdown 或 HTML)

  • 统计数据(浏览量、点赞数、评论数)

get-yuque-tocB

获取语雀知识库的完整目录结构(TOC)。

可以查看知识库中所有文档的层级结构、标题和 slug。

search-yuque-docsC

在指定的知识库中搜索文档。

会在文档标题和描述中进行关键词匹配。

list-yuque-docsC

列出指定知识库中的所有文档。

返回文档列表,包括标题、slug、更新时间等基本信息。

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

B3.4/5.0

Scored across 4 tools

Disambiguation5/5

Each tool has a clearly distinct purpose with no overlap: get-yuque-doc retrieves a single document's details, get-yuque-toc fetches a knowledge base's table of contents, list-yuque-docs lists all documents in a knowledge base, and search-yuque-docs searches within a knowledge base. The descriptions clearly differentiate these operations, eliminating any ambiguity.

Naming Consistency5/5

All tool names follow a consistent verb-noun pattern with hyphens: get-yuque-doc, get-yuque-toc, list-yuque-docs, and search-yuque-docs. The naming is uniform, predictable, and readable, with no deviations in style or convention.

Tool Count4/5

With 4 tools, the server is well-scoped for basic document retrieval and navigation in Yuque, covering core operations like fetching, listing, searching, and getting TOC. However, it lacks CRUD operations (e.g., create, update, delete), making it slightly under-equipped for a full document management system, though reasonable for a read-only interface.

Completeness3/5

The tool set provides good read-only coverage for accessing and navigating Yuque documents and knowledge bases, but there are notable gaps in CRUD operations (no create, update, or delete tools) and other lifecycle actions like commenting or version management. This limits agents to retrieval tasks without full document management capabilities.

Maintenance

ActivityInactive
ResponsivenessNo issues