Get analytics
get_analyticsRetrieve analytics rollups for overall, disciplina, activity, or productivity views, filtered by period, user, or group to analyze workforce activity and productivity.
Instructions
Analytics rollups: view=overall|disciplina|activity|productivity.
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_analytics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | Analytics view: overall|disciplina|activity|productivity. | overall |
| period | No | Relative period: today|yesterday|last_7_days|last_30_days (wins over date_from/date_to when set). | |
| compact | No | ||
| date_to | No | End datetime; date-only covers until 23:59:59 that day. | |
| user_id | No | User filter: Items.ID where Type=2 (reports call it AliasID). NodeType=1. | |
| group_id | No | Group filter: TreeviewUsers NodeType=14 (console group id). | |
| date_from | No | Start datetime YYYY-MM-DD or YYYY-MM-DD HH:MM:SS (full day if date-only). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||