Skip to content

fix(mcp): steer codegraph_context task param toward keywords (#571)#582

Open
Elimartain wants to merge 1 commit into
colbymchenry:mainfrom
Elimartain:fix-context-task-description
Open

fix(mcp): steer codegraph_context task param toward keywords (#571)#582
Elimartain wants to merge 1 commit into
colbymchenry:mainfrom
Elimartain:fix-context-task-description

Conversation

@Elimartain
Copy link
Copy Markdown

The task parameter described itself as "Description of the task, bug, or feature," which leads models to pass full natural-language sentences. The context search is FTS5 keyword-based, so those extra words dilute the query and cause misses.

Reworded it to ask for short keywords or symbol names, matching how the other params in this file are described.

Ran tsc --noEmit to confirm it still compiles. Fixes #571.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

codegraph_context task parameter description misleads models into passing natural language instead of keywords

1 participant