Get account status
amber_get_account_statusRetrieves the authenticated user's subscription status, next billing date, memory counts, and creation date to answer account, billing, or cancellation questions. Read-only.
Instructions
Return the authenticated user's account summary: subscription state, next billing date, memory counts, and account creation date. Use this when the user asks about their account, subscription status, or how many memories they have.
After cancellation, access continues until next_billing_date (the end of the paid period). Once ACCESS ends, memory counts show as null (data is preserved, just not queryable until resubscribed) -- note that is later than subscription_active turning false, because a cancelled subscription keeps access until its paid period ends and reports real counts until then. If deletion_scheduled_at is set, the account is pending permanent deletion -- use amber_cancel_account_deletion to stop it. Read-only -- does not modify any account state. Not rate-limited.
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": "amber_get_account_status"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | Amber's own id for this account. Stable, and safe to show. | |
| payer_id | Yes | PayPal Payer ID (permanent account identifier). | |
| member_since | Yes | When the account was created, as an ISO 8601 UTC datetime, not when the current subscription started. | |
| memory_count | Yes | Active memory count. Null once ACCESS has ended, which is not the same as `subscription_active: false`: a cancelled subscription keeps access until its paid period ends, and reports real counts throughout. Data is preserved either way, just not queryable once access ends. | |
| subscription_id | Yes | The PayPal subscription this account bills through, or null if there has never been one. | |
| migration_locked | Yes | True while Amber is moving this account's database, during which WRITES are refused with `migration_in_progress` and reads keep working. Normally false. If a store was refused, this is how a caller confirms why and that retrying shortly will succeed rather than the request being malformed. | |
| next_billing_date | Yes | Date when access expires (ISO 8601). When subscription_active is false and this date is in the future, the user still has access until this date but will NOT be charged again (cancelled/no subscription). When subscription_active is true, this is the next billing date. Null if unknown. | |
| subscription_active | Yes | Whether the account can currently store and search. False does NOT mean data was lost: memories are preserved and become queryable again on resubscribing. | |
| deleted_memory_count | Yes | Trashed memory count, on the same rule as `memory_count`: null once access has ended, not merely when `subscription_active` is false. | |
| deletion_scheduled_at | Yes | ISO 8601 date when the account will be permanently deleted, or null if not scheduled. Use `amber_cancel_account_deletion` to cancel. |