Google ratings
pinmeto_get_google_ratingsFetch Google rating statistics (average, total reviews, distribution) for all locations or a single store within a date range. Use to monitor rating trends and compare performance.
Instructions
Fetch Google rating statistics (averageRating, totalReviews, distribution) for all locations, or a single location.
Returns aggregate statistics only. For individual review text and sentiment analysis, use pinmeto_get_google_reviews.
Caching:
Results cached for 5 minutes (shared with reviews tool)
Use forceRefresh=true to bypass cache
Check structuredContent.cacheInfo for cache status
Data Lag Warning:
Google data has ~10 day lag. Requests with recent end dates may return incomplete data.
Check structuredContent.warning and warningCode for data completeness.
Error Handling:
Rate limit (429): errorCode="RATE_LIMITED", message includes retry timing
Not found (404): errorCode="NOT_FOUND" if storeId doesn't exist
All errors: check structuredContent.errorCode and .retryable for programmatic handling
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | End date (YYYY-MM-DD) | |
| from | Yes | Start date (YYYY-MM-DD) | |
| storeId | No | Optional store ID to fetch a single location | |
| forceRefresh | No | Bypass cache and fetch fresh data | |
| response_format | No | Response format: "json" (default, token-efficient) or "markdown" (human-readable with tables) | json |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Ratings data: single location summary or array of location summaries (absent on error) | |
| error | No | Error message if the request failed | |
| warning | No | Warning message (e.g., incomplete data due to lag) | |
| cacheInfo | No | Cache status information | |
| errorCode | No | Error code for programmatic handling | |
| retryable | No | Whether the operation can be retried | |
| warningCode | No | Warning code for programmatic handling |