MCPOutils MCP/Fiches/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.
Paramètres
clientIdstringobligatoire
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.
locationIdstringobligatoire
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.
fromstringfacultatif
Window start (ISO); default 30 days ago
tostringfacultatif
Window end (ISO); default now
sources("google" | "facebook" | "apple" | "bing")[]facultatif
Publishers to include (default all).
comparison"none" | "previous_period"facultatif
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"facultatif
Time bucket.
Exemple de requête
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_profile_analytics",
"arguments": {
"clientId": "string",
"locationId": "string"
}
}
}Exemple de réponse
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}La forme de la réponse est indicative — le contenu réel dépend de l'outil et de vos données.