MCPMCP Tools/Listings/get_profile_analytics
get_profile_analytics
Readlistings:read
Profile analytics for a SINGLE location across its connected publishers (Google, Facebook, Apple, Bing): profile views, all actions, website visits, phone calls, direction requests, button clicks, followers, post engagement — plus Google's impression split (maps/search/desktop/mobile) and top search keywords. Location-scoped — requires clientId AND locationId. Optional from/to (ISO), sources (subset of google/facebook/apple/bing), comparison (vs a prior window), granularity. Defaults to the last 30 days. Data is served from the aggregation tables (refreshed daily by background jobs).
Parameters
clientIdstringrequired
The client's id (from list_clients).
locationIdstringrequired
The location's id (from list_locations).
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" | "previous_month" | "previous_quarter" | "previous_6_months" | "custom"optional
Compare vs a prior window.
granularity"daily" | "weekly" | "monthly"optional
Time bucket.
Example request
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_profile_analytics",
"arguments": {
"clientId": "string",
"locationId": "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.