From 3f24a881a677348b0d1c4c766df6f77e6624577d Mon Sep 17 00:00:00 2001 From: "claude[bot]" <209825114+claude[bot]@users.noreply.github.com> Date: Sun, 24 Aug 2025 02:57:03 +0000 Subject: [PATCH] Improve parameter descriptions in sequential-thinking for better LLM type safety Enhanced thoughtNumber and totalThoughts parameter descriptions to explicitly guide LLMs toward correct numeric type usage instead of string values. Fixes #2598 Co-authored-by: Ola Hungerford --- src/sequentialthinking/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sequentialthinking/index.ts b/src/sequentialthinking/index.ts index bd486fdb..92effcc3 100644 --- a/src/sequentialthinking/index.ts +++ b/src/sequentialthinking/index.ts @@ -206,12 +206,12 @@ You should: }, thoughtNumber: { type: "integer", - description: "Current thought number", + description: "Current thought number (must be numeric: 1, 2, 3, not \"1\", \"2\", \"3\")", minimum: 1 }, totalThoughts: { type: "integer", - description: "Estimated total thoughts needed", + description: "Estimated total thoughts needed (must be numeric: 5, 10, not \"5\", \"10\")", minimum: 1 }, isRevision: {