rc_compare_periods
Compare a subscription metric between two date ranges, returning averages, totals, deltas, and percentage changes to spot month-over-month or year-over-year trends.
Instructions
Compare a metric across two time periods. Returns averages, totals, deltas, and percentage changes. Useful for month-over-month or year-over-year analysis.
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": {
"chart_name": "<chart_name>",
"period1_start": "<period1_start>",
"period1_end": "<period1_end>",
"period2_start": "<period2_start>",
"period2_end": "<period2_end>"
},
"name": "rc_compare_periods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chart_name | Yes | The chart/metric to compare | |
| period1_end | Yes | Period A end date (YYYY-MM-DD) | |
| period2_end | Yes | Period B end date (YYYY-MM-DD) | |
| period1_start | Yes | Period A start date (YYYY-MM-DD) | |
| period2_start | Yes | Period B start date (YYYY-MM-DD) |