MCP Server for Wolai — Connect AI agents to your Wolai knowledge base
Five tools with basic verb-noun naming and present descriptions, but significant gaps in parameter documentation and output schema clarity. All tools have descriptions (10-50 chars baseline), but most lack detailed parameter descriptions and explicit output schemas. No error handling guidance, no input validation hints, and no security annotations. Credentials are properly injected via environment variables, but the set_wolai_credentials tool exposes secrets as parameters, a critical anti-pattern. Tool composition is reasonable (single responsibility), but parameter naming lacks type suffixes (e.g., 'block_id' is good, but 'root_id' could be clearer). Output structures are inferred from code but not formally documented in tool definitions.
Retrieves the content of a specific Wolai page or block by its ID.
Returns the current Root ID and its basic info (Annual Index page).
Show the current Wolai MCP configuration status.
Change the root page ID for knowledge base operations. This controls which page is used as the starting point for searches and navigation.
Set or update the Wolai API credentials at runtime. This allows switching accounts without restarting the server. The credentials persist for the current session only.
set_wolai_credentials exposes API secrets (app_id, app_secret) as tool parameters. Credentials must never appear in tool parameters, they enter agent logs and prompt history. Use server-side secret injection only.
Output schemas are not formally documented. Tools return structured data (e.g., get_page_content returns content with title, type, children), but the response schema is inferred from code, not declared in tool definitions. LLMs cannot plan downstream calls without explicit output documentation.
Parameter descriptions are minimal or missing. 'block_id' has a description, but 'root_id' and 'app_id' lack context on format, length, or where to obtain them. Descriptions should state format, constraints, and how to find the value.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | D | 56 | 2026-07-28+ | v2 |
No error handling guidance. Tools do not document what errors can occur, whether they are retryable, or what the LLM should do next. E.g., get_page_content may fail if block_id is invalid, but no recovery hint is provided.
No pagination or result limits documented. get_page_content recursively fetches all children via _fetch_all_children(), but the tool description does not warn about potential large responses or offer pagination controls. Large responses can exhaust context windows.