Merchant Center: Get Account Health
gmc_get_account_healthSummarise the health of one Google Merchant Center account: how many products are active, pending, disapproved and expiring per destination (Shopping ads, free listings, …) and country, the item-level issues behind those counts ranked by how many products each affects, with Google's description and help link, and the account-level issues that stop the whole account from serving. Use it first when the user asks why products are not showing or whether the feed is healthy; follow up with gmc_query on product_view for the products behind a count. Read-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": "gmc_get_account_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| country | No | Limit product statuses to one country as a two-letter code, e.g. US. Default: every country. | |
| account_id | No | Numeric Merchant Center account id, from gmc_list_accounts. May be left out when the connected login reaches exactly one account. | |
| language_code | No | BCP-47 language for the account issue texts, e.g. en-US (default), es, uk. | |
| reporting_context | No | Limit product statuses to one destination, e.g. SHOPPING_ADS, FREE_LISTINGS, LOCAL_INVENTORY_ADS, DEMAND_GEN_ADS. Default: every destination. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| totals | Yes | Product counts summed over every status row returned. | |
| accountId | Yes | Merchant Center account the summary is for. | |
| accountIssues | Yes | Issues on the account itself, worst first. | |
| productStatuses | Yes | One row per destination and country, as Merchant Center aggregates them. |