MCPHerramientas MCP/Conexiones/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.

Parámetros
locationIdsstring[]obligatorio
Locations to create listings for (ClientLocation.id), at most 200
accountConnectionIdstringobligatorio
The connected Google login (from preview_google_listing_create → accounts)
googleAccountNamestringobligatorio
The business group resource name, e.g. accounts/123 (from list_google_create_destinations)
confirmedNoExistingProfilesbooleanobligatorio
Must be true: these businesses need new Google profiles
Solicitud de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_google_listings",
    "arguments": {
      "locationIds": [
        "string"
      ],
      "accountConnectionId": "string",
      "googleAccountName": "string",
      "confirmedNoExistingProfiles": true
    }
  }
}
Respuesta de ejemplo
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

La forma de la respuesta se muestra a modo ilustrativo — el contenido real depende de la herramienta y de tus datos.