Facebook ratings
pinmeto_get_facebook_ratingsRetrieve Facebook ratings for all locations or a specific store by ID within a date range. Provides JSON or markdown output for easy analysis.
Instructions
Fetch Facebook ratings for all locations, or a single location if storeId provided.
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
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"from": "<from>",
"to": "<to>"
},
"name": "pinmeto_get_facebook_ratings"
}
}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 | |
| 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 |