Get Spend Summary
get_spend_summaryReturn computed spend analytics: subscription counts by status (including active free trials in counts.trials), paid monthly and yearly totals grouped per currency (never converted across currencies; unbilled free trials are excluded from recurring spend totals), paid spend by category, and upcoming renewals/trial expirations within a horizon (each tagged with isTrial). Use this instead of listing and summing client-side. Use when: The user asks how much they spend, where their money goes, or what renews soon. The user wants a monthly or yearly spend breakdown. Do not use when: The user wants the raw list of records (use list_subscriptions). Do not claim you can configure Bark URL/device key, send a test push, change timeZone/locale, or manage the category catalog. Those stay in the web app. If the user asks to paste a Bark URL or run a test push, refuse and point them to Settings → Notifications in the web app, and to the reminders guide at /docs/en/user-guide/reminders (Chinese: /docs/zh-CN/user-guide/reminders). After Bark is configured on the web, you may toggle enabled/daysBefore and per-subscription notificationEnabled.
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_spend_summary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| horizonDays | No | Window in days for upcomingRenewals (default 30). |