Skip to content

Commit bb0a189

Browse files
authored
Merge pull request #3877 from Chelebii/docs-3132-sequentialthinking-usage
docs: clarify sequentialthinking usage and add examples
2 parents d5bfe34 + 5d146b3 commit bb0a189

File tree

1 file changed

+30
-1
lines changed

1 file changed

+30
-1
lines changed

src/sequentialthinking/README.md

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,36 @@ The Sequential Thinking tool is designed for:
3737
- Tasks that need to maintain context over multiple steps
3838
- Situations where irrelevant information needs to be filtered out
3939

40+
In practice, you do not call `sequential_thinking` directly by hand unless your client exposes raw tool calls. Instead, connect the server to an MCP-aware host and ask the model to think through a problem step by step. The host can then decide to call the tool one or more times while it works.
41+
42+
### What it looks like in use
43+
44+
Example prompts that typically benefit from this tool:
45+
46+
- `Plan a database migration from PostgreSQL 14 to 16, list risks, and revise the plan if downtime exceeds 5 minutes.`
47+
- `Debug why this deployment only fails in production and show your reasoning step by step.`
48+
- `Compare three architecture options for a file sync engine and branch if one assumption turns out to be wrong.`
49+
50+
### How to tell it is working
51+
52+
If your host or inspector shows tool activity, you should see repeated calls to `sequential_thinking` with fields such as:
53+
54+
- `thought`
55+
- `thoughtNumber`
56+
- `totalThoughts`
57+
- `nextThoughtNeeded`
58+
59+
When the reasoning changes course, you may also see revision or branching fields like `isRevision`, `revisesThought`, `branchFromThought`, or `branchId`.
60+
61+
### Quick manual verification
62+
63+
After installing the server in your MCP host:
64+
65+
1. Restart or reload the host so it reconnects to the server.
66+
2. Confirm the `sequential_thinking` tool appears in the host's MCP tool list or inspector.
67+
3. Ask the host to solve a non-trivial problem in a step-by-step way.
68+
4. Verify that the host invokes the tool multiple times instead of returning a one-shot answer.
69+
4070
## Configuration
4171

4272
### Usage with Claude Desktop
@@ -78,7 +108,6 @@ Add this to your `claude_desktop_config.json`:
78108
```
79109

80110
To disable logging of thought information set env var: `DISABLE_THOUGHT_LOGGING` to `true`.
81-
Comment
82111

83112
### Usage with VS Code
84113

0 commit comments

Comments
 (0)