Clear Thought
Structured thinking and reasoning frameworks for AI
Clear Thought
Structured thinking and reasoning frameworks for AI
Available Tools (2)
- clear_thought: A detailed tool for dynamic and reflective problem-solving through thoughts. This tool helps analyze problems through a flexible thinking process that can adapt and evolve. Each thought can build on, question, or revise previous insights as understanding deepens. Supports forward thinking (1→N), backward thinking (N→1), or mixed approaches.
When to use this tool:
- Breaking down complex problems into steps
- Planning and design with room for revision
- Analysis that might need course correction
- Problems where the full scope might not be clear initially
- Problems that require a multi-step solution
- Tasks that need to maintain context over multiple steps
- Situations where irrelevant information needs to be filtered out
Thinking Approaches:
Forward Thinking (Traditional Chain of Thought): Start at thought 1, work sequentially to thought N
- Use when: Exploring unknowns, brainstorming, open-ended analysis, discovery
- Pattern: thoughtNumber 1 → 2 → 3 → ... → N
- Example: "How can we improve user engagement?" Start with current state, explore options, reach conclusion
Backward Thinking (Goal-Driven Reasoning): Start at thought N (desired end state), work back to thought 1 (starting conditions)
- Use when: Designing systems, planning projects, solving well-defined problems, working from goals
- Pattern: thoughtNumber N → N-1 → N-2 → ... → 1
- Example: "Design a caching strategy for 10k req/s" Start with success criteria (thought 8), work backwards through prerequisites (monitoring, invalidation, implementation, profiling) to reach starting point (thought 1: define requirements)
- Tip: Begin with the desired outcome, then repeatedly ask "what must be true immediately before this?"
Mixed/Branched Thinking: Combine approaches or explore alternative paths using branch parameters
- Use when: Complex problems requiring multiple perspectives or hypothesis testing
- Pattern: Use isRevision, branchFromThought, and branchId to create alternative reasoning paths
Patterns Cookbook: The patterns cookbook guide is automatically provided as an embedded resource at thought 1 and at the final thought. You can also request it at any time using the includeGuide parameter. The cookbook contains 20+ reasoning patterns with examples and usage guidance.
Key features:
- You can adjust total_thoughts up or down as you progress
- You can question or revise previous thoughts
- You can add more thoughts even after reaching what seemed like the end
- You can express uncertainty and explore alternative approaches
- Not every thought needs to build linearly - you can branch or backtrack
- Generates a solution hypothesis
- Verifies the hypothesis based on the Chain of Thought steps
- Repeats the process until satisfied
- Provides a correct answer
Parameters explained:
- thought: Your current thinking step, which can include:
- Regular analytical steps
- Revisions of previous thoughts
- Questions about previous decisions
- Realizations about needing more analysis
- Changes in approach
- Hypothesis generation
- Hypothesis verification
- next_thought_needed: True if you need more thinking, even if at what seemed like the end
- thought_number: Current number in sequence (can go beyond initial total if needed)
- total_thoughts: Current estimate of thoughts needed (can be adjusted up/down)
- is_revision: A boolean indicating if this thought revises previous thinking
- revises_thought: If is_revision is true, which thought number is being reconsidered
- branch_from_thought: If branching, which thought number is the branching point
- branch_id: Identifier for the current branch (if any)
- needs_more_thoughts: If reaching end but realizing more thoughts needed
You should:
- Start with an initial estimate of needed thoughts, but be ready to adjust
- Feel free to question or revise previous thoughts
- Don't hesitate to add more thoughts if needed, even at the "end"
- Express uncertainty when present
- Mark thoughts that revise previous thinking or branch into new paths
- Ignore information that is irrelevant to the current step
- Generate a solution hypothesis when appropriate
- Verify the hypothesis based on the Chain of Thought steps
- Repeat the process until satisfied with the solution
- Provide a single, ideally correct answer as the final output
- Only set next_thought_needed to false when truly done and a satisfactory answer is reached — $0.01/call
- reset_session: Reset thought history and branches for a specific session or all sessions.
Use this tool to clear accumulated state when:
- Starting a new unrelated reasoning task
- Cleaning up after completing a reasoning session
- Preventing state pollution between different tasks
- Managing memory in long-running server instances
If sessionId is provided, only that specific session is reset. If sessionId is omitted, ALL sessions are reset (use with caution). — $0.01/call
Quick Start
{
"mcpServers": {
"clear-thought": {
"url": "https://clear-thought.mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY"
}
}
}
Pricing
$0.01 per tool call. Pay per use from your XPay wallet. No subscriptions.
Get an API key at xpay.tools.
Tools: 2 Category: Utility & Reference
When to Use
Use Clear Thought tools when you need to structured thinking and reasoning frameworks for ai. All tools are available through xpay✦'s single MCP connection.
MCP Connection
{
"mcpServers": {
"xpay": {
"url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
}
}
}
For Claude Code:
claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
Available Tools
- Clear Thought — A detailed tool for dynamic and reflective problem-solving through thoughts. This tool helps analyze problems through a flexible thinking process that can adapt and evolve. Each thought can build on, question, or revise previous insights as understanding deepens. Supports forward thinking (1→N), backward thinking (N→1), or mixed approaches.
When to use this tool:
- Breaking down complex problems into steps
- Planning and design with room for revision
- Analysis that might need course correction
- Problems where the full scope might not be clear initially
- Problems that require a multi-step solution
- Tasks that need to maintain context over multiple steps
- Situations where irrelevant information needs to be filtered out
Thinking Approaches:
Forward Thinking (Traditional Chain of Thought): Start at thought 1, work sequentially to thought N
- Use when: Exploring unknowns, brainstorming, open-ended analysis, discovery
- Pattern: thoughtNumber 1 → 2 → 3 → ... → N
- Example: "How can we improve user engagement?" Start with current state, explore options, reach conclusion
Backward Thinking (Goal-Driven Reasoning): Start at thought N (desired end state), work back to thought 1 (starting conditions)
- Use when: Designing systems, planning projects, solving well-defined problems, working from goals
- Pattern: thoughtNumber N → N-1 → N-2 → ... → 1
- Example: "Design a caching strategy for 10k req/s" Start with success criteria (thought 8), work backwards through prerequisites (monitoring, invalidation, implementation, profiling) to reach starting point (thought 1: define requirements)
- Tip: Begin with the desired outcome, then repeatedly ask "what must be true immediately before this?"
Mixed/Branched Thinking: Combine approaches or explore alternative paths using branch parameters
- Use when: Complex problems requiring multiple perspectives or hypothesis testing
- Pattern: Use isRevision, branchFromThought, and branchId to create alternative reasoning paths
Patterns Cookbook: The patterns cookbook guide is automatically provided as an embedded resource at thought 1 and at the final thought. You can also request it at any time using the includeGuide parameter. The cookbook contains 20+ reasoning patterns with examples and usage guidance.
Key features:
- You can adjust total_thoughts up or down as you progress
- You can question or revise previous thoughts
- You can add more thoughts even after reaching what seemed like the end
- You can express uncertainty and explore alternative approaches
- Not every thought needs to build linearly - you can branch or backtrack
- Generates a solution hypothesis
- Verifies the hypothesis based on the Chain of Thought steps
- Repeats the process until satisfied
- Provides a correct answer
Parameters explained:
- thought: Your current thinking step, which can include:
- Regular analytical steps
- Revisions of previous thoughts
- Questions about previous decisions
- Realizations about needing more analysis
- Changes in approach
- Hypothesis generation
- Hypothesis verification
- next_thought_needed: True if you need more thinking, even if at what seemed like the end
- thought_number: Current number in sequence (can go beyond initial total if needed)
- total_thoughts: Current estimate of thoughts needed (can be adjusted up/down)
- is_revision: A boolean indicating if this thought revises previous thinking
- revises_thought: If is_revision is true, which thought number is being reconsidered
- branch_from_thought: If branching, which thought number is the branching point
- branch_id: Identifier for the current branch (if any)
- needs_more_thoughts: If reaching end but realizing more thoughts needed
You should:
- Start with an initial estimate of needed thoughts, but be ready to adjust
- Feel free to question or revise previous thoughts
- Don't hesitate to add more thoughts if needed, even at the "end"
- Express uncertainty when present
- Mark thoughts that revise previous thinking or branch into new paths
- Ignore information that is irrelevant to the current step
- Generate a solution hypothesis when appropriate
- Verify the hypothesis based on the Chain of Thought steps
- Repeat the process until satisfied with the solution
- Provide a single, ideally correct answer as the final output
- Only set next_thought_needed to false when truly done and a satisfactory answer is reached — $0.01/call — SKILL.md
- Reset Session — Reset thought history and branches for a specific session or all sessions.
Use this tool to clear accumulated state when:
- Starting a new unrelated reasoning task
- Cleaning up after completing a reasoning session
- Preventing state pollution between different tasks
- Managing memory in long-running server instances
If sessionId is provided, only that specific session is reset. If sessionId is omitted, ALL sessions are reset (use with caution). — $0.01/call — SKILL.md
How to Execute
xpay_discover— Search for tools:xpay_discover("clear-thought")xpay_details— Get input schema:xpay_details("clear-thought/TOOL_NAME")xpay_run— Execute:xpay_run("clear-thought/TOOL_NAME", { ...inputs })xpay_balance— Check credits
Links
- Provider page: https://xpay.tools/clear-thought/
- All providers: https://xpay.tools/explore
- Docs: https://docs.xpay.sh
Tools (2)
Install Skill
Details
Tools
2
Category
Utility & Reference
Total calls
0

