Spend history by category
get_spend_historyAnalyze spending by category across trailing complete months to surface median monthly amounts, min/max/latest values, and zero-filled month counts that expose lumpy costs and potential cut areas.
Instructions
Where a cut could come from: for each category over the trailing complete months, the MEDIAN month with its min, max and latest, zero-filled so monthsPresent shows how lumpy it is. Median, not mean: one unusual month must not suggest headroom that is not there. The server does not decide what is realistic to cut; that judgement is the user's.
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": "get_spend_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| months | No | Trailing complete months. |