A TypeScript implementation of Sequential Thinking Server using MCP
This server demonstrates good schema coverage with Zod validation and explicit JSON Schema generation for all 5 tools. Tool names follow verb_noun conventions (capture_, revise_, retrieve_, get_, clear_). Descriptions are present for all tools and most parameters. However, several critical gaps reduce the score: (1) Missing output schema documentation, the code shows parameter schemas but does not document what each tool returns, forcing LLMs to guess downstream field names and types; (2) Parameter descriptions lack specificity on constraints (e.g., 'score' has min/max in schema but no mention in description that it's 0.0-1.0); (3) No error handling guidance, tools like clear_thinking_history (destructive operation) lack confirmation, dry-run, or recovery patterns; (4) Insufficient context on when to call each tool vs. alternatives; (5) The thought_id parameter in revise_thought is marked required but its description is sparse; (6) Missing examples of valid stage values despite 'stage' being a core parameter. The server shows competent schema engineering but falls short of production-grade tool documentation patterns.
Stores a new thought in memory and in the thought history and runs a pipeline to classify the thought, return metacognitive feedback, and retrieve relevant thoughts.
Clear all recorded thoughts and reset the server state.
Generate a comprehensive summary of the entire thinking process.
Finds thoughts from long-term storage that share tags with the specified thought.
Revises a thought in memory and in the thought history.
Output schemas are not documented. Tools define parameters with JSON Schema but provide no description of return types, fields, or structure. LLMs cannot infer what get_thinking_summary() returns (is it a string? object with fields? array?), forcing guesswork on downstream chaining.
Destructive operation (clear_thinking_history) lacks confirmation or dry-run pattern. Tool has no description indicating it clears all state; LLMs may call it without intending irreversible deletion. Pattern: confirmation-request.
Parameter 'stage' accepts free-form strings but no enum constraint or list of valid values is documented. Description says 'e.g. Problem Definition, Analysis' but LLMs cannot distinguish between these examples and actual allowed values. Should be an enum.
| Scored | Grade | Overall | Spec posture | Rubric |
|---|---|---|---|---|
| 2026-09-22 | D | 59 | 2026-07-28+ | v2 |
| 2026-03-09 | F | 41 | - | v1 |
Parameter 'score' has JSON Schema constraints (min: 0, max: 1) but the description does not mention these bounds. LLMs rely on text descriptions to understand constraints, not JSON Schema alone. Description should state '0.0 to 1.0'.
Tool descriptions lack context on WHEN to use each tool and WHY. 'Stores a new thought in memory...' says WHAT, not WHY the agent should call it instead of alternatives. Missing: dependency hints, use-case guidance, relationship to other tools.
revise_thought has a confusing schema: it extends captureThoughtSchema with .partial().required({thought_id: true}), making only thought_id required. But the original capture tool requires thought, thought_number, total_thoughts, next_thought_needed, stage. For revise, which of these are actually optional? Schema clarity is poor.