Skip to main content
Glama

yuque_web_list_docs

List documents in a Yuque repository with cookie-based web API access, returning richer fields such as draft version, editor metadata, and read status without requiring repository membership.

Instructions

Cookie-based: List documents in a repo. Returns richer fields than v2 list_docs (draft_version, editor_meta, read_status, etc.). No membership required. GET /api/docs?book_id={book_id}. 详见 references/api/web_doc_api.md

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_web_list_docs"
  }
}

Input Schema

NameRequiredDescriptionDefault
rawNoReturn raw full JSON (default false, returns trimmed fields)
limitNoPage size, max 100, default 100
offsetNoPagination offset, default 0
book_idYesRepository ID (numeric, required)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations supplied, the description carries the load and does well: it discloses the cookie-based auth model, that no membership is required, and the underlying endpoint (GET /api/docs?book_id=...). It does not mention rate limits or pagination response behavior, which is the only remaining gap for a read tool.

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?

Dense and front-loaded: the auth model, purpose, differentiator, and endpoint all appear in the first few clauses with no filler. The trailing Chinese-language reference pointer is compact but assumes the agent can resolve a file path reference.

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

Completeness4/5

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

For a simple paginated list tool with a fully documented schema and no output schema, the description covers what matters — auth mode, scope, and what the returned fields add. Missing only pagination/total-count expectations and a note on when raw=true changes the response shape.

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

Parameters3/5

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

Schema description coverage is 100%, so all four parameters (book_id, limit, offset, raw) are already documented in the schema. The description only restates book_id inside the endpoint template and adds no semantics for limit/offset/raw, so the baseline 3 applies.

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

Purpose5/5

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

States a specific verb and resource ('List documents in a repo') and immediately scopes it with 'Cookie-based', then contrasts it against the v2 sibling by noting it returns richer fields (draft_version, editor_meta, read_status). An agent can distinguish this from yuque_list_docs without opening either schema.

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

Usage Guidelines4/5

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

The comparison to v2 list_docs ('Returns richer fields') and 'No membership required' give a clear basis for choosing this tool over the alternative. It stops short of an explicit when-not statement or naming the exact sibling name, so it lands just below the top score.

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