Year-to-date (YTD) growth calculator
ytd_growthCompare year-to-date totals with the same period last year using monthly values or YTD totals, then calculate a simple full-year run rate.
Instructions
Compares year-to-date totals with the same period last year, from monthly values or YTD totals, and gives a simple full-year run rate.
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": "ytd_growth"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| last_ytd_total | No | Alternative: last year's total for the same period. | |
| months_elapsed | No | Months covered, needed with totals for the run rate. | |
| this_ytd_total | No | Alternative: this year's YTD total. | |
| last_year_monthly | No | Last year's values for the same months. | |
| this_year_monthly | No | This year's values by month so far, January first (or first month of the financial year). |