fix(mcp): added backfill effect to add missing descriptions for mcp tools#2290
Merged
waleedlatif1 merged 1 commit intostagingfrom Dec 10, 2025
Merged
fix(mcp): added backfill effect to add missing descriptions for mcp tools#2290waleedlatif1 merged 1 commit intostagingfrom
waleedlatif1 merged 1 commit intostagingfrom
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
Contributor
Greptile OverviewGreptile SummaryEnhanced MCP tools to include description field in their schema for better tool discoverability and usage. Added backfill logic to populate missing descriptions for previously selected MCP tools.
Confidence Score: 5/5
Important Files ChangedFile Analysis
Sequence DiagramsequenceDiagram
participant User
participant McpToolsList
participant ToolInput
participant McpTools
participant Store
User->>McpToolsList: Select MCP tool
McpToolsList->>McpToolsList: Create newTool with schema
McpToolsList->>McpToolsList: Spread inputSchema and add description
McpToolsList->>ToolInput: onToolSelect(newTool)
ToolInput->>Store: setStoreValue(newTool)
Note over ToolInput: useEffect monitoring selectedTools
ToolInput->>ToolInput: Check if MCP tools need update
ToolInput->>ToolInput: Filter tools missing schema or description
alt Tools need update
ToolInput->>McpTools: Find matching tool by name & serverId
McpTools-->>ToolInput: Return mcpTool with description
ToolInput->>ToolInput: Create updated schema with description
ToolInput->>Store: setStoreValue(updatedTools)
ToolInput->>ToolInput: Set hasBackfilledRef = true
end
|
waleedlatif1
added a commit
that referenced
this pull request
Dec 10, 2025
* feat(folders): add the ability to create a folder within a folder in popover (#2287) * fix(agent): filter out empty params to ensure LLM can set tool params at runtime (#2288) * fix(mcp): added backfill effect to add missing descriptions for mcp tools (#2290) * fix(redis): cleanup access pattern across callsites (#2289) * fix(redis): cleanup access pattern across callsites * swap redis command to be non blocking * improvement(log-details): polling, trace spans (#2292) --------- Co-authored-by: Vikhyath Mondreti <vikhyathvikku@gmail.com> Co-authored-by: Emir Karabeg <78010029+emir-karabeg@users.noreply.github.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
Type of Change
Testing
Tested manually
Checklist