AWS Documentation MCP Server for Cloudflare Workers - provides tools to search, read, and get recommendations for AWS documentation
The server defines 3 AWS documentation tools with complete input schemas and descriptions. All tool names follow verb_noun convention (read_, search_, recommend). Descriptions are adequate (50-150 chars) but lack explicit guidance on when/why to use each tool and what they return. Parameter descriptions are present and mostly clear, but schema documentation is weak, output shapes are not formally documented anywhere. Error handling exists but lacks recovery guidance. The tools are well-composed (single responsibility) and security-sound (read-only operations), but descriptions could be more LLM-optimized per the pattern baseline of 194 chars average.
Fetch and convert an AWS documentation page to markdown format
Get content recommendations for an AWS documentation page
Search AWS documentation using the official AWS Documentation Search API
Output schemas not formally documented. Tools return results but the response structure (SearchResult[], RecommendationResult[], string) is inferred from code, not exposed in tool definitions. LLMs cannot plan downstream calls or extract fields without seeing return type schemas.
Tool descriptions lack context on WHEN to use each tool and WHY. 'Fetch and convert an AWS documentation page to markdown format' doesn't explain: Is this for reading a single known doc URL? What if the user doesn't have a URL? When should search_documentation be called first? The descriptions are purely functional, not intent-guiding.
The 'recommend' tool description is vague and underdocumented. At 36 chars, it falls below the 50-char minimum for clarity. What does 'Get content recommendations' mean? Recommendations based on what signal? Related docs? Alternative approaches? This invites hallucination about when to call it.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 54 | <=2025-11-25 | v2 |
| 2026-03-09 | D | 52 | 2024-11-05+ | v1 |
Error handling returns generic messages without recovery guidance. Example from src/tools.ts: 'throw new Error(`Failed to fetch ${url}: ${error}`);' gives the LLM no actionable next step. Should hint: 'Failed to fetch URL, ensure it is a valid AWS docs.aws.amazon.com .html page. Try search_documentation() first if you don't have a specific URL.'
Parameter 'max_length' in read_documentation has conflicting ranges. src/tools.ts declares maximum: 1000000, but src/index.ts declares maximum: 50000. This inconsistency signals either incomplete review or copy-paste error and confuses LLMs about actual constraints.
No documentation of SearchResult or RecommendationResult field names/types. The tools return complex objects (e.g., SearchResult has rank_order, url, title, context per src/tools.ts line ~80) but these are invisible to the LLM. Without knowing which fields exist, the LLM cannot reliably extract or plan downstream use of results.
No pagination or result-limiting guidance for search_documentation beyond the 'limit' parameter. AWS Search API suggestions could return thousands of matches, the tool caps via limit (1 - 50), but there's no mention of what happens if the user requests more. Silence on this invites agents to assume all results fit in one call.