User Activity Summary
analytics_user_summaryAggregate a user's GitLab activity over a time window into totals by action type, with breakdowns by project and day. Use it for counts instead of a raw event feed.
Instructions
Aggregated activity summary for a user over a time window — totals by action type (pushes, MRs opened/merged, comments, approvals), breakdown by project and by day. Use this instead of list_user_events when you want counts rather than a raw event feed.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"user": "<user>",
"since": "<since>"
},
"name": "analytics_user_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | Username (e.g. "alice") or numeric user ID | |
| since | Yes | ISO date/datetime, inclusive lower bound (e.g. "2026-03-01" or "2026-03-01T00:00:00Z") | |
| until | No | ISO date/datetime, inclusive upper bound. Defaults to now. | |
| maxEvents | No | Cap on events fetched. Defaults to 2000; returned envelope has truncated:true if reached. | |
| userCredentials | No | Your GitLab credentials (optional — falls back to the configured env token if not provided) |