Skip to main content
Glama

leadmarina

Search local-business leads

search_leads

Run a live search for local businesses by niche + city (e.g. query 'electrician', location 'Austin, TX'). Returns the first batch immediately with a search_id; more results are found and verified in the background — every email is SMTP-checked and every phone verified with line type + carrier. Spends 1 lead per result. Poll get_search_results until enrichment is 'complete'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYesBusiness niche/category keyword, e.g. 'electrician'.
locationNoCity, e.g. 'Austin, TX'. Ignored if location_code is given.
location_codeNoOptional exact location code (skips the city lookup).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
queryYes
locationNo
next_stepNo
search_idYes
enrichmentYes'pending' until background verification finishes.
leads_remainingNo
delivered_so_farYes

TDQS

A4.5/5.0
Behavior5/5

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

The description discloses several non-obvious behaviors beyond annotations: asynchronous processing (immediate first batch with background verification), the verification methods (SMTP email check, phone line type + carrier), and the cost implication ('Spends 1 lead per result'). This is highly valuable contextual information that the agent could not infer from the schema or basic annotations.

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 concise and front-loaded: the first sentence states the core purpose and gives an example. The following sentences efficiently deliver critical details (async behavior, verification, cost, and polling instruction) without any redundancy or filler. Every sentence earns its place.

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?

Given that an output schema exists and parameter schema coverage is 100%, the description is complete enough. It covers purpose, asynchrony, verification, cost, and the next step (poll get_search_results). No critical gaps are apparent for the agent to use the tool correctly.

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?

The schema already documents all three parameters thoroughly (query, location, location_code) with 100% coverage, providing the baseline. The description adds a concrete example ('electrician', 'Austin, TX') and reinforces the 'niche + city' relationship, but does not introduce new parameter meanings beyond what the schema already states.

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 the tool's function with a specific verb ('Run a live search'), a resource ('local businesses'), and a scope ('by niche + city'). It distinguishes itself from siblings like get_search_results and list_searches by defining its role as the search initiator and explicitly referencing the polling workflow.

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 usage context: it is for starting a live search and returning a search_id for subsequent polling. It explicitly names the companion tool (get_search_results) and instructs the agent to poll until completed, which implies this tool is used for initiating rather than retrieving results. However, it does not explicitly state when not to use this tool or contrast with alternatives like query_leads.

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.

TDQS

A4.5/5.0
Disambiguation5/5

Each tool has a distinct purpose: search_leads runs live searches while query_leads filters collected leads; create/delete/update_automation form a clear lifecycle; list_* tools target different resources. Descriptions explicitly disambiguate potential overlaps like search/query and list_searches/list_views.

Naming Consistency5/5

All tool names follow a consistent verb_noun snake_case pattern (e.g., create_automation, list_integrations, export_leads). The verbs are semantically appropriate (get, list, search, query, create, update, delete, enrich, export) and the pattern is uniform throughout.

Tool Count5/5

13 tools is well within the ideal range and covers the full lead-generation workflow without redundancy. Each tool addresses a concrete need, from searching and enrichment to export and automation management.

Completeness5/5

The tool set covers the entire lifecycle: search_leads and enrich_domains acquire leads, get_search_results and query_leads retrieve them, export_leads pushes them out, and automations re-run searches on schedule. Integration checking and balance are also included, leaving no obvious dead ends or missing essential operations.

Resources