Claude Code 微信 Channel — 让 Claude Code 通过微信收发消息. An MCP server that enables Claude Code to send and receive messages via WeChat.
Single tool 'reply' has a complete input schema with proper types and descriptions, but lacks critical production-grade patterns. Tool description is adequate (89 chars, within 10-1024 range) but does not explain error conditions, prerequisites, or recovery paths. Parameters are well-typed (user_id, text both strings with descriptions), but no output schema is documented, LLMs cannot predict what fields to expect. No error handling guidance, no idempotency markers, no permission scoping. Tool performs a write operation (sends WeChat messages) but lacks confirmation/dry-run pattern. Naming is clear (verb_noun: 'reply'), but the tool conflates markdown-to-plaintext conversion and message splitting, two concerns that could be separated. No parameter validation constraints (e.g., max text length, user_id format). Overall: functional but below production baseline.
回复微信消息。text 会自动从 markdown 转换为纯文本,超长消息会自动分段。
No output schema documented. LLMs cannot predict response structure or plan downstream actions. Tool returns {content: [{type, text}], isError} but this is not declared in tool definition.
No error handling guidance. Tool can fail (missing contextToken, send failure) but returns generic error text. LLMs receive no recovery hints (e.g., 'verify user_id exists' or 'check network').
Destructive operation (sends message) lacks confirmation/dry-run pattern. Agent cannot preview message or confirm before sending. No idempotent marker, retries risk duplicate messages.
No parameter constraints. 'text' parameter accepts unbounded strings; tool silently splits at 4000 chars. LLM should know this limit upfront via maxLength constraint, not discover it via behavior.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 48 | <=2025-11-25 | v2 |
Tool description does not explain when to use it or what happens on success/failure. 'Replies to WeChat message' is vague, does it queue, send immediately, or require confirmation? Does it return a message ID for tracking?