MCPMCP-Tools/Kunden/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).

Parameter
daysintegeroptional
source"google" | "facebook" | "bing"optional
clientIdstringerforderlich
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
Beispielanfrage
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_client_locations_analytics",
    "arguments": {
      "clientId": "string"
    }
  }
}
Beispielantwort
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": {
    "content": [
      {
        "type": "text",
        "text": "..."
      }
    ]
  }
}

Die Antwortform dient nur zur Veranschaulichung — der tatsächliche Inhalt hängt vom Tool und Ihren Daten ab.