|
2 | 2 |
|
3 | 3 | ## [Unreleased] |
4 | 4 |
|
5 | | -## [0.1.11-alpha] - 2025-10-04 |
| 5 | +## [0.1.11-alpha] - 2025-10-04 Error Handling Changes in ClojureMCP Tool Responses |
6 | 6 |
|
7 | | -Changes to Claude Desktop and Claude Code have caused me to re-evalute |
8 | | -how I use the error flag in the ClojureMCP tool responses. |
| 7 | +Recent changes to Claude Desktop and Claude Code prompted me to |
| 8 | +reconsider how ClojureMCP tools use the error flag in their responses. |
9 | 9 |
|
10 | | -This change should make the tool results still legible/expandable when |
11 | | -there is a poorly executed tool call as opposed to a tool malfunction. |
| 10 | +Claude Desktop and Claude Code are now limiting the view of results |
| 11 | +when a tool responds with the error flag set to true. |
12 | 12 |
|
13 | | -ClojureMCP tools has been mistakenly using the MCP tool result error |
14 | | -flag to signal errors that result from normal tool operation. Now only |
15 | | -runtime Exceptions will cause the MCP tool response to contain an |
16 | | -error flag of true. |
| 13 | +Before this commit, the error flag was incorrectly triggered for |
| 14 | +errors arising from normal tool operation (such as invalid parameters |
| 15 | +or expected failure conditions). This approach made tool results less |
| 16 | +accessible when a tool was used incorrectly, even though the tool |
| 17 | +itself was functioning properly. |
| 18 | + |
| 19 | +Going forward, the error flag will only be set to true for runtime |
| 20 | +Exceptions that indicate actual tool malfunctions. This change ensures |
| 21 | +tool results remain legible and expandable when users make mistakes in |
| 22 | +tool usage, while still clearly signaling genuine system errors. |
17 | 23 |
|
18 | 24 | ### Fixed |
19 | 25 | - Prevent validation errors from sending MCP tool result error flag - validation/processing errors now appear in results without signaling protocol-level errors |
|
0 commit comments