MCPFerramentas MCP/Clientes/get_client_locations_analytics

get_client_locations_analytics

Readanalytics:read

Read analytics summed across all locations of one client, for Google, Facebook or Bing. The UI's trailing reporting-lag trim, totals and any-location connection signal are preserved. days defaults to 30 (7–90).

Parâmetros
daysintegeropcional
source"google" | "facebook" | "bing"opcional
clientIdstringobrigatório
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
Exemplo de solicitação
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_client_locations_analytics",
    "arguments": {
      "clientId": "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.