List Subscriptions
list_subscriptionsList subscriptions owned by the API key owner, with optional filters and sorting, so an agent can search, summarize, compare, or identify records before writing. Results are paged; the response includes a pagination object (limit, offset, hasMore) and an echo of the applied query. Use when: The user asks to show, search, analyze, or summarize subscriptions. The user names a subscription but does not provide its UUID. The user asks which subscriptions renew soon (use status=active with expiringBefore) or which free trials are active (use isTrial=true). The agent needs current state before planning an update or delete. Do not use when: The user provides a known UUID and asks for only that exact record. The user wants computed totals or savings advice (use get_spend_summary or get_optimization_suggestions). 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": "list_subscriptions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Case-insensitive search over the subscription name. | |
| sort | No | Sort order. Prefix with - for descending, for example -nextPaymentDate. | -createdAt |
| limit | No | Maximum number of subscriptions to return (1-100, default 50). | |
| offset | No | Number of subscriptions to skip from the start. Use offset + limit to fetch the next page while hasMore is true. | |
| period | No | Filter by billing period. | |
| status | No | Filter by lifecycle state. | |
| isTrial | No | Filter by free-trial status (true returns only free trials; false excludes free trials). | |
| category | No | Exact category match, for example "Streaming". | |
| expiringBefore | No | Return subscriptions whose nextPaymentDate is on or before this date. Combine with status=active to find renewals due soon. |