Skip to main content
Glama

CertLocal

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as CertLocal. If you published it, claim ownership there.

Search local prospects (Google Maps)

search_local_prospects

Find busy local businesses via Google Maps (UK) using a 30-day cached depth-100 city snapshot and server-side seen memory. Normalizes snake_case/hyphenated/concatenated categories (e.g. mortgage_broker -> mortgage broker). By default (excludeSeen: true), skips businesses already returned in prior searches or already registered, honours optional excludeDomains/excludeCids (with persistExclusions: true to remember them), omits repeat Maps exclusions on cached pages (override with includeExcluded), and returns providerCostUsd ($0 on cache hits), remainingUnseen, and poolExhausted. Requires an API key.

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": {
      "category": "<category>",
      "city": "<city>"
    },
    "name": "search_local_prospects"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesCity, e.g. "Edinburgh"
limitNo
refreshNoBypass the 30-day cached depth-100 Google Maps snapshot and fetch a fresh list from DataForSEO
categoryYesBusiness category, e.g. "emergency plumber"
markSeenNoRecord returned prospects in server memory so future calls skip them (default true; set false for dry-run)
countryIsoNoISO country code (MVP supports GB only)GB
minReviewsNoMinimum Google review count
excludeCidsNoAdditional Google Maps CIDs to skip
excludeSeenNoSkip prospects already returned in prior searches or registered in businesses (default true)
excludeDomainsNoAdditional domains or website URLs to skip (e.g. leads already in an external CRM/CSV)
requireWebsiteNo
includeExcludedNoInclude Maps pre-screen excluded listings. Defaults to true on fresh pulls (cached=false) and false on cached follow-up pages so repeat pages only return newly excluded items (e.g. Companies House insolvencies).
persistExclusionsNoAlso save caller-supplied excludeDomains/excludeCids into server-side prospect_memory so they do not need to be resent on future calls (default false).
includeCompaniesHouseNoWhen countryIso is GB and UK company checks are configured, verify UK Companies House status to exclude liquidated/dissolved companies

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations at all, the description carries the full burden and does well: it discloses the 30-day cache, server-side seen memory, that markSeen/persistExclusions mutate persistent state, that providerCostUsd is $0 on cache hits, the poolExhausted condition, and the API-key requirement. Gaps remain around failure modes, error behaviour, and rate limits, but this is well above the baseline 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.

Conciseness3/5

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

Purpose is front-loaded and the snapshot/cache concept comes early, but the remainder is one dense run-on sequence of clauses that partly restates schema text (the includeExcluded and persistExclusions explanations largely mirror their schema descriptions). It is informative but heavy, and an agent must parse a long chain to extract the actionable defaults.

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?

For a 14-parameter tool with no output schema and no annotations, the description compensates well by naming the returned fields (providerCostUsd, remainingUnseen, poolExhausted) and the auth prerequisite. Remaining gaps are secondary behaviours – rate limits, error responses, and what exactly a 'prospect' record contains – which the definition leaves unstated.

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 already 86%, so the baseline is 3; the description adds genuine meaning beyond the schema by explaining category normalisation (mortgage_broker -> mortgage broker), the interactive semantics between excludeSeen and registered businesses, and why includeExcluded defaults differ between cached and fresh pulls. The refresh, limit, minReviews, and requireWebsite parameters are not elaborated in the description, but the schema covers them.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource – "Find busy local businesses via Google Maps (UK)" – plus the distinctive mechanism (30-day cached depth-100 city snapshot with server-side seen memory), which clearly separates it from sibling tools like register_business or mark_prospects_seen. It does not name any sibling directly, so the differentiation is implicit rather than explicit.

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

Usage Guidelines3/5

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

Usage guidance exists but is parameter-level rather than tool-level: it explains when the default excludeSeen behaviour applies, when to set refresh, and when to use includeExcluded. There is no statement of when to choose this tool over the alternatives in the sibling list (e.g. mark_prospects_seen), so routing is left to inference.

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