{"format":"xpay-agent-txt","format_version":"1.0","_comment":"Machine-readable service descriptor for AI agents","provider":{"name":"Clear Thought","description":"Structured thinking and reasoning frameworks for AI.","portal":"https://clear-thought.on.xpay.sh","website":"https://github.com/waldzellai/clear-thought"},"mcp_servers":[{"name":"Clear Thought","slug":"clear-thought","description":"Structured thinking and reasoning frameworks for AI","url":"https://clear-thought.mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY","tool_count":2,"tools":[{"name":"clear_thought","description":"A detailed tool for dynamic and reflective problem-solving through thoughts.\nThis tool helps analyze problems through a flexible thinking process that can adapt and evolve.\nEach thought can build on, question, or revise previous insights as understanding deepens.\nSupports forward thinking (1→N), backward thinking (N→1), or mixed approaches.\n\nWhen to use this tool:\n- Breaking down complex problems into steps\n- Planning and design with room for revision\n- Analysis that might need course correction\n- Problems where the full scope might not be clear initially\n- Problems that require a multi-step solution\n- Tasks that need to maintain context over multiple steps\n- Situations where irrelevant information needs to be filtered out\n\nThinking Approaches:\n\n**Forward Thinking (Traditional Chain of Thought)**: Start at thought 1, work sequentially to thought N\n- Use when: Exploring unknowns, brainstorming, open-ended analysis, discovery\n- Pattern: thoughtNumber 1 → 2 → 3 → ... → N\n- Example: \"How can we improve user engagement?\" Start with current state, explore options, reach conclusion\n\n**Backward Thinking (Goal-Driven Reasoning)**: Start at thought N (desired end state), work back to thought 1 (starting conditions)\n- Use when: Designing systems, planning projects, solving well-defined problems, working from goals\n- Pattern: thoughtNumber N → N-1 → N-2 → ... → 1\n- 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)\n- Tip: Begin with the desired outcome, then repeatedly ask \"what must be true immediately before this?\"\n\n**Mixed/Branched Thinking**: Combine approaches or explore alternative paths using branch parameters\n- Use when: Complex problems requiring multiple perspectives or hypothesis testing\n- Pattern: Use isRevision, branchFromThought, and branchId to create alternative reasoning paths\n\nPatterns Cookbook:\nThe patterns cookbook guide is automatically provided as an embedded resource at thought 1 and at the final thought.\nYou can also request it at any time using the includeGuide parameter.\nThe cookbook contains 20+ reasoning patterns with examples and usage guidance.\n\nKey features:\n- You can adjust total_thoughts up or down as you progress\n- You can question or revise previous thoughts\n- You can add more thoughts even after reaching what seemed like the end\n- You can express uncertainty and explore alternative approaches\n- Not every thought needs to build linearly - you can branch or backtrack\n- Generates a solution hypothesis\n- Verifies the hypothesis based on the Chain of Thought steps\n- Repeats the process until satisfied\n- Provides a correct answer\n\nParameters explained:\n- thought: Your current thinking step, which can include:\n* Regular analytical steps\n* Revisions of previous thoughts\n* Questions about previous decisions\n* Realizations about needing more analysis\n* Changes in approach\n* Hypothesis generation\n* Hypothesis verification\n- next_thought_needed: True if you need more thinking, even if at what seemed like the end\n- thought_number: Current number in sequence (can go beyond initial total if needed)\n- total_thoughts: Current estimate of thoughts needed (can be adjusted up/down)\n- is_revision: A boolean indicating if this thought revises previous thinking\n- revises_thought: If is_revision is true, which thought number is being reconsidered\n- branch_from_thought: If branching, which thought number is the branching point\n- branch_id: Identifier for the current branch (if any)\n- needs_more_thoughts: If reaching end but realizing more thoughts needed\n\nYou should:\n1. Start with an initial estimate of needed thoughts, but be ready to adjust\n2. Feel free to question or revise previous thoughts\n3. Don't hesitate to add more thoughts if needed, even at the \"end\"\n4. Express uncertainty when present\n5. Mark thoughts that revise previous thinking or branch into new paths\n6. Ignore information that is irrelevant to the current step\n7. Generate a solution hypothesis when appropriate\n8. Verify the hypothesis based on the Chain of Thought steps\n9. Repeat the process until satisfied with the solution\n10. Provide a single, ideally correct answer as the final output\n11. Only set next_thought_needed to false when truly done and a satisfactory answer is reached","price":0.01,"pricing_model":"flat","currency":"USDC"},{"name":"reset_session","description":"Reset thought history and branches for a specific session or all sessions.\n\nUse this tool to clear accumulated state when:\n- Starting a new unrelated reasoning task\n- Cleaning up after completing a reasoning session\n- Preventing state pollution between different tasks\n- Managing memory in long-running server instances\n\nIf sessionId is provided, only that specific session is reset.\nIf sessionId is omitted, ALL sessions are reset (use with caution).","price":0.01,"pricing_model":"flat","currency":"USDC"}]}],"config":{"mcpServers":{"clear-thought":{"url":"https://clear-thought.mcp.xpay.sh/mcp?key=YOUR_XPAY_KEY"}}},"instructions":["1. Get an API key at https://clear-thought.on.xpay.sh/account/keys","2. Replace YOUR_XPAY_KEY in the server URLs above","3. Add the config block to your MCP client (Claude, Cursor, Windsurf)","4. Each tool call is billed per-use from your XPay wallet (USDC)"]}