MCP server with long-running tools and notification system, demonstrating experimental task abstraction with completion, cancellation, and failure scenarios
The server defines 5 tools across multiple files with varying quality. All tools have descriptions (10-80 chars, mostly adequate) and input schemas using Zod. However, schema quality is inconsistent: some parameters lack minimum/maximum constraints, and output schemas are not documented. The naming is mostly clear (verb-first convention) but several tools have generic or overlapping names (complete_task, cancellable_task, failing_task). Error handling is minimal, no recovery guidance or actionable error messages are evident in the code. The experimental task abstraction and progress/cancellation support are positive, but the implementation lacks polish in parameter validation, output documentation, and error recovery patterns.
Cancels a running task
Long-running task designed for cancellation demo with frequent status updates
A task that runs through multiple steps and completes successfully with status updates
Task that fails at a specified step
Starts a long-running task that sends progress notifications and requests user feedback
Output schema not documented. Tools return task updates and results, but the exact response structure (fields, types, nested objects) is not defined in code or descriptions. LLMs cannot infer what fields to expect or plan downstream operations.
Naming conflicts: complete_task, cancellable_task, and failing_task are all task-execution tools with generic verb-noun patterns. The names do not clearly disambiguate their behavior or use cases. LLMs may confuse which tool to call.
No error recovery guidance. Tools lack descriptions explaining what to do on failure (retry, contact admin, check prerequisites). Error messages in code are generic ('Unexpected error').
Inferred effective spec: <=2025-11-25.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | F | 46 | <=2025-11-25 | v2 |
| 2026-03-09 | D | 51 | - | v1 |
cancel_task description is only 23 characters: 'Cancels a running task'. Missing context on when to use it, what happens if task is not running, what state the task enters, and how to verify cancellation.
Task-related tools (start_long_running_task, cancel_task) lack parameter descriptions for taskId. The description 'ID of the task to cancel' is minimal, it does not explain the format (UUID? Opaque string?), where to obtain it, or whether partial matches are allowed.
start_long_running_task references sampling and elicitation (enableSampling param, 'requests user feedback' in description) but the implementation and MCP protocol integration for sampling/elicitation is not visible in source. These are deprecated patterns (as of 2026 spec) and should be migrated.
Numeric parameter constraints are present but inconsistent. notificationInterval lacks minimum/maximum; delayMs has min=100 max=10000 but no description of the time unit or impact on throughput. Other tools use min/max inconsistently.