xhs-mcp has well-structured schemas and clear descriptions for all 5 tools. Tool names follow verb_noun convention (xhs_search, xhs_detail, xhs_creator, xhs_login, xhs_status). All tools have descriptions (194 - 250 chars, within baseline 34 - 392 range). Input schemas are complete with types and enums. However, output schemas are not documented, LLMs cannot predict response structure for downstream chaining. Error handling is minimal; no recovery guidance or actionable error messages visible. The xhs_login tool accepts sensitive parameters (cookie_str) which violates secret-injection pattern. Missing per-parameter descriptions in some cases (e.g., xhs_status has empty properties object). No tool annotations (readOnlyHint/destructiveHint) despite clear risk classifications.
Get a Xiaohongshu user's profile info and recent posts. Useful for account credibility analysis.
Get full content of Xiaohongshu notes (text, images, comments). Requires note_ids and xsec_tokens from xhs_search results.
Manage Xiaohongshu login. Use action=check to verify, action=qrcode to scan QR code (opens visible browser), action=cookie_str to import cookies, action=from_browser to pull a live logged-in session from a real installed browser (Chrome / Edge / Brave).
Search Xiaohongshu notes by keyword. Returns notes with titles, stats, and xsec_token for further detail fetching.
Check XHS MCP Server status: browser connection, cookie validity, cache size, last request time.
Output schemas not documented. LLMs cannot predict response structure (fields, types, pagination) for xhs_search, xhs_detail, xhs_creator. Breaks tool chaining, agent cannot extract note_ids or user_ids for follow-up calls without guessing.
xhs_login accepts cookie_str as a parameter, exposing authentication secrets in tool calls. Violates secret-injection pattern, credentials in params leak into logs and prompt history.
xhs_status has empty inputSchema properties object. No parameter descriptions. Violates tool-description pattern, LLM cannot understand what the tool does or what inputs it accepts.
No tool annotations (readOnlyHint, destructiveHint, idempotentHint). xhs_login is marked WRITE but lacks destructiveHint annotation. Agents cannot reason about side effects or retry safety.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | C | 64 | <=2025-11-25 | v2 |
No error handling guidance visible. Tools lack recovery hints (e.g., 'If login fails, try action=qrcode'). Agents cannot self-correct on failures.