Skip to main content
Glama

yelp_search: GET /

hasdata_yelp_search_getSearchResults

Find Yelp businesses by keyword and location to get ranked results with ratings, reviews, price, and categories. Use aliases to power local discovery UIs or build competitor datasets.

Instructions

Get Yelp Search Results

Runs a Yelp business search by keyword and location with optional map-bounded radius via the l parameter (g:lon1,lat1,lon2,lat2), domain targeting, and offset-based pagination. Returns a ranked list of businesses with Yelp alias/ID, name, categories, rating, review count, price tier, neighborhood, and thumbnail. Use the returned aliases as input to the Yelp Place endpoint for full details, to power local-discovery UIs, or to build market-share/competitor datasets for a niche in a given geography.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lNoParameter defines the distance or map radius for the search results. For example: `g:-95.2486,29.8496,-95.4277,29.6324`.
startNoResult offset for pagination (e.g., 0 for the first page, 10 for the 2nd page, etc.).
domainNoYelp domain to use. Default is `www.yelp.com`.
keywordYesThe search term for which to get the search results.
locationYesThe location where to search for businesses with the given keyword.

Schema Changelog

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

  1. First observedv1.0.0

TDQS

A4.1/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden and covers core behavior: keyword/location search, optional map-bounded radius, domain targeting, offset-based pagination, and a ranked list of businesses with specific fields. It does not mention rate limits or response envelope details, but the disclosed behavior is solid for a GET search tool.

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

Conciseness4/5

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

The description is concise, front-loaded with the operation, and uses every sentence for meaningful detail. The opening line is slightly redundant with the title, but the rest of the description is tightly written and well organized.

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

Completeness4/5

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

Since there is no output schema, the description usefully enumerates returned fields and downstream usage. It also explains pagination and domain targeting. It is missing notes on authentication, rate limits, or explicit sibling routing, but it gives enough context to invoke the tool correctly and interpret results.

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

Parameters3/5

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

Schema description coverage is 100%, so the baseline is 3. The description adds minor framing around `l` as map-bounded radius and `start` as pagination offset, but the schema already documents these parameters. It does not significantly deepen parameter understanding beyond structured definitions.

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?

Description identifies a specific operation: Yelp business search by keyword and location. It clearly distinguishes itself from sibling tools (place details, reviews) and lists concrete result contents. The purpose is immediately understandable.

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 explicitly says to use search results and then pass returned aliases to the Yelp Place endpoint for full details, and gives use cases like local-discovery UIs and market-share datasets. It does not explicitly mention when to use Reviews or state exclusions, but the intended placement in the workflow is clear.

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