Repository navigation
fix(mcp): "create ad" and "create_ad" find the ad create tools - #149
Merged
Merged
Conversation
Two words this common carry almost no BM25 signal, so short "create ... ad" overviews (ad_audiences_create_ad_audience, ad_creatives_create_ad_creative) outranked ad_campaigns_create_standalone_ad. Tools whose name runs from the query's first word to its last (create_..._ad) now lead, ordered by BM25. 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
The customer from #148 also searched "Create ad" and "create_ad";
ad_campaigns_create_standalone_adranked 9th behind short overviews likead_audiences_create_ad_audience(BM25 gets almost no signal from two very common words).What
create_..._ad), lead the results, ordered by BM25. Snake_case and spaced queries match the same way.🤖 Generated with Claude Code
https://claude.ai/code/session_01TkrdQRi6X5geRp6AW7xCbH