Skip to main content
Glama

yelp_reviews: GET /

hasdata_yelp_reviews_getPlaceReviews

Fetch Yelp business reviews by ID to monitor sentiment, mine complaints, track owner responses, and build rating datasets. Supports sorting, filters, and pagination.

Instructions

Get Yelp Place Reviews

Fetches the review feed of a single Yelp business by Yelp ID, with sorting (relevance, date, rating, elites), filtering by star rating, language and free-text query, and cursor pagination. To page, either step start by num, or resend the pagination.nextPageToken of the previous response as the nextPageToken parameter, keeping the other filters unchanged, until pagination.hasNextPage is false. The response reports the page it returned as pagination.start and pagination.num, matching the parameter names. Each review returns the author profile (name, location, review/friend/photo counts, Elite status), full text with language, star rating, timestamp, attached photos and videos, reader reactions, review tags (check-ins, first review, reservation and payment flags) and the owner reply when present. The response also carries the business review totals broken down by rating and by language. Use to monitor customer sentiment over time, mine complaints for a competitor, track how a business responds to negative reviews, or build rating-distribution and review-velocity datasets.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
numNoNumber of reviews to return per page. The maximum is 49. Defaults to 49 for the recommended feed and to 10 when `notRecommended` is set. The response echoes it back as `pagination.num`.
queryNoNote: Yelp ignores the `rating` filter while searching, so a query returns matching reviews of every star rating. Free-text query to search within the reviews of the place.
startNoResult offset for pagination. It skips the given number of reviews, so the step matches `num` (e.g., 0, 49, 98 for the recommended feed, or 0, 10, 20 when `notRecommended` is set). The response echoes it back as `pagination.start`. Cannot be combined with `nextPageToken`.
domainNoYelp domain to use. Default is `www.yelp.com`.
ratingNoNote: Yelp ignores this filter when `query` is set, so a search returns matching reviews of every star rating. Filters the reviews by star rating. Possible values are 5, 4, 3, 2 and 1. To return only five-star reviews, set it to `5`. To include several ratings, pass them comma-separated, for example `5,4,3`. When omitted, reviews with any rating are returned.
sortByNoThe order in which the reviews are returned. Defaults to relevanceDesc.
placeIdYesThe Yelp ID of the place. For example, '-4ofMtrD7pSpZIX5pnDkig'. Yelp IDs can be obtained from the Yelp Search Scraper API.
languageCodeNoLanguage of the reviews to return, as a two-letter code (e.g., 'en', 'es', 'fr'). Defaults to en.
nextPageTokenNoOpaque cursor for the next page, taken verbatim from `pagination.nextPageToken` of the previous response. It carries both the offset and the page size, so passing it alone continues the feed where the last response ended. Keep the other filters (`sortBy`, `rating`, `languageCode`, `query`, `notRecommended`) identical across pages. Use either this or `start`, not both. Paginate until `pagination.hasNextPage` is false.
notRecommendedNoReturns the reviews Yelp does not currently recommend (filtered out of the main feed by its recommendation software) instead of the recommended ones. These reviews carry no photos, videos or reactions, and are paginated ten at a time. Defaults to false.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations provided, the description carries the full disclosure burden. It thoroughly describes pagination mechanics, nextPageToken semantics, the conflict between query and rating filters, notRecommended limitations, response echo fields, and the contents of each review and the business totals. This is exceptionally transparent for an unannotated tool.

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 long but justifiably so for a 10-parameter tool with subtle pagination and filter interactions. It is front-loaded with a clear summary, then logically organized into pagination, response contents, and use cases. Every sentence contributes 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?

There is no output schema or annotations, so the description must explain both invocation and expected returns. It covers pagination fields, review contents, author profile fields, photos/videos/reactions, tags, owner replies, and rating/language totals. This is a complete and self-sufficient description for selecting and invoking the tool correctly.

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 meaningful cross-parameter guidance beyond the schema: step start by num, resend nextPageToken while keeping filters unchanged, do not combine start with nextPageToken, and paginate until hasNextPage is false. It also clarifies default behavior for num with and without notRecommended, which adds value beyond the individual parameter descriptions.

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 opens with the specific resource 'Yelp Place Reviews' and a clear verb, then states it fetches the review feed of a single Yelp business by Yelp ID with sorting, filtering, and pagination. This clearly distinguishes it from siblings like place details and search results, even without naming them.

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

Usage Guidelines4/5

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

The description gives concrete use cases: monitoring sentiment, mining complaints, tracking owner responses, and building rating-distribution or review-velocity datasets. It also explains when filters behave unexpectedly, such as Yelp ignoring the rating filter when a query is set. However, it does not explicitly state when not to use this tool compared to the sibling search or details tools.

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

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/HasData/yelp-mcp'

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