Skip to content

Feature/review list filters#24

Open
benh57 wants to merge 1 commit intoperforce:mainfrom
benh57:feature/review-list-filters
Open

Feature/review list filters#24
benh57 wants to merge 1 commit intoperforce:mainfrom
benh57:feature/review-list-filters

Conversation

@benh57
Copy link
Copy Markdown

@benh57 benh57 commented Mar 26, 2026

The mcp had trouble finding a review when i asked it to find a review for a particular change (which wasn't on my dashboard due to being in 'needs review' state) -- it tried to find it on my dashboard instead and got confused. This adds a change filter to the reviews tool which helped it do that better. Note this is using the v11 api, which is different than v9 not sure if we need to support swarm api v9 or not.

Add author[] and change query parameters to the list reviews action.

- author[]: filter by review author(s), passed directly to the API
- change: uses keywords + keywordsFields[]=changes (the change[] param
  was removed in Swarm API v10/v11; this is the correct v11 approach)
- Added both params to the tool registration in server.py, the Pydantic
  model, the service layer, and the handler

Also clarify the dashboard action description to indicate it returns
reviews needing attention, not all authored/participated reviews.
@benh57 benh57 force-pushed the feature/review-list-filters branch from d24b90a to 59df1b7 Compare March 26, 2026 05:49
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.

1 participant