Detect Recurring Charges
detect_recurring_chargesFind recurring charges in YNAB transaction history by grouping outflows by payee and exact amount, then flagging weekly, monthly, quarterly, or yearly patterns with estimated annual cost for subscription audits.
Instructions
Read-only detection of recurring charges (subscriptions, utilities, insurance) from transaction history: groups outflows by payee + exact amount and reports groups whose spacing matches a weekly/biweekly/monthly/quarterly/yearly cadence, with estimated annual cost. Use for subscription audits and 'what am I paying for' questions. Catches auto-imported recurring charges that list_scheduled_transactions cannot see (that tool only lists manually-created recurrences). Limitations: variable-amount bills (utilities that fluctuate) are missed because grouping is by exact amount; the same vendor billed under multiple identities or payee spellings appears as separate rows — verify against payee variants with search_payees before concluding a subscription was cancelled.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| budgetId | No | Budget ID (uses default if not provided) | |
| monthsBack | No | History window in months (default 6; longer windows catch quarterly/yearly cadences) | |
| minOccurrences | No | Minimum occurrences to count as recurring (default 3) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |