Get the user's podstow account state
get_accountReturn the user's tier, current-period article usage and limit, period length and reset time, voice preferences, and podcast-app subscription state. When to use: the user explicitly asks about their account, plan, tier, quota, usage, voice settings, or whether their podcast app is wired up. Do not use: as a pre-flight check before submit_url / submit_text (those tools return quota and subscription state on every call), as a sanity check to "see what voice they have", to detect whether the user has subscribed yet — the submit tools already carry subscribedInPodcastApp in their response — or to fetch their RSS feed URL, which this response does not carry: call show_listen_instructions for that. Calling this proactively just adds latency. Response includes structuredContent.setUpToListen — true once the user is set up to listen anywhere (subscribed in a podcast app OR already listening in the podstow in-app player), false otherwise. When false AND you are in an interactive session with the user, call show_listen_instructions to help them complete setup. Do not push it once setUpToListen is true — they already have somewhere to listen. (subscribedInPodcastApp also rides along as the narrower fact "subscribed in an external podcast app"; prefer setUpToListen for the onboarding decision so an in-app listener isn't pestered.) This response carries no feed URL or subscribe links: show_listen_instructions is the one tool that returns them, and it also renders the onboarding card iframe on hosts that support it. Read calls do not decrement the article quota. Errors: a refusal from this tool is a result with isError: true whose text block is a JSON object carrying class, code and message; a request refused before the tool runs (sign-in, scope, rate limit) is a JSON-RPC error carrying the same object as its data. Retries: up to 3 attempts with exponential backoff starting at 500ms, capped at the error's retryAfterMs when present. Retry only when class === "retriable". Surface fatal errors (class === "fatal") to the user without retry. On code === "quota_exceeded" the user is at their article limit: say when it lifts (resetsAt, an ISO instant, over a periodDays-day window covering allowance articles) and how to lift it sooner (unblock — "upgrade" to a larger plan, "pack" to buy extra articles), at upgradeUrl.
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_account"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | Yes | ||
| articleUsage | Yes | ||
| setUpToListen | Yes | `true` once the user is set up to listen *anywhere* — subscribed in a podcast app (`subscribedInPodcastApp`) OR already listening in podstow's own in-app player. This is the signal to key proactive onboarding off: while `false`, the user has saved episodes but no way to listen yet; once `true`, do not push `show_listen_instructions` unprompted. | |
| voicePreferences | Yes | Per-language enabled voice display names, keyed by BCP-47 primary subtag. | |
| subscribedInPodcastApp | Yes | `true` once a podcast client has fetched the user's feed at least once — i.e. the user has subscribed in an *external* podcast app. Precise fact, not the onboarding signal: do not key the decision to offer `show_listen_instructions` off this — use `setUpToListen`. |