Commit 2db18fc
docs: update MCP tool description guidelines based on lessons learned
Changed "Context Efficiency" section to prioritize LLM usability over
brevity. Key points:
- LLM's ability to use tools correctly is the top priority
- Complex tools require detailed descriptions for correct usage
- Token cost is acceptable if it ensures LLM doesn't misuse tools
- Avoid verbose phrasing, but never sacrifice clarity for brevity
This lesson came from attempting to shorten the sharepoint_excel tool
description, which caused LLM to provide incorrect responses. The
original detailed description was necessary for proper functionality.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 98ed299 commit 2db18fc
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
93 | | - | |
94 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
95 | 98 | | |
96 | 99 | | |
97 | 100 | | |
| |||
0 commit comments