Repository navigation
fix(mcp): agents can find the DM send tool again - #145
Merged
Merged
Conversation
…and instructions name the DM send tool messages_send_inbox_message has a ~15K-character description, so BM25 length normalisation kept it out of the top 8 for "send inbox message" and "send message to inbox conversation". A hidden tool whose action words (3+) all appear in the query now leads the results. The server instructions also name the DM reply flow, so agents stop concluding the MCP has no send tool. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TkrdQRi6X5geRp6AW7xCbH
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.
Why
A customer's agent (Cursor) concluded the MCP has no DM send tool.
messages_send_inbox_messagewas never pinned, and its ~15K-character description made BM25 rank it outside the top 8 for "send inbox message" and "send message to inbox conversation".What
search_tools: a hidden tool whose action words (3 or more, past the area prefix) all appear in the query leads the results; text ranking fills the rest.call_tool messages_send_inbox_messageflow.🤖 Generated with Claude Code
https://claude.ai/code/session_01TkrdQRi6X5geRp6AW7xCbH