MCPOutils MCP/Avis/get_review_analytics

get_review_analytics

Readreviews:read

Deep-dive Review Analytics for a location: KPI cards with Δ vs the prior window (kpiDays 7/30/90) + sparklines, reviews-over-time + sentiment-over-time + response-rate trends (trendMonths 3/6/12), 1–5★ distribution, per-platform counts/averages, day-of-week timing, benchmark vs the agency average, top themes, and a Sydekick summary. Location-scoped — requires clientId AND locationId. Use the optional `section` to fetch just one slice (kpis | over_time | distribution | by_platform | timing | benchmark | topics | response | summary); omit for everything.

Paramètres
clientIdstringobligatoire
The client's id (from list_clients).
locationIdstringobligatoire
The location's id (from list_locations).
kpiDays7 | 30 | 90facultatif
KPI window in days (default 30)
trendMonths3 | 6 | 12facultatif
Trend window in months (default 12)
section"kpis" | "over_time" | "distribution" | "by_platform" | "timing" | "benchmark" | "topics" | "response" | "summary" | "all"facultatif
Return only one slice (default all)
Exemple de requête
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "get_review_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.