Skip to main content
Glama

SEO GSC Wizard MCP

List Merchant Center accounts

list_gmc_accounts
Read-only

Lists every Google Merchant Center account readable by the connected Google accounts of the authenticated user, and which GSC Wizard sites each account is linked to (via linkedSiteUrls). Use it to discover the Merchant Center account id to link to a property, or to verify the Shopping setup of a site. isAdvanced: true marks a multi-client parent account: reporting runs against a standalone account or one of its sub-accounts, never the parent itself. linkedSiteUrls covers only the sites of the GSC Wizard account this connection is authenticated as (returned as account). incomplete: true means the list is a floor, not the whole set: gaps and unprobedAccountIds say what could not be read or checked for sub-accounts, and errors names each connected Google account whose listing failed; retry for a complete list. An empty result with connected: false carries a reason: "no_scope" means the Merchant Center consent has not been granted in the GSC Wizard app yet (connect Merchant Center at tool.gscwizard.com first); "credentials_revoked" means it was granted but Google now rejects the stored credentials, so the Google account has to be reconnected on the Account page. On a shared property, linkedAccountId is withheld (null, with a note) until the owner enables the Merchant Center opt-in on your invite.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
siteUrlNoOptional property URL as returned by list_sites. When given, the response also reports which Merchant Center account is currently linked to that property (`linkedAccountId`).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
gapsNo
hintNo
noteNo
countNo
errorNo
errorsNo
reasonNo
accountNo
siteUrlNo
accountsNo
connectedNo
incompleteNo
incompleteNoteNo
linkedAccountIdNo
gcpProjectNumberNo
unprobedAccountIdsNo
registrationRequiredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed18 schema fields changed
    • changedOutput schema / properties / account / $ref
      Previous value: -"#/properties/hint"New value: +"#/properties/reason"
    • changedOutput schema / properties / accounts / items / properties / accountEmail / $ref
      Previous value: -"#/properties/hint"New value: +"#/properties/reason"
    • changedOutput schema / properties / accounts / items / properties / accountId / $ref
      Previous value: -"#/properties/hint"New value: +"#/properties/reason"
    • changedOutput schema / properties / accounts / items / properties / accountName / $ref
      Previous value: -"#/properties/hint"New value: +"#/properties/reason"
    • changedOutput schema / properties / accounts / items / properties / name / $ref
      Previous value: -"#/properties/hint"New value: +"#/properties/reason"
    • changedOutput schema / properties / error / $ref
      Previous value: -"#/properties/hint"New value: +"#/properties/reason"
    • addedOutput schema / properties / errors
      Added value: +{
      +  "anyOf": [
      +    {
      +      "items": {
      +        "additionalProperties": false,
      +        "properties": {
      +          "accountEmail": {
      +            "$ref": "#/properties/reason"
      +          },
      +          "error": {
      +            "$ref": "#/properties/reason"
      +          }
      +        },
      +        "type": "object"
      +      },
      +      "type": "array"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ]
      +}
    • addedOutput schema / properties / gaps
      Added value: +{
      +  "$ref": "#/properties/accounts/items/properties/linkedSiteUrls"
      +}
    • changedOutput schema / properties / gcpProjectNumber / $ref
      Previous value: -"#/properties/hint"New value: +"#/properties/reason"
    • addedOutput schema / properties / hint / $ref
      Added value: +"#/properties/reason"
    • removedOutput schema / properties / hint / type
      Removed value: -[
      -  "string",
      -  "null"
      -]
    • addedOutput schema / properties / incomplete
      Added value: +{
      +  "$ref": "#/properties/connected"
      +}
    • addedOutput schema / properties / incompleteNote
      Added value: +{
      +  "$ref": "#/properties/reason"
      +}
    • changedOutput schema / properties / linkedAccountId / $ref
      Previous value: -"#/properties/hint"New value: +"#/properties/reason"
    • changedOutput schema / properties / note / $ref
      Previous value: -"#/properties/hint"New value: +"#/properties/reason"
    • addedOutput schema / properties / reason
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / siteUrl / $ref
      Previous value: -"#/properties/hint"New value: +"#/properties/reason"
    • addedOutput schema / properties / unprobedAccountIds
      Added value: +{
      +  "$ref": "#/properties/accounts/items/properties/linkedSiteUrls"
      +}
  2. First observed

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources