MCPMCP-Tools/Einträge/get_profile_analytics

get_profile_analytics

Readlistings:read

Profile analytics for one location: profile views, website clicks, phone calls, direction requests, monthly trends. Use for location performance, reputation trending, engagement.

Parameter
clientIdstringerforderlich
The client's id (from list_clients). Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
locationIdstringerforderlich
The location's id (from list_locations). Accepts the database ID or public loc- ID. IDs must belong to the authenticated agency and permitted client.
fromstringoptional
Window start (ISO); default 30 days ago
tostringoptional
Window end (ISO); default now
sources("google" | "facebook" | "apple" | "bing")[]optional
Publishers to include (default all).
comparison"none" | "previous_period"optional
none (default) or previous_period — the period of equal length immediately before from/to. Choose the period you want to look at with from and to; other comparison windows aren't computed.
granularity"daily" | "weekly" | "monthly"optional
Time bucket.
Beispielanfrage
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_profile_analytics",
    "arguments": {
      "clientId": "string",
      "locationId": "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.