MCPHerramientas 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
clientIdstringobligatorio
Accepts the database ID or public cli- ID. IDs must belong to the authenticated agency and permitted client.
Solicitud de ejemplo
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_client_locations_analytics",
"arguments": {
"clientId": "string"
}
}
}Respuesta de ejemplo
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}La forma de la respuesta se muestra a modo ilustrativo — el contenido real depende de la herramienta y de tus datos.