Skip to main content
Glama
PinMeTo

PinMeTo Location MCP

Official
by PinMeTo

Google ratings

pinmeto_get_google_ratings
Read-only

Fetch 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

TableJSON Schema
NameRequiredDescriptionDefault
toYesEnd date (YYYY-MM-DD)
fromYesStart date (YYYY-MM-DD)
storeIdNoOptional store ID to fetch a single location
forceRefreshNoBypass cache and fetch fresh data
response_formatNoResponse format: "json" (default, token-efficient) or "markdown" (human-readable with tables)json

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
dataNoRatings data: single location summary or array of location summaries (absent on error)
errorNoError message if the request failed
warningNoWarning message (e.g., incomplete data due to lag)
cacheInfoNoCache status information
errorCodeNoError code for programmatic handling
retryableNoWhether the operation can be retried
warningCodeNoWarning code for programmatic handling
Behavior5/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Even with readOnlyHint=true, the description adds substantial behavioral context: aggregate-only results, 5-minute caching shared with the reviews tool, forceRefresh bypass, ~10 day data lag, and specific error codes/retryable flags. This goes far beyond the annotation.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is well-organized into short labeled sections (caching, data lag, error handling), front-loads the core purpose, and every sentence adds useful information without fluff.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the tool has a full output schema and read-only annotation, the description covers all needed aspects: purpose, alternative, caching, data freshness, and error handling, making it fully complete for agent selection and invocation.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3. The description adds value by explaining storeId's role in fetching a single location and forceRefresh's cache-bypass behavior, which complements the schema without repeating it.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Fetch'), identifies the resource ('Google rating statistics'), and clearly defines scope ('for all locations, or a single location'). It also distinguishes itself from the sibling tool pinmeto_get_google_reviews by noting it returns aggregate statistics only.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It explicitly points to the alternative tool for individual review text and sentiment analysis ('use pinmeto_get_google_reviews'), and provides practical usage context through caching, data-lag warnings, and error-handling notes.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/PinMeTo/pinmeto-location-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server