Analyze Spending Patterns
analyze_spending_patternsSummarize monthly spending trends, category expenses, account usage, and budget data over a chosen lookback period, with optional forecasting and full budget details.
Instructions
Summarize monthly trends, category expenses, account usage, and budget data.
Args: lookback_months: Months before today to include (default: 6). include_forecasting: Include average-based income and expense estimates. verbose: Include full budget details instead of monthly budget totals.
Requests one page of up to 2000 transactions, without pagination; analysis can be incomplete for larger periods. Forecasts average up to three month buckets in response order, not necessarily the latest three calendar months. The confidence label is fixed, not a statistical measure. Failed transaction or budget requests appear in errors; successful analysis sections remain available. metadata.transactions_truncated reports whether more transactions exist (null when unknown). Fetch narrower date ranges with get_transactions for detail.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| verbose | No | ||
| lookback_months | No | ||
| include_forecasting | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| errors | No | ||
| verbose | No | ||
| forecast | No | ||
| metadata | No | ||
| account_usage | No | ||
| monthly_trends | No | ||
| analysis_period | No | ||
| category_analysis | No | ||
| budget_performance | No |