Skip to main content
Glama

Search for leads

search_leads
Idempotent

Finds people by job title, company, location, headcount, industry, seniority, function or keywords, delivering up to count as a background run. Costs 1 point(s) per lead DELIVERED (none delivered = free), plus 1 per work email with include_emails. Returns a run_id at once: poll get_run, read rows with get_results (25 per page), save with add_to_lead_list. dry_run: true quotes the maximum. One run per workspace at a time; for more rows page or use continue_from_run_id, never search again.

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": {
      "filters": "<filters>"
    },
    "name": "search_leads"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoHow many leads to deliver (default 25). Charged per lead actually delivered.
dry_runNoQuote only; nothing charged.
filtersYesAt least one non-empty filter (unless continue_from_run_id). Industry labels: list_filter_values.
include_emailsNoAlso find each delivered person’s verified work email.
idempotency_keyNoRetries with the same key are never charged twice.
continue_from_run_idNoContinue a finished run ("more like this"): never re-delivers or re-charges its leads.

Output Schema

NameRequiredDescriptionDefault
errorNo
run_idNo
statusNo
billingNo
dry_runNo
requestedNo
max_pointsNo
resource_uriNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • removedInput schema / properties / include_personal_emails
      Removed value: -{
      -  "description": "Also find each delivered person’s verified personal email.",
      -  "type": "boolean"
      -}
  2. Changed2 schema fields changed
    • addedInput schema / properties / include_emails
      Added value: +{
      +  "description": "Also find each delivered person’s verified work email.",
      +  "type": "boolean"
      +}
    • addedInput schema / properties / include_personal_emails
      Added value: +{
      +  "description": "Also find each delivered person’s verified personal email.",
      +  "type": "boolean"
      +}
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: charging model (1 point per lead actually delivered, no delivery = free, +1 per work email), the fact nothing is charged when dry_run quotes, the idempotency_key no-double-charge guarantee, and the concurrency limit of one run per workspace. These are exactly the operational facts an agent needs before spending credits, which annotations (readOnlyHint=false, openWorldHint=true) only hint at.

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-loads the capability, then the cost, then the run/poll workflow in a tight sequence with no filler sentences. It is dense with backticked identifiers but every clause carries operational weight; the only mild clutter is the 'Costs 1 point(s)' phrasing breaking the flow mid-description.

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?

Despite six parameters including a nested filters object, the description covers the full lifecycle an agent must navigate: initiation, billing risk, dry-run quoting, polling targets, pagination limits, and reuse of a prior run. Return-value detail is unnecessary because an output schema exists, and the surrounding workflow notes are still supplied.

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?

With 100% schema coverage the baseline is 3, and the description still adds meaning: 'up to `count`' clarifies that count is a delivery cap tied to billing, include_emails is tied to an extra per-lead charge, and continue_from_run_id is explained as 'more like this' that never re-delivers or re-charges. dry_run is described as quoting the maximum rather than returning exact cost.

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 ('Finds people') and enumerates the searchable dimensions (job title, company, location, headcount, industry, seniority, function, keywords), which separates it from enrichment siblings like enrich_email and profile lookups like find_linkedin_profile. An agent can identify the tool's job without opening the schema.

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?

Gives a clear operating context: it runs in the background, returns a run_id, and the follow-up path is spelled out (poll get_run, read via get_results at 25 per page, save with add_to_lead_list). It also states the key exclusion 'for more rows page or use continue_from_run_id, never search again' and points to list_filter_values for industry labels. It stops short of contrasting itself with find_employees or the enrich_* siblings, so not a full 5.

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