Get Expense Insight
get_expense_insightAnalyze expenses over a date range to see total spending or break it down by vendor, source account, or budget, with optional inclusion of unbudgeted expenses.
Instructions
Analyze expenses for a time period with optional grouping.
Get total expenses or break them down by expense account (vendor/payee), asset account (source), or budget. When grouping by budget, optionally includes unbudgeted expenses as a separate entry.
Use cases:
See total spending for a month
Identify top expense categories/vendors
Track which accounts have the most outflow
Analyze budget utilization vs unbudgeted 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": {
"req": "<req>"
},
"name": "get_expense_insight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| req | Yes | Request for expense insight analysis. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entries | Yes | List of expense entries, grouped as requested | |
| end_date | Yes | End of the analysis period | |
| group_by | No | The grouping method used, if any | |
| start_date | Yes | Start of the analysis period | |
| currency_code | Yes | Primary currency code for the totals | |
| total_expenses | Yes | Total expenses for the period (as positive number) |