From abb4e12c79a641ed493eeda5c1cfc2e1806d94a8 Mon Sep 17 00:00:00 2001 From: STiFLeR7 Date: Fri, 10 Jul 2026 12:58:59 +0530 Subject: [PATCH] fix(sequentialthinking): trim duplicative description sections The tool description repeated content already carried by each parameter's own inputSchema `.describe()` call ("Parameters explained") and listed implementation virtues unrelated to tool selection ("Key features"). Removing both keeps the same selection signal (intro + "When to use this tool" + "You should") while cutting the definition's per-session token cost roughly in half. Fixes #4507 --- src/sequentialthinking/index.ts | 29 ----------------------------- 1 file changed, 29 deletions(-) diff --git a/src/sequentialthinking/index.ts b/src/sequentialthinking/index.ts index 217845bb3d..fc817e7fde 100644 --- a/src/sequentialthinking/index.ts +++ b/src/sequentialthinking/index.ts @@ -39,35 +39,6 @@ When to use this tool: - Tasks that need to maintain context over multiple steps - Situations where irrelevant information needs to be filtered out -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 -- nextThoughtNeeded: True if you need more thinking, even if at what seemed like the end -- thoughtNumber: Current number in sequence (can go beyond initial total if needed) -- totalThoughts: Current estimate of thoughts needed (can be adjusted up/down) -- isRevision: A boolean indicating if this thought revises previous thinking -- revisesThought: If is_revision is true, which thought number is being reconsidered -- branchFromThought: If branching, which thought number is the branching point -- branchId: Identifier for the current branch (if any) -- needsMoreThoughts: 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