analytics_compare_periods
Percentage change of every KPI between the current period and the one before it, by platform, with what got worse and what improved.
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": {
"client_id": "<client_id>"
},
"name": "analytics_compare_periods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | No | google, meta, tiktok, linkedin or microsoft. | |
| client_id | Yes | ||
| current_days | No | Length of the current period in days. | |
| previous_days | No | Length of the preceding period in days. |