feat: Add tool annotations for improved LLM tool understanding#850
Merged
zihaolin96 merged 1 commit intoJan 13, 2026
Merged
Conversation
Add readOnlyHint and destructiveHint annotations to 121 tools across 6 MCP servers to help LLMs better understand tool behavior and make safer decisions. Servers Updated: - Figma (23 tools) - Trello (10 tools) - Calendly (6 tools) - Perplexity AI (2 tools) - MS Teams (11 tools) - Intercom (69 tools) Changes: - Added readOnlyHint: true to read-only tools (queries, fetches) - Added destructiveHint: true to tools that create/update/delete data - Added title annotations for human-readable display This improves tool safety metadata for MCP clients. Co-Authored-By: Claude <noreply@anthropic.com>
|
|
Contributor
Author
|
@CLAassistant check |
LLiuZheng
pushed a commit
that referenced
this pull request
Jan 16, 2026
Co-authored-by: triepod-ai <noreply@github.com> Co-authored-by: Claude <noreply@anthropic.com>
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
Adds MCP tool annotations (
readOnlyHint,destructiveHint) to 121 tools across 6 MCP servers to help LLMs better understand tool behavior and make safer decisions about tool execution.Servers Updated
Changes
readOnlyHint: trueto read-only tools (queries, fetches)destructiveHint: trueto tools that create/update/delete datatitleannotations for human-readable displayWhy This Matters
readOnlyHinttells the LLM a tool is safe to call without side effectsdestructiveHintsignals the LLM should be more careful before executingBefore/After Example
Before:
After:
Testing
🤖 Generated with Claude Code