-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Describe the feature or problem you’d like to solve
I want to be able to ask for a particular user's most recent comment on an issue. Today, this is hard to get via the MCP for a few reasons:
- Comments can be long, which pushes response lengths to sizes that are beyond token limits
- This tool call doesn't support sorting, which means you have to fetch all pages and load all comments to find the most recent one
- Related to 2, without author filtering, you have to fetch all comments
Proposed solution
If the tool call supported sorting and author filtering, you could make a single tool call to get the most recent comment for a given author.
Example prompts or workflows (for tools/toolsets only)
- Get me the most recent update that person X made on an issue I'm tracking
- What are the most recent issues that person X commented on in the last 1 week (can first filter issues by updated date, then get their most recent comment on each)
- Summarize the most recent comments that X made in repo Y
Additional context
Generally, lack of filtering for get_issue_comments makes it hard to use, given how long comments can be
maxrodewald, wintercarver, inestavares, geekjuice, krishna-acondy and 10 more
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request