feat: Add MCP tool annotations for improved LLM integration#16
Open
bryankthompson wants to merge 1 commit into
Open
feat: Add MCP tool annotations for improved LLM integration#16bryankthompson wants to merge 1 commit into
bryankthompson wants to merge 1 commit into
Conversation
Add ToolAnnotations to all 11 tools with appropriate hints: - readOnlyHint: true for all tools (data retrieval only) - destructiveHint: false for all tools (no data modification) - openWorldHint: true for all tools (external Financial Datasets API) - title: Human-readable tool names for UI display Also upgrades mcp[cli] from 1.3.0 to 1.8.0 (required for annotations support). Tool annotations help LLM clients understand tool behavior and make better decisions about tool selection and user confirmations. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add
ToolAnnotationsto all 11 tools to help LLM clients understand tool behavior and make better decisions about tool selection and user confirmations.Changes
mcp[cli]>=1.3.0→mcp[cli]>=1.8.0(required for annotations)server.pyTool Annotations Added
Annotation Rationale
Why This Matters
Tool annotations are part of the MCP specification that help AI clients:
Testing
🤖 Generated with Claude Code