MCPOutils MCP/Connexions/create_google_listings

create_google_listings

Writeconnections:write

Create NEW Google Business Profile listings for several locations at once, in one connected Google login and one of its business groups. Run preview_google_listing_create first and list_google_create_destinations to pick googleAccountName; only locations whose state is ready or review are queued (the rest come back in `skipped`). Set confirmedNoExistingProfiles: true only after checking these businesses really have no Google profile — otherwise link the existing one with assign_listing_to_location. This QUEUES the work: each location gets a pending connection and a create order item that the normal listing pipeline runs and retries; poll get_google_listing_create_status for created / retrying / failed with the reason. A failed create keeps the connection and shows the failed order item.

Paramètres
locationIdsstring[]obligatoire
Locations to create listings for (ClientLocation.id), at most 200
accountConnectionIdstringobligatoire
The connected Google login (from preview_google_listing_create → accounts)
googleAccountNamestringobligatoire
The business group resource name, e.g. accounts/123 (from list_google_create_destinations)
confirmedNoExistingProfilesbooleanobligatoire
Must be true: these businesses need new Google profiles
Exemple de requête
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_google_listings",
    "arguments": {
      "locationIds": [
        "string"
      ],
      "accountConnectionId": "string",
      "googleAccountName": "string",
      "confirmedNoExistingProfiles": true
    }
  }
}
Exemple de réponse
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

La forme de la réponse est indicative — le contenu réel dépend de l'outil et de vos données.