Skip to main content
Glama
Generect Live API MCP Server

Generect Live API MCP Server

Official
by generect

Preview leads (cheapest paid look)

preview_leads

Preview masked lead rows and their Generect IDs before paying for a full search, so you can filter candidates and enrich only the best matches.

Instructions

A cheap look at the actual people behind a count, before a full search. Billable: about $0.002 per returned row at the Tier 0 list price. Accounts can pay a different rate: get_balance returns this account's prices, and every response reports what was actually spent in cost.amount_charged_usd. Preview rows carry a Generect id, so the usual flow is: preview many, pick the few that fit, then enrich_lead or generate_email only on those. By the API contract preview rows are masked (no LinkedIn URL, domain, email or phone); an account that gets more than that cannot rely on it.

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": "preview_leads"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoAlias for limit_by.
strictNoFields to match strictly, e.g. ["company_locations"].
compactNoDefault true: return a small per-lead summary (including the Generect `id`, which every later step accepts). Set false for the full raw record (~80 fields), only worth it when you specifically need skills, education or other deep fields.
keywordsNoFree-text keywords across headline/summary/skills. Realtime only: using it forces the pricier live mode.
limit_byNoRows to return this call (1–100, default 25). You are billed per returned row, so this number IS the price of the call.
personasNoAdvanced raw persona tuples [name, functions, seniorities, prohibits, priority?]. Realtime only: using it forces the pricier live mode.
functionsNoJob functions, e.g. ["Sales","Marketing","Engineering"]. Realtime only: using it forces the pricier live mode.
job_titleNoDEPRECATED alias for job_titles. Still honoured: it is merged into job_titles.
locationsNoWhere the lead lives, as Generect lists places: a country ("United States"), a state or region, or a city with its country ("Berlin, Germany"). A bare city name such as "Berlin" names several places and is refused with HTTP 400 "This location is not listed".
offset_byNoRows to skip (pagination).
company_idNoAnchor to one company by LinkedIn numeric id.
count_onlyNoReturn just how many leads the preview index holds for these filters and spend nothing. Free. This is a second opinion on count_leads: preview and cached search are different indexes and can disagree.
job_titlesNoTarget job titles, OR-matched (e.g. ["CEO","Founder","Owner"]). A lead needs to match only one.
timeout_msNoRequest timeout in milliseconds.
exclude_idsNoSkip leads by Generect/Sales-Navigator id. Pass the ids you already received to paginate without duplicates. Ordering is not stable, so this is more reliable than offset.
senioritiesNoSeniority at the current employer, e.g. ["Owner","CXO","VP","Director","Manager"]. Current position only.
changed_jobsNoOnly leads who recently changed jobs. Realtime only: using it forces the pricier live mode.
company_linkNoAnchor to one company by LinkedIn URL.
company_nameNoAnchor to one company by name (exclusive with company_link/company_id).
company_typesNoEmployer types: "Public Company","Privately Held","Non Profit","Government Agency","Educational","Self Employed","Self Owned","Partnership".
exclude_namesNoSkip leads by full name. Works in both modes (the database-mode bug that returned 0 rows was fixed in the API on 2026-08-13, PRO-1333). exclude_ids is still the more reliable way to paginate.
get_max_leadsNoDEPRECATED: accepted but ignored. Always on now: search responses include results_count without asking.
company_filtersNoOptional company-level filters for a two-level ICP.
lead_industriesNoDEPRECATED: accepted but ignored. Removed: v1 filters on the employer's industry. Use company_industries.
without_companyNoDEPRECATED: accepted but ignored. No longer needed: v1 filter-only search is the default when no company anchor is set.
years_in_companyNoTime at current company, same buckets as years_in_position. Realtime only: using it forces the pricier live mode.
company_locationsNoHQ location of the lead's current employer, written as in locations ("Berlin, Germany").
confirm_spend_usdNoExplicit approval for an unusually large charge. Calls whose worst case exceeds $5 are refused unless this is set to at least the amount the tool reports. Only set it after the user has agreed to that number.
exclude_locationsNoLead locations to exclude, written as in locations.
filter_empty_varsNoDrop leads where these fields are empty, e.g. ["profile_photo","job_started_on"]. Useful to raise data quality before paying.
years_in_positionNoTime in current role: 1=<1y, 2=1-2y, 3=3-5y, 4=6-10y, 5=10y+. Realtime only: using it forces the pricier live mode.
company_headcountsNoEmployer size buckets. Allowed ONLY: "1-10","11-50","51-200","201-500","501-1000","1001-5000","5001-10000","10 000+" (note the space in "10 000+").
company_industriesNoIndustry of the current employer. Must match Generect industry names exactly (e.g. "Software Development", "Financial Services"); names are hierarchical and unknown names are rejected with HTTP 400 naming the field.
past_company_namesNoCompanies the lead previously worked at (alumni targeting). Realtime only: using it forces the pricier live mode.
posted_on_linkedinNoOnly leads who recently posted on LinkedIn. Realtime only: using it forces the pricier live mode.
linkedin_filter_linkNoA LinkedIn / Sales Navigator search URL to lift filters from. Realtime only: using it forces the pricier live mode.
allow_unlisted_valuesNoEscape hatch. This server checks industry / seniority / headcount / company-type values against the LinkedIn vocabularies before sending, because the API silently returns 0 results for an unknown industry or seniority instead of rejecting it. Set true only when you are sure a value is valid and this server is out of date.
exclude_title_keywordsNoDEPRECATED: accepted but ignored. No v1 equivalent. Narrow job_titles instead, or filter the returned rows yourself.
exclude_company_locationsNoEmployer HQ locations to exclude, written as in locations.
exclude_company_headcountsNoEmployer size buckets to exclude.
exclude_company_industriesNoEmployer industries to exclude.

Output Schema

NameRequiredDescriptionDefault
fixNo
costNo
modeNo
noteNo
leadsNo
detailNo
statusNo
returnedNo
companiesNo
free_tierNo
test_modeNo
thin_noteNo
spend_guardNo
results_countNo
next_page_argsNo
requested_rowsNo
escalation_noteNo
test_mode_noticeNo
thin_unavailableNo
vocabulary_warningsNo
blocked_by_vocabularyNo
deprecated_params_ignoredNo
escalated_to_realtime_becauseNo
api_returned_more_than_requestedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed7 schema fields changedv0.13.3
    • changedInput schema / properties / company_filters / properties / exclude_locations / description
      Previous value: -"HQ locations to exclude."New value: +"HQ locations to exclude, written as in locations."
    • changedInput schema / properties / company_filters / properties / locations / description
      Previous value: -"HQ locations: cities, states or countries."New value: +"HQ locations, as Generect lists places: a country, a state or region, or a city with its country (\"Berlin, Germany\"). A bare city name is refused with HTTP 400 \"This location is not listed\"."
    • changedInput schema / properties / company_filters / properties / sub_industries / description
      Previous value: -"Expand each selected industry to its sub-industries as well (broadens the match)."New value: +"How industries maps onto the LinkedIn industry tree. Default false: each selected industry also matches its sub-industries (\"Software Development\" includes \"Computer Games\"). true: only the industries named."
    • changedInput schema / properties / company_locations / description
      Previous value: -"HQ location of the lead's current employer."New value: +"HQ location of the lead's current employer, written as in locations (\"Berlin, Germany\")."
    • changedInput schema / properties / exclude_company_locations / description
      Previous value: -"Employer HQ locations to exclude."New value: +"Employer HQ locations to exclude, written as in locations."
    • changedInput schema / properties / exclude_locations / description
      Previous value: -"Lead locations to exclude."New value: +"Lead locations to exclude, written as in locations."
    • changedInput schema / properties / locations / description
      Previous value: -"Where the lead lives: matches cities, states and countries, e.g. [\"United States\",\"Berlin\"]."New value: +"Where the lead lives, as Generect lists places: a country (\"United States\"), a state or region, or a city with its country (\"Berlin, Germany\"). A bare city name such as \"Berlin\" names several places and is refused with HTTP 400 \"This location is not listed\"."
  2. Changed33 schema fields changedv0.13.2
    • changedInput schema / properties / changed_jobs / description
      Previous value: -"Only leads who recently changed jobs — realtime only: using it forces the pricier live mode."New value: +"Only leads who recently changed jobs. Realtime only: using it forces the pricier live mode."
    • changedInput schema / properties / compact / description
      Previous value: -"Default true: return a small per-lead summary (including the Generect `id`, which every later step accepts). Set false for the full raw record (~80 fields) — only worth it when you specifically need skills, education or other deep fields."New value: +"Default true: return a small per-lead summary (including the Generect `id`, which every later step accepts). Set false for the full raw record (~80 fields), only worth it when you specifically need skills, education or other deep fields."
    • changedInput schema / properties / company_filters / properties / allow_unlisted_values / description
      Previous value: -"Escape hatch for the local vocabulary check — see the lead-side field of the same name."New value: +"Escape hatch for the local vocabulary check; see the lead-side field of the same name."
    • changedInput schema / properties / company_filters / properties / company_names / description
      Previous value: -"Restrict to specific company names — realtime only: using it forces the pricier live mode."New value: +"Restrict to specific company names. Realtime only: using it forces the pricier live mode."
    • changedInput schema / properties / company_filters / properties / department_headcount / description
      Previous value: -"Department size, e.g. {\"name\":\"engineering\",\"min\":10,\"max\":100} — realtime only: using it forces the pricier live mode."New value: +"Department size, e.g. {\"name\":\"engineering\",\"min\":10,\"max\":100}. Realtime only: using it forces the pricier live mode."
    • changedInput schema / properties / company_filters / properties / headcount_growth / description
      Previous value: -"Headcount growth in percent — realtime only: using it forces the pricier live mode."New value: +"Headcount growth in percent. Realtime only: using it forces the pricier live mode."
    • changedInput schema / properties / company_filters / properties / hiring_on_linkedin / description
      Previous value: -"Only companies actively hiring — realtime only: using it forces the pricier live mode."New value: +"Only companies actively hiring. Realtime only: using it forces the pricier live mode."
    • changedInput schema / properties / company_filters / properties / keywords / description
      Previous value: -"Free-text keywords across name/description/specialties — realtime only: using it forces the pricier live mode."New value: +"Free-text keywords across name/description/specialties. Realtime only: using it forces the pricier live mode."
    • changedInput schema / properties / company_filters / properties / linkedins_links / description
      Previous value: -"Specific LinkedIn company URLs — realtime only: using it forces the pricier live mode."New value: +"Specific LinkedIn company URLs. Realtime only: using it forces the pricier live mode."
    • changedInput schema / properties / company_filters / properties / locations / description
      Previous value: -"HQ locations — cities, states or countries."New value: +"HQ locations: cities, states or countries."
    • changedInput schema / properties / company_filters / properties / num_of_followers / description
      Previous value: -"LinkedIn follower buckets: \"1-50\",\"51-100\",\"101-1000\",\"1001-5000\",\"5001+\" — realtime only: using it forces the pricier live mode."New value: +"LinkedIn follower buckets: \"1-50\",\"51-100\",\"101-1000\",\"1001-5000\",\"5001+\". Realtime only: using it forces the pricier live mode."
    • changedInput schema / properties / company_filters / properties / revenues_range / description
      Previous value: -"Annual revenue range, single object {min,max} — realtime only: using it forces the pricier live mode."New value: +"Annual revenue range, single object {min,max}. Realtime only: using it forces the pricier live mode."
    • changedInput schema / properties / company_filters / properties / technologies / description
      Previous value: -"Technologies the company uses — realtime only: using it forces the pricier live mode."New value: +"Technologies the company uses. Realtime only: using it forces the pricier live mode."
    • changedInput schema / properties / exclude_ids / description
      Previous value: -"Skip leads by Generect/Sales-Navigator id. Pass the ids you already received to paginate without duplicates — ordering is not stable, so this is more reliable than offset."New value: +"Skip leads by Generect/Sales-Navigator id. Pass the ids you already received to paginate without duplicates. Ordering is not stable, so this is more reliable than offset."
    • changedInput schema / properties / exclude_title_keywords / description
      Previous value: -"DEPRECATED — accepted but ignored. No v1 equivalent. Narrow job_titles instead, or filter the returned rows yourself."New value: +"DEPRECATED: accepted but ignored. No v1 equivalent. Narrow job_titles instead, or filter the returned rows yourself."
    • addedInput schema / properties / exclude_title_keywords / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / exclude_title_keywords / type
      Added value: +"array"
    • changedInput schema / properties / functions / description
      Previous value: -"Job functions, e.g. [\"Sales\",\"Marketing\",\"Engineering\"] — realtime only: using it forces the pricier live mode."New value: +"Job functions, e.g. [\"Sales\",\"Marketing\",\"Engineering\"]. Realtime only: using it forces the pricier live mode."
    • changedInput schema / properties / get_max_leads / description
      Previous value: -"DEPRECATED — accepted but ignored. Always on now: search responses include results_count without asking."New value: +"DEPRECATED: accepted but ignored. Always on now: search responses include results_count without asking."
    • addedInput schema / properties / get_max_leads / type
      Added value: +"boolean"
    • changedInput schema / properties / keywords / description
      Previous value: -"Free-text keywords across headline/summary/skills — realtime only: using it forces the pricier live mode."New value: +"Free-text keywords across headline/summary/skills. Realtime only: using it forces the pricier live mode."
    • changedInput schema / properties / lead_industries / description
      Previous value: -"DEPRECATED — accepted but ignored. Removed: v1 filters on the employer's industry. Use company_industries."New value: +"DEPRECATED: accepted but ignored. Removed: v1 filters on the employer's industry. Use company_industries."
    • addedInput schema / properties / lead_industries / items
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / lead_industries / type
      Added value: +"array"
    • changedInput schema / properties / linkedin_filter_link / description
      Previous value: -"A LinkedIn / Sales Navigator search URL to lift filters from — realtime only: using it forces the pricier live mode."New value: +"A LinkedIn / Sales Navigator search URL to lift filters from. Realtime only: using it forces the pricier live mode."
    • changedInput schema / properties / locations / description
      Previous value: -"Where the lead lives — matches cities, states and countries, e.g. [\"United States\",\"Berlin\"]."New value: +"Where the lead lives: matches cities, states and countries, e.g. [\"United States\",\"Berlin\"]."
    • changedInput schema / properties / past_company_names / description
      Previous value: -"Companies the lead previously worked at (alumni targeting) — realtime only: using it forces the pricier live mode."New value: +"Companies the lead previously worked at (alumni targeting). Realtime only: using it forces the pricier live mode."
    • changedInput schema / properties / personas / description
      Previous value: -"Advanced raw persona tuples [name, functions, seniorities, prohibits, priority?] — realtime only: using it forces the pricier live mode."New value: +"Advanced raw persona tuples [name, functions, seniorities, prohibits, priority?]. Realtime only: using it forces the pricier live mode."
    • changedInput schema / properties / posted_on_linkedin / description
      Previous value: -"Only leads who recently posted on LinkedIn — realtime only: using it forces the pricier live mode."New value: +"Only leads who recently posted on LinkedIn. Realtime only: using it forces the pricier live mode."
    • changedInput schema / properties / without_company / description
      Previous value: -"DEPRECATED — accepted but ignored. No longer needed — v1 filter-only search is the default when no company anchor is set."New value: +"DEPRECATED: accepted but ignored. No longer needed: v1 filter-only search is the default when no company anchor is set."
    • addedInput schema / properties / without_company / type
      Added value: +"boolean"
    • changedInput schema / properties / years_in_company / description
      Previous value: -"Time at current company, same buckets as years_in_position — realtime only: using it forces the pricier live mode."New value: +"Time at current company, same buckets as years_in_position. Realtime only: using it forces the pricier live mode."
    • changedInput schema / properties / years_in_position / description
      Previous value: -"Time in current role: 1=<1y, 2=1-2y, 3=3-5y, 4=6-10y, 5=10y+ — realtime only: using it forces the pricier live mode."New value: +"Time in current role: 1=<1y, 2=1-2y, 3=3-5y, 4=6-10y, 5=10y+. Realtime only: using it forces the pricier live mode."
  3. Changed4 schema fields changedv0.12.3
    • addedOutput schema / properties / detail
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / free_tier
      Added value: +{}
    • addedOutput schema / properties / thin_note
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / thin_unavailable
      Added value: +{
      +  "type": "string"
      +}
  4. Changed16 schema fields changedv0.12.2
    • changedInput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedInput schema / additionalProperties
      Removed value: -false
    • removedInput schema / properties / company_filters / additionalProperties
      Removed value: -false
    • removedInput schema / properties / company_filters / properties / department_headcount / additionalProperties
      Removed value: -false
    • removedInput schema / properties / company_filters / properties / headcount_growth / additionalProperties
      Removed value: -false
    • removedInput schema / properties / company_filters / properties / revenues_range / additionalProperties
      Removed value: -false
    • changedInput schema / properties / exclude_names / description
      Previous value: -"Skip leads by full name. KNOWN ISSUE: in database mode any non-empty value collapses the result set to 0 (verified 2026-08-09); it behaves correctly in realtime mode. Prefer exclude_ids, or filter names out yourself after the search."New value: +"Skip leads by full name. Works in both modes (the database-mode bug that returned 0 rows was fixed in the API on 2026-08-13, PRO-1333). exclude_ids is still the more reliable way to paginate."
    • addedInput schema / properties / personas / items
      Added value: +{}
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • removedOutput schema / properties / blocked_by_vocabulary / $ref
      Removed value: -"#/properties/vocabulary_warnings"
    • addedOutput schema / properties / blocked_by_vocabulary / items
      Added value: +{}
    • addedOutput schema / properties / blocked_by_vocabulary / type
      Added value: +"array"
    • addedOutput schema / properties / companies / items
      Added value: +{}
    • addedOutput schema / properties / deprecated_params_ignored / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / leads / items
      Added value: +{}
    • addedOutput schema / properties / vocabulary_warnings / items
      Added value: +{}
  5. Addedv0.9.0

TDQS

A4.4/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: an explicit price per returned row (~$0.002 at Tier 0), a note that account-specific rates come from get_balance, and that actual spend is reported in cost.amount_charged_usd. It also discloses a hard limitation the schema does not — preview rows are masked, with no LinkedIn URL, domain, email or phone — which prevents an agent from planning to use preview output for contact data.

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?

Four sentences, front-loaded with the purpose, then cost, then the workflow, then the masking caveat — no filler. It is dense with numbers and tool names but each sentence carries decision-relevant information.

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 41-parameter, billable, open-world tool with an output schema, the description covers the three things an agent cannot get elsewhere: the cost model, the correct pipeline position, and the data-quality limits of the returned rows. Remaining detail (spend confirmation thresholds, filter vocabularies) is fully handled by the schema, so nothing critical 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% and the parameters (including limit_by's 'this number IS the price of the call' and exclude_ids pagination advice) are already richly documented there. The description adds framing about per-row billing but no parameter-specific guidance beyond what the schema states, so baseline 3 applies.

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?

Opens with a specific verb+resource+scope: 'a cheap look at the actual people behind a count, before a full search.' It distinguishes the tool from the full-search path and from enrichment by naming the downstream steps (enrich_lead, generate_email), so an agent can place it in the pipeline without opening a 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 an explicit workflow prescription: 'preview many, pick the few that fit, then enrich_lead or generate_email only on those,' which tells the agent both when to use this tool and what to do afterward. It stops short of stating exclusions such as when to skip preview and go straight to a full search, but the 'before a full search' framing covers most of the routing decision.

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