compare_periods
Compares a KPI across a baseline period and a comparison period, then states whether the change is an improvement based on the KPI’s good direction.
Instructions
Compare a KPI between a baseline period_a and a comparison period_b. Periods are 'YYYY-MM', 'YYYY-MM-DD/YYYY-MM-DD' or a single day. Says whether the change is an improvement given the KPI's good direction.
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": {
"kpi": "<kpi>",
"period_a": "<period_a>",
"period_b": "<period_b>"
},
"name": "compare_periods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kpi | Yes | ||
| filters | No | ||
| period_a | Yes | ||
| period_b | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||