Skip to main content
Glama

Yellow Pages business listings for a search term

b2b_yellowpages
Read-only

Yellow Pages (US) business listings for a search term and location: name, phone, street address, city/state/ZIP, categories, star rating and review count (where shown), years in business, website and YP listing link. Up to 30 per page, page 1 to 10. From yellowpages.com's public search through a residential proxy. Related tools on this server, for a different need: b2b_bbb when you need Better Business Bureau search: finds businesses by name; b2b_manta when you need Manta US small-business directory search by keyword. Price: $0.004 per successful call, paid with x402 (USDC on Base, Solana and 10 more networks); failed calls are not charged.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "q": "<q>",
      "location": "<location>"
    },
    "name": "b2b_yellowpages"
  }
}

Input Schema

NameRequiredDescriptionDefault
qYesWhat to search for, e.g. 'plumber', 'dentist', 'pizza'
pageNoResults page 1 to 10 (default 1)
locationYesCity and state or ZIP, e.g. 'Austin, TX' or '78704'

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safe read-only nature is covered; the description adds real value beyond them with the residential-proxy data source, the result ceiling implied by "up to 30 per page, page 1 to 10," and the pricing/who-pays model including that failed calls are free. However, it says nothing about output shape, empty-result behavior, or rate limiting, and the return-field list is partly redundant with the presence of an output schema.

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?

Front-loaded with the resource and returned fields, then sibling routing, then price — a sensible ordering with no filler sentences. It is dense and the long comma-separated field list takes effort to parse, but each clause carries actionable information rather than repeating the name or title.

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 three-parameter, read-only open-web lookup with an output schema and annotations already present, the description covers source, result caps, cost model, and alternative tools. Nothing an agent needs to decide whether to call it or to set expectations about cost and pagination is missing.

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 q, page, and location are already fully documented with examples, making the schema the primary source of parameter meaning. The description restates the search-term-and-location pairing and the page-1-to-10 range, but the page bound is already in the schema and it adds no new syntax or format guidance.

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?

Names a specific verb and resource ("Yellow Pages (US) business listings for a search term and location") and enumerates the concrete fields returned (name, phone, address, categories, rating, years in business, website, YP link). It also explicitly contrasts itself against b2b_bbb and b2b_manta, so an agent can pick the right directory without opening any schema.

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?

Gives explicit routing rules: use b2b_bbb for Better Business Bureau searches and b2b_manta for Manta keyword directory searches, which implicitly marks those as the alternatives rather than this tool. It also names the condition that selects this tool — general US business listings for a term plus location.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources