Get Account
get_accountThe account: its apps with Apptail ids, its plan and the limits that can refuse a write, App Store Connect health per app, how fresh the first-party data is, and the storefronts it focuses on. Call this first whenever the request is about "my app" or "my keywords" — every other tool needs an app_id, and the focus countries and hidden apps here are what keep your answer agreeing with what the customer sees in the console.
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 |
|---|---|---|---|
| include_hidden | No | Also return apps the owner has set aside. Default true, because they are still tracked and still answerable — each one is marked `hidden: true`, and they must be left out of portfolio totals. Set false for just the working portfolio. | |
| include_competitors | No | Also return the rival apps tracked under this account's apps, each marked `is_competitor`. Default false: including them makes any portfolio total wrong, and get_competitors is the tool that answers questions about them. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| apps | Yes | The account's apps. `app_id` here is what every other tool takes; the numeric id in an App Store URL is `apple_app_id` and will not work. | |
| plan | Yes | The plan and its ceilings, read from the services that enforce them — so a refusal cannot disagree with this. Tell the user what was capped rather than working around a limit. | |
| count | Yes | Number of apps returned. | |
| connection | Yes | App Store Connect health for the account. A `failed` or `stale` connection looks exactly like a quiet fortnight in the numbers, which is why it is stated separately rather than left to be inferred. `none` means Apple has never been connected — impressions, page views, downloads and proceeds do not exist for this account and never did, so say that rather than reporting a decline; everything AppTail crawls itself (ranks, charts, reviews, ratings, releases, prices, markets) works exactly as it does for anybody else. `pending` is the same absence with a connection already on its way: repeat the wait, not the setup instructions. | |
| data_through | No | Most recent day App Store Connect reported anywhere in the account. Per-app dates are on each app, and they differ — one healthy app keeps this recent while another has been silent for weeks. | |
| focus_countries | Yes | The storefronts this account actually watches, in its own order. Every console screen narrows to these. Narrow your answers to them too unless the user asks otherwise — an answer across all 122 storefronts buries the one they wanted. |