企业微信文档 MCP Server - 通过 Cookie 认证读取 doc.weixin.qq.com 文档
Three tools with basic schemas and Chinese descriptions. All tools have input schemas with type definitions, but descriptions lack LLM-optimization guidance (no WHEN to use, no prerequisites, no error recovery hints). Parameters are minimally described. No output schemas documented. Error handling is absent, no guidance on retryability, user-fixable vs fatal errors, or recovery paths. Naming is verb-based (fetch_, set_, check_) but descriptions don't explain distinctions or dependencies between tools. No tool annotations (readOnlyHint/destructiveHint). set_wecom_cookie modifies state but description doesn't warn of side effects or idempotency.
检查当前保存的 Cookie 是否仍然有效
抓取企业微信文档内容并转为 Markdown。支持文档、表格、幻灯片等类型。
保存企业微信 Cookie 到本地配置文件,后续请求自动使用。Cookie 获取:浏览器登录 doc.weixin.qq.com → F12 → Network → 复制 Cookie 头。
Descriptions lack LLM-optimization guidance. No WHEN to use, prerequisites, or error recovery hints. fetch_wecom_doc (35 chars) and check_wecom_auth (25 chars) fall below 50-char baseline for clarity.
No output schemas documented. LLMs cannot plan downstream calls or extract structured data. fetch_wecom_doc returns Markdown string but format/structure not declared.
set_wecom_cookie modifies persistent state (writes to ~/.claude/wecom-doc-mcp/.env) but description does not declare this as a destructive/write operation. No idempotency guarantee or side-effect warning.
Parameter descriptions are minimal. 'cookie' param in fetch_wecom_doc says 'optional, temporary Cookie' but does not explain format, length, or validation rules. 'url' lacks format/pattern guidance.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 47 | 2026-07-28+ | v2 |
No error handling guidance. Code throws errors (e.g. 'Invalid status: got "pending"' pattern missing) but tool descriptions do not explain retryability, user-fixable errors, or recovery paths. LLM has no guidance on next steps after failure.