analyze_expenses
Analyze spending patterns and reward earnings for any period to identify category breakdowns, card usage, and where your money goes.
Instructions
Analyzes spending patterns and reward earnings for a given period.
Call this tool when user asks:
- "How did I spend this month?"
- "Show me my spending summary"
- "What's my reward rate?"
- "Where is my money going?"
Args:
period: Time period to analyze. Options: "week", "month", "quarter", "year"
Ignored if start_date/end_date provided.
start_date: Custom start date (YYYY-MM-DD). Optional.
end_date: Custom end date (YYYY-MM-DD). Optional.
Returns:
dict with spending summary, category breakdown, card usage, and insights.
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": "analyze_expenses"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | month | |
| end_date | No | ||
| start_date | No |