feat: Add/enhance tool annotations for improved LLM tool understanding#106
Open
bryankthompson wants to merge 1 commit intoexa-labs:mainfrom
Open
feat: Add/enhance tool annotations for improved LLM tool understanding#106bryankthompson wants to merge 1 commit intoexa-labs:mainfrom
bryankthompson wants to merge 1 commit intoexa-labs:mainfrom
Conversation
Add complete MCP tool annotations to all 8 tools: - Added title, readOnlyHint, destructiveHint, idempotentHint, openWorldHint - All tools are read-only (web searches/fetches) - All tools have openWorldHint=true (external API calls) Tools annotated: - web_search_exa: Web Search - deep_search_exa: Deep Search - get_code_context_exa: Code Context Search - company_research_exa: Company Research - crawling_exa: Web Crawling - linkedin_search_exa: LinkedIn Search - deep_researcher_start: Start Deep Research - deep_researcher_check: Check Deep Research Status This improves tool safety metadata for MCP clients. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
|
@web-flow is attempting to deploy a commit to the Exa Team on Vercel. A member of the Team first needs to authorize it. |
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 complete MCP tool annotations to all 8 tools to help LLMs better understand tool behavior and enable clients to make safer decisions about tool execution.
Changes
New annotations added (5 tools):
company_research_exa: Company Researchcrawling_exa: Web Crawlinglinkedin_search_exa: LinkedIn Searchdeep_researcher_start: Start Deep Researchdeep_researcher_check: Check Deep Research StatusEnhanced annotations (3 tools):
Added
titleandopenWorldHintto existing annotations:web_search_exa: Web Searchdeep_search_exa: Deep Searchget_code_context_exa: Code Context SearchAnnotation details for all tools:
Why This Matters
openWorldHint: trueindicates tools access external systemstitleprovides human-readable names for displaydeep_researcher_start)Testing
npm run build)🤖 Generated with Claude Code