Get Spending Summary
get_spending_summarySummarize income, expenses, and net spending by category, account, or month; excludes transfers and resolves date ranges from ISO or natural-language inputs.
Instructions
Summarize income, expenses, and net by category, account, or month.
Args: start_date: Inclusive start; accepts ISO dates or natural language. end_date: Inclusive end; accepts the same formats. A missing end defaults to today; a missing start to the first day of the end date's month. group_by: 'category', 'account', or 'month'; other values produce one group.
Fetches all matching pages. Expenses are positive magnitudes. Transfers (categories in Monarch's transfer group, such as credit card payments) are left out and counted in transfers_excluded. period holds the resolved ISO dates.
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_spending_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | ||
| group_by | No | category | |
| start_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| groups | Yes | ||
| period | Yes | ||
| totals | Yes | ||
| group_by | Yes | ||
| transfers_excluded | No |