get_subscription
The subscription that governs the current workspace: its state (none, trialing, active, past_due, read_only or cancelled), the plan name, the billing period, when the current period ends, whether the connected user is the one paying, how many X posts this billing month has used out of the plan's quota (xPosts), and any checkout that has not been paid or expired (pendingCheckout, with the same link).
Call this only when the user asks about plans, asks to subscribe, or asks to manage their subscription. Never volunteer it, and never suggest a plan or an upgrade in any other context. Also call it after the user says they have paid, to confirm the state is "trialing" or "active" before continuing setup; the state changes within seconds of the payment. If it is still "none", ask the user to finish the payment or wait a moment and call again.
When apiAndMcpAccess turns true after a payment, the client should refresh its tool list or reconnect: a connection made before paying sees the billing tools only.
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 | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| output | Yes |