get_spending_insights
Read Starling spending insights for a chosen calendar year by category, counterparty, or country. Use this to review where money went when no insight data is returned, fall back to summarise_spending.
Instructions
Read Starling's spending-insights endpoint for one calendar year, by category, counterparty, or country. Read-only. If Starling returns nothing, use summarise_spending.
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": {
"by": "<by>",
"year": "<year>"
},
"name": "get_spending_insights"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| by | Yes | ||
| year | Yes | Calendar year, for example 2026. | |
| accountUid | No | Account UID from list_accounts. Omit when the token can see only one account. |