The server provides 25 tools with explicit schemas and descriptions, but quality is inconsistent. Most tools have adequate naming (verb-first convention) and non-empty descriptions, but many descriptions are too brief (under 50 chars) to guide LLM selection effectively. Schemas are present and properly typed via Zod, but parameter descriptions vary widely, some tools have rich guidance while others lack detail. No tool annotations (readOnlyHint, destructiveHint, idempotentHint) are visible despite risk categories being defined. Error handling is minimal, no recovery guidance, no retryable vs. fatal classification, and no examples of actionable error messages in the code. Output schemas are not documented in descriptions. The tool set shows good composition (each tool has a single responsibility) and uses natural identifiers (login names, IDs) appropriately, but lacks pagination hints and missing some critical chaining fields.
Tools (25)
yuque_create_docwriteauth50/100
Create a new document in a repo/book
yuque_create_repowriteauth50/100
Create a new repo/book for a user or group
yuque_delete_docdestructiveauth50/100
Delete a document
yuque_delete_repodestructiveauth50/100
Delete a repo/book
yuque_get_docread onlyauth50/100
Get a specific document with full content
yuque_get_doc_versionread onlyauth50/100
Get a specific version of a document
yuque_get_reporead onlyauth50/100
Get a specific repo/book by ID or namespace (group_login/book_slug)
Tool descriptions are too brief (most 30 - 70 chars) to guide LLM selection. Baseline for production is 50 - 200 chars with explicit WHAT/WHEN/WHY. Example: 'yuque_delete_repo' says 'Delete a repo/book' but does not explain when to use it, whether deletion is reversible, or what happens to documents inside.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint) are visible in the code or tool definitions, despite the Risk field being populated. The MCP spec (2026-07-28) requires tools to declare these hints explicitly so clients can warn users before destructive operations or apply safe retry logic.
Expand tool descriptions to 100 - 200 characters, answering: What does it do? When should the LLM call it? What does it return? Example for yuque_delete_repo: 'Permanently delete a repo/book and all documents inside. Warning: This cannot be undone. Prefer to archive or use a dry-run confirmation before executing. Returns success status.'
Add tool annotations to the MCP response. In src/server.ts ListToolsRequestSchema handler, augment each tool object with readOnlyHint (boolean), destructiveHint (boolean), and idempotentHint (boolean) based on the Risk category. Example: {name: 'yuque_delete_repo', description: '...', inputSchema: {...}, readOnlyHint: false, destructiveHint: true, idempotentHint: false}
Add pagination support to list tools: yuque_list_repos, yuque_list_docs, yuque_list_group_members, yuque_list_doc_versions. Add parameters: limit (number, 1 - 100, default 20), offset (number, default 0). Update description to note: 'Results are paginated. Default limit is 20 items. Use offset and limit for additional pages.'
Expand error handling in src/server.ts CallToolRequestSchema to classify errors. When a tool fails, return: {error: {type: 'retryable'|'user_fixable'|'fatal', message: '...', next_step: '...', suggestion: '...'}}. Example: User not found → type: 'user_fixable', suggestion: 'Try yuque_search() with a partial name.'
Document output schemas in tool descriptions. For each tool, add a line like: 'Returns: {id (number), slug (string), name (string), url (string), created_at (ISO 8601), owner_id (number)}'. This lets LLMs extract chaining IDs without trial-and-error.
Score history
Overall score trend
↑ 4 points across a rubric change (v1 → v2)
54/100
Scored
Grade
Overall
Spec posture
Rubric
2026-09-22
D
54
2026-07-28+
v2
2026-03-09
D
50
-
v1
yuque_get_userread onlyauth50/100
Get current authenticated user information
yuque_group_book_statsread onlyauth50/100
Get book/repo statistics for a group/team
yuque_group_doc_statsread onlyauth50/100
Get document statistics for a group/team
yuque_group_member_statsread onlyauth50/100
Get member statistics for a group/team
yuque_group_statsread onlyauth50/100
Get overall statistics for a group/team
yuque_helloread onlyauth50/100
Test API connectivity with Yuque
yuque_list_doc_versionsread onlyauth50/100
List all versions of a document
yuque_list_docsread onlyauth50/100
List all documents in a repo/book
yuque_list_group_membersread onlyauth50/100
List all members of a group/team
yuque_list_groupsread onlyauth50/100
List all groups/teams that the user belongs to
yuque_list_reposread onlyauth50/100
List all repos/books for a user or group
yuque_remove_group_memberdestructiveauth50/100
Remove a member from a group/team
yuque_searchread onlyauth50/100
Search for documents, repos, or users in Yuque
yuque_update_docwriteauth50/100
Update an existing document
yuque_update_group_memberwriteauth50/100
Update a group member role
yuque_update_repowriteauth50/100
Update a repo/book
yuque_update_tocwriteauth50/100
Update the table of contents (TOC) for a repo/book
List tools (yuque_list_repos, yuque_list_docs, yuque_list_group_members, etc.) do not expose pagination parameters (limit, offset/cursor) or declare a result limit. Per the pattern:paginated-result baseline, listing tools must support pagination to prevent context explosion. No limit declarations visible.
Error handling in CallToolRequestSchema handler (src/server.ts:49 - 60) catches errors but returns generic messages ('Tool execution failed: <error.message>') with no guidance. Per pattern:recovery-guide, errors must classify as retryable/user-fixable/fatal and suggest next steps. E.g., 'User not found. Try yuque_search() with a partial name.'
Output schemas are not documented in tool descriptions. Per pattern:tool, LLMs need to know what fields to expect from responses to plan downstream calls and extract chaining IDs. No tool description mentions return structure (e.g., yuque_create_doc should note: 'Returns {id, slug, url, created_at, body_format}' so the LLM knows which fields are available).
Some parameter descriptions are generic or missing detail. E.g., 'toc_data' in yuque_update_toc is 'TOC data as JSON string', does not explain the expected structure (array vs object), required fields, or example format. Per pattern:tool-description, param descriptions must be explicit and actionable.
Destructive operations (yuque_delete_repo, yuque_delete_doc, yuque_remove_group_member) lack dry-run or confirmation step. Per pattern:confirmation-request, irreversible operations should support a confirm_before_execute pattern to prevent accidental data loss by agents.
The 'public' parameter (type: number, values 0 or 1) is ambiguous. Per pattern:constrained-input, it should be an enum with labels. Current: 'public': {'type': 'number', description: 'Public visibility: 0 (private) or 1 (public)'}. Better: 'public': {'type': 'string', 'enum': ['private', 'public'], description: 'Visibility setting'}. LLMs misinterpret numeric flags.
Convert numeric flags to string enums. Change 'public' (0|1) to 'public' (enum: ['private', 'public']). Change 'type' in yuque_list_repos to explicitly note enum values. Change 'role' in yuque_update_group_member (0|1|2) to enum: ['member', 'admin', 'owner'].
Enrich toc_data parameter in yuque_update_toc with an example structure and validation rules. E.g.: 'TOC data as JSON string. Expected format: [{id, slug, title, level, children: [...]}]. Each item must have title and slug.'
Add dry-run or confirmation support for destructive tools. Example for yuque_delete_repo: add optional confirm: boolean parameter. If confirm=false (default), return {status: 'would_delete', repo_id, message: 'Call with confirm=true to proceed'}. If confirm=true, delete and return {status: 'deleted'}.
Add validation error messages in the handler. Catch Zod parsing errors (src/server.ts line 57) and return structured feedback: {error: 'Invalid argument', field: 'role', value: <actual>, allowed: ['member', 'admin', 'owner'], message: 'Invalid role: must be one of member, admin, owner'}.
Document natural identifiers in parameter descriptions. E.g., yuque_list_repos login param: 'User or group login name (e.g., john_doe, team-engineering). You can also use display names, the API will resolve them.'
Add idempotency hints to create and update tools. Per pattern:idempotent-operation, the description should note: 'This operation is idempotent, calling twice with identical parameters returns the same result.'
Consider adding a batch_create_docs or batch_update_docs tool to reduce sequential calls. Per pattern:tool, batch operations save tokens and latency when agents operate on multiple items.