Skip to main content
Glama
HasData

hasdata-mcp

Official

yelp_search: GET /

hasdata_yelp_search_getSearchResults

Search Yelp businesses by keyword and location, returning ranked results with ratings, reviews, and price tier.

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

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

No annotations are provided, and the description does not disclose behavioral traits such as rate limits, authentication requirements, or whether the operation is read-only. The description focuses on functionality but lacks transparency about side effects or constraints.

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 a single paragraph of five sentences, efficiently covering purpose, parameters, and output usage. It front-loads the main action and is free of redundant language, though it could be slightly more structured with bullet points.

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?

Given no output schema, the description adequately details the return fields (alias/ID, name, categories, rating, etc.) and explains how the output can be used. All five parameters are covered in context, making the tool understandable for an agent.

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 description coverage is 100%, but the description adds value by clarifying the format of the `l` parameter (map-bounded radius example) and explaining offset-based pagination for `start`. This supplements the schema definitions meaningfully.

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 clearly states 'Get Yelp Search Results' and explains it performs a business search by keyword and location with optional parameters. It distinguishes itself from the sibling `hasdata_yelp_place_getPlaceDetails` by explicitly mentioning that returned aliases can be used as input to that endpoint.

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 provides explicit use cases: 'to power local-discovery UIs, or to build market-share/competitor datasets', and directs users to the Yelp Place endpoint for full details. However, it does not explicitly state when not to use this tool or describe alternatives among siblings.

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

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