get_contribution_metrics
Retrieve aggregated GitHub contribution metrics including commits, PRs, reviews, and code changes, filtered by time period to analyze contribution volume and patterns.
Instructions
Retrieve raw GitHub contribution metrics filtered by time period.
Returns aggregated data including commits, PRs, reviews, and code changes. Useful for understanding contribution volume and patterns.
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": "get_contribution_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | No | Optional repository filter (e.g. 'owner/repo'). | |
| since | No | Start date (ISO format, e.g. '2025-01-01'). Defaults to 30 days ago. | |
| until | No | End date (ISO format, e.g. '2025-01-31'). Defaults to today. | |
| username | No | GitHub username. Defaults to GITHUB_USERNAME env var. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |