Skip to main content
Glama

列出知识库中的文档

yuque_list_docs
Read-only

Lists documents in a Yuque knowledge base by book_id, returning each document's id, title, slug, link, and update time so you can browse and locate docs without an API token.

Instructions

列出某个知识库(book_id)里的文档,返回文档 id、标题、slug、链接和更新时间。

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "book_id": "<book_id>"
    },
    "name": "yuque_list_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
offsetNo
book_idYes知识库 id,来自 yuque_list_books

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds value by enumerating the returned fields (id, title, slug, link, updated time) in the absence of an output schema, but says nothing about pagination behavior, ordering, or empty results.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence covering purpose and return shape with no filler. It is efficient, though its brevity leaves the gaps noted in other dimensions.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple three-parameter list tool with no output schema, stating the returned fields is the most important addition and it is present. However, the two undocumented pagination parameters and the absence of any paging or ordering note leave the definition only partially complete.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 33%: book_id is documented in the schema, while limit and offset carry no descriptions at all. The description repeats book_id but adds no meaning for limit/offset, such as default page size, maximum of 100, or how to page through large books.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description names a specific verb and resource (列出…文档) and narrows the scope to a single knowledge base via book_id, which cleanly separates it from yuque_list_books. It does not explicitly name a sibling to avoid, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no when-to-use or when-not-to-use guidance; the sentence only restates what the tool does. An agent gets no help deciding between this, yuque_list_recent, or yuque_search when looking for documents.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.