Growth Rates
growth_ratesCompute period-over-period growth and CAGR for a numeric series. FREE.
Typical input {"values": [1000, 1100, 1320]} returns {"period_over_period_pct": [10.0, 20.0], "total_change_pct": 32.0, "avg_growth_per_period_pct_cagr": 14.89}.
Use when one series is already in period order. Not for comparing two variants (ab_test) and not for projecting future periods (forecast_trend). Errors: on invalid, missing, or malformed input this tool never raises a protocol error; it returns {"error": ""} (for example {"error": "need at least 2 values"}). Every call is read-only and idempotent, so after correcting the input it is always safe to retry.
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": {
"values": "<values>"
},
"name": "growth_rates"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| values | Yes | Ordered numeric series, oldest first, at least 2 values, e.g. monthly revenue [1000, 1100, 1320]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||