Get monthly plan
get_subscriptionRead this account's monthly plan: tier, status (active, past_due or canceled), the paid period, the monthly credit and how much of it is left, what happens once it is used up (exhaustionMode), cancelAtPeriodEnd, a scheduled tier change (nextTier) and the saved card (brand and last 4 digits only). Also returns the tier catalog (price and monthly credit in hellers, excluding VAT), topupBalanceHal (topped-up credit, separate from the monthly credit - get_balance returns the sum of both), available, which says whether a new plan can be started on this account (false while a plan is running, because a second one is refused with subscription_exists), and recommendation: the cheapest way to pay for what the account actually spent in the last 30 days (spendHal, cheapestPath per_second or plan, the cheapest tier with top-ups and its cost tierTotalHal, savingsHal, worthIt when the saving is big enough to suggest the plan, and steady when the spend is not just a one-off peak: usage over the last 14 days scaled to 30 days, plus monthly number fees, reaches at least the price of the recommended tier; the reply sentence suggests the plan only when both are true), null when no plan is offered or the credit history is shorter than 30 days. subscription is null when the account has no plan. previousPeriod summarizes the paid period before the current one, with the same figures as the renewal e-mail: tier, monthly credit (creditHal), how much of it was used (usedHal, usedPercent), spending beyond it (overHal) and what expired (expiredHal); it is returned only while the plan is active and is null in the first period, when the credit history could not prove the usage, and 45 days after the renewal that saved it. Monthly credit is spent first, expires at the end of each paid period and is non-refundable (a consumer who withdraws within 14 days pays only a proportional part); topped-up credit never expires. Same data as GET /v1/subscription (response schema in /openapi.json).
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_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||