Skip to main content
Glama
HasData

hasdata-mcp

Official

yellowpages_search: GET /

hasdata_yellowpages_search_getSearchResults

Run YellowPages business search by keyword and location to retrieve listings with name, phone, address, ratings, and review count. Use for B2B lead generation and building geo-targeted prospect lists.

Instructions

Get YellowPages Search Results

Runs a YellowPages business search by keyword plus location with sort (default, distance, averageRating, name), country domain targeting, and page-based pagination. Returns each business with name, listing URL, phone, address, categories, rating, review count, and years in business. Use for B2B lead generation by niche and city, feeding the resulting URLs into the YellowPages Place endpoint for enrichment, or building geo-targeted prospect lists for sales outreach.

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.
sortNoThe sorting option for the search results.
domainNoYellowPages domain to use. Default is `www.yellowpages.com`.
pageNoThe page number of the results to retrieve.
Behavior4/5

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

No annotations exist, so the description carries full burden. It discloses that the tool returns businesses with specific fields and uses page-based pagination. However, it does not mention rate limits, authentication, or side effects.

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 three sentences, each packed with useful information. No fluff, clearly structured from summary to use case to output details.

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?

For a tool with 5 parameters, 2 required, and no output schema, the description lists all return fields, explains pagination, and gives concrete usage scenarios. It is complete for the complexity level.

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?

The schema covers all parameters with descriptions (100% coverage). The description adds value by explaining the sort options, domain targeting, and pagination pattern, reinforcing the schema's meaning.

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 explicitly states 'Get YellowPages Search Results' and details the action: runs a business search by keyword and location with sort, domain, and page options. It distinguishes from sibling tools by mentioning the YellowPages Place endpoint for enrichment.

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 clear use cases: B2B lead generation by niche and city, feeding URLs into Place endpoint, or building prospect lists. It implies when to use but does not explicitly state when not to use or compare to other search tools.

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