Get sentiment report
How many reviews are positive, negative, mixed or neutral, from Reviews > Performance.
MCP tool okendo_read → get_sentiment_report
read
Reads the Sentiment tab of Reviews > Performance. It returns the number of reviews in each of positive, negative, mixed and neutral for the range you pick. Okendo takes sentiment from the language of each review, not from its stars.
Parameters
| Name | Type | Description |
|---|---|---|
| range enum | enum | Last 4 weeks, Last 30 days, Last 12 weeks, Last 90 days, Past year or All time. |
| group_by enum | enum | Day, Week, Month, Quarter or Year. The steps that fit depend on the range. |
tools/call
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "okendo_read",
"arguments": {
"operation": "get_sentiment_report",
"arguments": {}
}
}
} Example response
{
"content": [
{
"type": "text",
"text": "{ ... same JSON as structuredContent ... }"
}
],
"structuredContent": {
"range": "Last 4 weeks",
"positive": 84,
"negative": 12,
"mixed": 6,
"neutral": 18,
"total": 120
},
"isError": false
}