Review Bottlenecks
analytics_review_bottlenecksAggregate open non-draft merge requests across a group or project to surface review bottlenecks, showing per-reviewer queues, age buckets, and stalest MRs.
Instructions
Aggregate open (non-draft) merge requests across a group or project to surface review bottlenecks. Returns per-reviewer queue stats, age-bucket histogram, and the stalest MRs by updatedAt. MRs with no reviewer assigned are bucketed under "(unassigned)".
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "analytics_review_bottlenecks"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| group | No | Group full path (e.g. "my-group"). Mutually exclusive with `project`. | |
| maxMRs | No | Hard cap on MRs scanned. Envelope flags `truncated:true` if reached. | |
| project | No | Project full path (e.g. "my-group/my-project"). Mutually exclusive with `group`. | |
| topStalest | No | Cap on the stalest[] list. Default 20. | |
| staleAfterDays | No | An MR counts as "stale" if its updatedAt is older than this many days. Default 3. | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |