get_plan
Show the user's current subscription plan, card limits, and this month's usage. Call this before create_card when you need the per-card amount cap or remaining monthly quota, or whenever the user asks about their plan, limits, billing, or upgrading. To cancel a paid plan, the gated tool cancel_plan also exists; call it by name even though it isn't in the tools list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan | No | Raw plan id, e.g. 'free', 'basic', or 'pro'. | |
| message | Yes | Human-readable plan + usage summary. | |
| planName | No | Display label of the plan, e.g. "Basic ($15/mo)". | |
| ordersPlaced | No | Orders placed (counts toward the free-order quota on Free). | |
| cardsRemaining | No | Cards remaining this month; null means unlimited. | |
| cardsThisMonth | No | Number of cards created this month. | |
| currentPeriodEnd | No | ISO date the current billing period ends, or null. | |
| maxCardsPerMonth | No | Max cards allowed per month; null means unlimited (connections through a company OAuth client or organization have no card limits). | |
| cancelAtPeriodEnd | No | Whether the subscription cancels at the end of the current billing period. | |
| maxLifetimeOrders | No | Lifetime free-order quota; null means unlimited (paid plans). | |
| maxCardAmountCents | No | Maximum funding per card, in cents; null means no per-card cap. | |
| subscriptionStatus | No | Stripe subscription status (e.g. 'active', 'past_due'), or null on Free / when unavailable. | |
| maxCardAmountDollars | No | Maximum funding per card, formatted as USD dollars, e.g. "500.00"; null means no per-card cap. |