MCPOutils MCP/Avis/get_topic_reviews
get_topic_reviews
Readreviews:read
List the reviews that mention a specific topic for a location (drill-down from get_topic_trends). Location-scoped — requires clientId, locationId, and topic. Optional month (YYYY-MM) narrows to a single month — pass it when the caller is drilling into ONE cell of the topics-by-month heatmap, or you get the topic's whole history newest-first instead of that cell's reviews. Optional limit (default 50).
Paramètres
clientIdstringobligatoire
The client's id (from list_clients).
locationIdstringobligatoire
The location's id (from list_locations).
topicstringobligatoire
Topic/keyword to drill into
limitnumberfacultatif
Max reviews (default 50)
Exemple de requête
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "get_topic_reviews",
"arguments": {
"clientId": "string",
"locationId": "string",
"topic": "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.