xpay tools logo
  • Providers
  • Collections
  • Explore
  • Docs
  • xpay.sh
  1. Home
  2. ›
  3. Providers
  4. ›
  5. Clear Thought

Clear Thought logo

Clear Thought

2 tools

$0.01/call

Structured thinking and reasoning frameworks for AI

​
​
Clear Thought
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: 1. Start with an initial estimate of needed thoughts, but be ready to adjust 2. Feel free to question or revise previous thoughts 3. Don't hesitate to add more thoughts if needed, even at the "end" 4. Express uncertainty when present 5. Mark thoughts that revise previous thinking or branch into new paths 6. Ignore information that is irrelevant to the current step 7. Generate a solution hypothesis when appropriate 8. Verify the hypothesis based on the Chain of Thought steps 9. Repeat the process until satisfied with the solution 10. Provide a single, ideally correct answer as the final output 11. Only set next_thought_needed to false when truly done and a satisfactory answer is reached


flat

$0.01/call

Reset Session
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).


flat

$0.01/call

Connect Clear Thought tools
​
​

Cursor

Claude Code

Claude Desktop

Windsurf

VS Code

Cline

Roo Code

ChatGPT

Gemini CLI

Amazon Q

Goose

Augment

n8n

API / cURL

AI SDK

TypeScript SDK

Add to ~/.cursor/mcp.json
{
  "mcpServers": {
    "clear-thought": {
      "url": "https://clear-thought.mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
Or connect all tools

Access all tools (including Clear Thought) through a single MCP connection.

https://mcp.xpay.sh/mcp?key=***
{
  "mcpServers": {
    "xpay": {
      "url": "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"
    }
  }
}
Agent Discovery

Machine-readable catalogs for LLM agents and automation.

llms.txt — Human-readable tool catalog
curl https://xpay.tools/llms.txt
agents.txt — Structured JSON for agents
curl https://xpay.tools/agents.txt
skill.md — Claude Code skill
curl https://xpay.tools/skill.md
Pricing

Pay per tool call. No subscriptions.

2 Clear Thought tools available
Frequently Asked Questions

Clear Thought is an API provider available on xpay with 2 tools. Structured thinking and reasoning frameworks for AI All tools are pay-per-call with no monthly fees.

Clear Thought tools are priced at $0.01/call. You only pay when you use a tool — there are no subscriptions or monthly fees. New accounts get $5 in free credits to try any tool.

Add xpay's MCP server to your AI client (Claude Code, Cursor, VS Code, Windsurf, or Cline) with the endpoint: https://mcp.xpay.sh/mcp?key=YOUR_API_KEY. Once connected, use xpay_discover to find Clear Thought tools, then xpay_run to execute them. For Claude Code: claude mcp add --transport http xpay "https://mcp.xpay.sh/mcp?key=YOUR_API_KEY"

Clear Thought provides 2 tools: clear thought, reset session. Each tool can be called independently and has its own pricing.

No. With xpay, one API key gives you access to all 2 Clear Thought tools plus 1000+ tools from 80+ other providers. You don't need to sign up for Clear Thought's API directly — xpay handles authentication, billing, and rate limiting.

Yes. Every new xpay account gets $5 in free credits. You can use these credits to try any Clear Thought tool — no credit card required. Sign up at xpay.tools to get started.

xpay tools logo

Marketplace for AI Capabilities. Run agents, tools & prompts with pay-per-use micropayments.

Product
ExploreCollectionsBundles
Resources
Documentationxpay.shGitHub

© 2026 Agentically Inc. All rights reserved.Microtransactions happen via Stablecoins