MCPFerramentas MCP/Clientes/get_google_listings

get_google_listings

Readclients:read

Browse the Google locations that have been fetched for a connected account (call trigger_google_fetch first if none are available). With no folder, returns the list of Google Business account folders (each with a location count). With a folder, returns that folder's locations — each with its fetchedListingId, resource name, name, address, verification state, whether it's already imported (connected), and whether its category maps to a supported one. Pass the fetchedListingIds you want to create_location_from_google. Optionally filter a folder by search text. You don't pass an agency — it comes from your credentials.

Parâmetros
clientIdstringobrigatório
The client that owns the Google account (from list_clients).
connectionIdstringobrigatório
The Google account to browse (from list_google_accounts).
folderstringopcional
A folder id from the folder list. Omit to get the folder list first.
searchstringopcional
Filter a folder's locations by name, address, or postal code.
Exemplo de solicitação
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_google_listings",
    "arguments": {
      "clientId": "string",
      "connectionId": "string"
    }
  }
}
Exemplo de resposta
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

O formato da resposta é ilustrativo — o conteúdo real depende da ferramenta e dos seus dados.