Skip to content

Commit f83b1d2

Browse files
author
Bruce Hauman
committed
Remove think tool from codebase
Removed the think tool implementation and all references to it: - Deleted src/clojure_mcp/tools/think/tool.clj and test file - Removed from tools.clj read-only-tool-syms - Removed from dispatch-agent and architect default configs - Updated documentation and example configuration files
1 parent c171749 commit f83b1d2

File tree

8 files changed

+5
-106
lines changed

8 files changed

+5
-106
lines changed

doc/configuring-agents.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ Agents can potentially access all MCP tools:
8080
| `:read_file` | Read file contents with pattern matching |
8181
| `:grep` | Search file contents |
8282
| `:glob_files` | Find files by pattern |
83-
| `:think` | Reasoning tool |
8483
| `:clojure_inspect_project` | Project structure analysis |
8584

8685
### Evaluation Tools

doc/custom-mcp-server.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,6 @@ Maybe you want a read-only server for safer exploration:
9595
[clojure-mcp.tools.unified-read-file.tool :as unified-read-file-tool]
9696
[clojure-mcp.tools.grep.tool :as new-grep-tool]
9797
[clojure-mcp.tools.glob-files.tool :as glob-files-tool]
98-
[clojure-mcp.tools.think.tool :as think-tool]
9998
[clojure-mcp.tools.eval.tool :as eval-tool]
10099
[clojure-mcp.tools.project.tool :as project-tool]))
101100

@@ -105,7 +104,6 @@ Maybe you want a read-only server for safer exploration:
105104
(unified-read-file-tool/unified-read-file-tool nrepl-client-atom)
106105
(new-grep-tool/grep-tool nrepl-client-atom)
107106
(glob-files-tool/glob-files-tool nrepl-client-atom)
108-
(think-tool/think-tool nrepl-client-atom)
109107
(eval-tool/eval-code nrepl-client-atom)
110108
(project-tool/inspect-project-tool nrepl-client-atom)])
111109

resources/configs/example-component-filtering.edn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
;; :enable-tools [:clojure-eval]
1919

2020
;; Option 4: Read-only exploration (no file writes or code execution)
21-
;; :enable-tools [:read-file :grep :glob-files :LS :clojure-inspect-project :think]
21+
;; :enable-tools [:read-file :grep :glob-files :LS :clojure-inspect-project]
2222

2323
;; ===================
2424
;; PROMPTS FILTERING
@@ -58,7 +58,7 @@
5858

5959
;; Example 2: Read-Only Code Review Server
6060
;; Uncomment this entire block for read-only exploration:
61-
#_{:enable-tools [:read-file :grep :glob-files :LS :clojure-inspect-project :think]
61+
#_{:enable-tools [:read-file :grep :glob-files :LS :clojure-inspect-project]
6262
:enable-prompts ["clojure_repl_system_prompt"]
6363
:enable-resources ["PROJECT_SUMMARY.md" "README.md"]}
6464

resources/configs/example-prompt-cli-agent.edn

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ Be concise and clear in your explanations."
1919
:enable-tools [:read_file
2020
:grep
2121
:glob_files
22-
:clojure_inspect_project
23-
:think]
22+
:clojure_inspect_project]
2423

2524
;; Memory configuration
2625
;; false = stateless (each invocation is independent)

src/clojure_mcp/tools.clj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
'clojure-mcp.tools.unified-read-file.tool/unified-read-file-tool
1010
'clojure-mcp.tools.grep.tool/grep-tool
1111
'clojure-mcp.tools.glob-files.tool/glob-files-tool
12-
'clojure-mcp.tools.think.tool/think-tool
1312
'clojure-mcp.tools.project.tool/inspect-project-tool])
1413

1514
(def eval-tool-syms

src/clojure_mcp/tools/agent_tool_builder/default_agents.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
:description (slurp (io/resource "clojure_mcp/tools/dispatch_agent/description.md"))
1313
:system-message (slurp (io/resource "clojure_mcp/tools/dispatch_agent/system_message.md"))
1414
:context true ; Uses default code index and project summary
15-
:enable-tools [:LS :read_file :grep :glob_files :think :clojure_inspect_project]
15+
:enable-tools [:LS :read_file :grep :glob_files :clojure_inspect_project]
1616
:memory-size 100})
1717

1818
(defn architect-config
@@ -23,7 +23,7 @@
2323
:description (slurp (io/resource "clojure_mcp/tools/architect/description.md"))
2424
:system-message (slurp (io/resource "clojure_mcp/tools/architect/system_message.md"))
2525
:context false ; No default context
26-
:enable-tools [:LS :read_file :grep :glob_files :clojure_inspect_project :think]
26+
:enable-tools [:LS :read_file :grep :glob_files :clojure_inspect_project]
2727
:memory-size 100})
2828

2929
(defn code-critique-config

src/clojure_mcp/tools/think/tool.clj

Lines changed: 0 additions & 55 deletions
This file was deleted.

test/clojure_mcp/tools/think/tool_test.clj

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)