MCPMCP-Tools/Bewertungen/get_client_review_stats
get_client_review_stats
Readreviews:read
Exact review totals across a client's locations from stored reviews: total, responded, unreplied (no posted owner reply), average rating over rated reviews, sentiment split, and how many locations were counted. Optionally narrow to locationIds or internal tags and to an ISO from/to window on the review date. Use for 'how many (unreplied) reviews' or 'average rating' across a client. Never fetches from a provider.
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.
locationIdsstring[]optional
Optional: only these locations of the client (ids from list_locations).
tagsstring[]optional
Optional: only locations carrying ANY of these internal tags (from list_location_tags).
fromstringoptional
Optional ISO date/time: reviews on or after.
tostringoptional
Optional ISO date/time: reviews on or before.
Beispielanfrage
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_client_review_stats",
"arguments": {
"clientId": "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.