analyze_sessions
Analyze coding-agent sessions to track active time, tokens, tool mix, failing commands, edited files, and friction like retry loops or interruptions. Compare agents on shared topics.
Instructions
Analyze your coding-agent sessions: active time, tokens, tool mix, top and failing commands, most edited files, friction (retry loops, corrections, interrupts, rejected tool calls, compactions) and a directional comparison of agents on shared topics.
project: limit to one repository (omit for all projects). group_by: project | source | day | model.
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": "analyze_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | No | ||
| sources | No | all | |
| group_by | No | project | |
| days_back | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |