Server that generates Master Content Plans (MCPs) based on topics with learning path optimization
This FastAPI server exposes 8 tools via HTTP REST endpoints. Tool naming is inconsistent (generate_mcp vs generate_mcp_async; health_check vs circuit_breaker_status). Descriptions are present but generic, most lack actionable context for LLM selection. Schemas are visible in the input parameter definitions but lack documented output schemas. Error handling is not evident in the provided code. The server is not an MCP server in the protocol sense; it is a REST API that happens to expose tools. No MCP-specific patterns (tool annotations, structured output, recovery guidance) are implemented.
Get the status of all circuit breakers.
Clear the cache. This endpoint allows clearing the cache based on a pattern. Use with caution as it will remove cached data.
Generate a Master Content Plan (MCP) for a given topic synchronously. This endpoint: 1. Searches for relevant resources on the web 2. Organizes them into a structured learning path 3. Returns a complete MCP in JSON format
Generate a Master Content Plan (MCP) for a given topic asynchronously. This endpoint: 1. Creates a background task to generate the MCP 2. Returns immediately with a task ID 3. The client can check the task status using the /status/{task_id} endpoint
Get cache statistics. This endpoint returns statistics about the cache, including the number of items in the cache and information about the domain method cache that stores which scraping method works best for each domain.
Get the status of a task.
No documented output schemas. Tools define input parameters but provide no schema for return values. LLMs cannot plan downstream calls or extract required fields.
Minimal descriptions for utility tools (health_check, circuit_breaker_status, list_tasks). Descriptions under 40 chars lack context for LLM selection. health_check: 'Health check endpoint to verify the server is running.' does not explain when to call it or what it returns.
Inconsistent naming convention. generate_mcp and generate_mcp_async both start with 'generate' but differ in async behavior. No clear naming pattern distinguishes sync vs async variants. LLMs may conflate them.
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-23 | F | 39 | <=2025-11-25 | v2 |
Health check endpoint to verify the server is running.
List all tasks.
No error handling guidance in tool descriptions. clear_cache is marked WRITE but provides no recovery instructions if the operation fails. No indication of retryability or side effects.
Missing parameter descriptions for task_id in get_task_status. Parameter exists but lacks guidance on format or how to obtain a task_id.