MCPMCP Tools/Clients/create_location_from_google

create_location_from_google

Writeclients:write

Import one or more fetched Google locations into new business locations under a client, pulling their full Google profile (name, address, hours, categories, photos, etc.). Get the fetchedListingIds from get_google_listings. Imports up to 10 per call. Each new location is submitted to the other directories automatically (it's already live on Google). Returns the created location ids (and any that failed, with the reason). You don't pass an agency — it comes from your credentials.

Parameters
clientIdstringrequired
The client to create the locations under (from list_clients).
connectionIdstringrequired
The Google account the listings belong to (from list_google_accounts).
fetchedListingIdsstring[]required
The fetchedListingIds to import (from get_google_listings). Up to 10 per call.
Example request
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "create_location_from_google",
    "arguments": {
      "clientId": "string",
      "connectionId": "string",
      "fetchedListingIds": [
        "string"
      ]
    }
  }
}
Example response
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

Response shape shown for illustration — the actual content depends on the tool and your data.