MCPOutils MCP/Avis/count_widget_matches
count_widget_matches
Readreviews:read
Count how many of a location's reviews match a widget configuration — the live '{N} reviews match this configuration' preview. Location-scoped — requires clientId AND locationId. Optional minRating, sources, includeInternal, dateWindow (30d | 90d | 1y | all).
Paramètres
clientIdstringobligatoire
The client's id (from list_clients).
locationIdstringobligatoire
The location's id (from list_locations).
minRatingnumberfacultatif
Only reviews at/above this rating (1–5)
sourcesstring[]facultatif
Marketplaces to include (empty = all)
includeInternalbooleanfacultatif
Include first-party (invite-collected) feedback
dateWindow"30d" | "90d" | "1y" | "all"facultatif
30d | 90d | 1y | all
Exemple de requête
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "count_widget_matches",
"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.