Skip to main content
Glama

Skrap

Search leads

search_leads
Read-only

Search B2B people (search_kind "prospect", default) or companies (search_kind "company") by job title, company, location, keywords and advanced filters. Free (counts toward the daily search quota); results do not include emails — use get_lead_email or find_email for that. For advanced filters call get_search_filters first; company/location filters need IDs from lookup_filter_value. If status is "partial" and continuation_token is set, call again with only continuation_token to get more results.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "search_leads"
  }
}

Input Schema

NameRequiredDescriptionDefault
nameNoPerson name
pageNo
companyNoCurrent company name
filtersNoAdvanced filters keyed by filter_type
keywordsNo
locationNoCity, region or country
job_titleNoe.g. "Head of Marketing"
search_kindNoprospect
continuation_tokenNoFrom a previous partial result

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Beyond readOnlyHint/openWorldHint, the description discloses cost behavior ("Free (counts toward the daily search quota)"), a key result limitation (no emails returned), and the partial-result/continuation_token protocol. It does not cover rate limits or what fields come back in a result, but the annotations already establish the read-only, open-world safety profile.

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 core capability and mode split, then prerequisites, then pagination; every clause maps to a real decision the caller must make. It is dense — the final sentence bundles three separate conditions — but there is no filler or restatement of the title.

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 9-parameter tool with a nested free-form filters object and no output schema, the description covers the mode split, prerequisites, cost, missing-email caveat, and pagination loop. What remains thin is the semantics of the page parameter versus continuation_token and a sketch of what a result item contains, though the latter is partly implied by the get_lead_email pointer.

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 67%, so the description must carry some weight — and it does: search_kind's default mode, the dependency that company/location take IDs rather than free text, the filters object's dependence on get_search_filters, and the restriction that continuation_token be sent alone on repeat calls. It adds no meaning for name, page, keywords, or job_title beyond their schema entries.

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?

States a specific verb and resource ("Search B2B people ... or companies") and immediately disambiguates the two modes via search_kind, then enumerates the searchable fields (job title, company, location, keywords, filters). An agent can distinguish this from find_email, get_lead_email, and company_contacts 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?

Explicitly routes to alternatives: "results do not include emails — use get_lead_email or find_email for that", and "For advanced filters call get_search_filters first". It also states a prerequisite chain (company/location filters need IDs from lookup_filter_value) and the exact condition for re-calling with continuation_token.

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