Skip to main content
Glama
Generect Live API MCP Server

Generect Live API MCP Server

Official
by generect

Enrich a lead by LinkedIn URL (alias)

get_lead_by_url

Retrieve and enrich lead details from a LinkedIn profile URL to identify and qualify B2B contacts.

Instructions

Alias of enrich_lead for a LinkedIn profile URL, kept for backwards compatibility. Billable: about $0.02 per record found (not-found is refunded) 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. enrich_lead does the same and also accepts a Generect id (the most accurate identifier) or an email for reverse lookup.

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": {
      "url": "<url>"
    },
    "name": "get_lead_by_url"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesLinkedIn profile URL (e.g. https://www.linkedin.com/in/username/).
modeNoData mode. "database" = Generect's own index: sub-second, free counts, free thin rows (see detail) or cheaper full rows; it accepts a subset of the filters today and names any it rejects. "realtime" = live LinkedIn lookup, 5–60s, billed per row, accepts every realtime filter. "auto" (default) tries database first and escalates to realtime only if a filter you passed is rejected there (the escalation is reported, and is refused above the per-call spend ceiling). Pick "database" explicitly when a recent cached record is good enough and cost matters more than freshness.
postsNoDEPRECATED: accepted but ignored. Removed: v1 enrich returns the full profile without per-section toggles.
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.
commentsNoDEPRECATED: accepted but ignored. Removed: v1 enrich returns the full profile without per-section toggles.
timeout_msNoRequest timeout in milliseconds.
inexact_companyNoDEPRECATED: accepted but ignored. Removed: v1 enrich matches on the identifier you pass.
people_also_viewedNoDEPRECATED: accepted but ignored. Removed: v1 enrich returns the full profile without per-section toggles.

Output Schema

NameRequiredDescriptionDefault
costNo
leadNo
modeNo
foundNo
companyNo
test_modeNo
test_mode_noticeNo
vocabulary_warningsNo
deprecated_params_ignoredNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed9 schema fields changedv0.13.2
    • changedInput schema / properties / comments / description
      Previous value: -"DEPRECATED — accepted but ignored. Removed: v1 enrich returns the full profile without per-section toggles."New value: +"DEPRECATED: accepted but ignored. Removed: v1 enrich returns the full profile without per-section toggles."
    • addedInput schema / properties / comments / type
      Added value: +"boolean"
    • 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 / inexact_company / description
      Previous value: -"DEPRECATED — accepted but ignored. Removed: v1 enrich matches on the identifier you pass."New value: +"DEPRECATED: accepted but ignored. Removed: v1 enrich matches on the identifier you pass."
    • addedInput schema / properties / inexact_company / type
      Added value: +"boolean"
    • changedInput schema / properties / people_also_viewed / description
      Previous value: -"DEPRECATED — accepted but ignored. Removed: v1 enrich returns the full profile without per-section toggles."New value: +"DEPRECATED: accepted but ignored. Removed: v1 enrich returns the full profile without per-section toggles."
    • addedInput schema / properties / people_also_viewed / type
      Added value: +"boolean"
    • changedInput schema / properties / posts / description
      Previous value: -"DEPRECATED — accepted but ignored. Removed: v1 enrich returns the full profile without per-section toggles."New value: +"DEPRECATED: accepted but ignored. Removed: v1 enrich returns the full profile without per-section toggles."
    • addedInput schema / properties / posts / type
      Added value: +"boolean"
  2. Changed6 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
    • changedInput schema / properties / mode / description
      Previous value: -"Data mode. \"database\" = cached, sub-second, cheaper, free counts, core filters only. \"realtime\" = live LinkedIn lookup, 5–60s, pricier, supports every filter. \"auto\" (default) tries database first and only escalates to realtime if a filter you passed is unsupported there — an escalation is reported in the response. Pick \"database\" explicitly when a recent cached record is good enough and cost matters more than freshness."New value: +"Data mode. \"database\" = Generect's own index: sub-second, free counts, free thin rows (see detail) or cheaper full rows; it accepts a subset of the filters today and names any it rejects. \"realtime\" = live LinkedIn lookup, 5–60s, billed per row, accepts every realtime filter. \"auto\" (default) tries database first and escalates to realtime only if a filter you passed is rejected there (the escalation is reported, and is refused above the per-call spend ceiling). Pick \"database\" explicitly when a recent cached record is good enough and cost matters more than freshness."
    • changedOutput schema / $schema
      Previous value: -"http://json-schema.org/draft-07/schema#"New value: +"https://json-schema.org/draft/2020-12/schema"
    • addedOutput schema / properties / deprecated_params_ignored / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / vocabulary_warnings / items
      Added value: +{}
  3. Changed13 schema fields changedv0.9.0
    • changedInput schema / properties / comments / description
      Previous value: -"Include comments data"New value: +"DEPRECATED — accepted but ignored. Removed: v1 enrich returns the full profile without per-section toggles."
    • removedInput schema / properties / comments / type
      Removed value: -"boolean"
    • addedInput schema / properties / compact
      Added value: +{
      +  "description": "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.",
      +  "type": "boolean"
      +}
    • changedInput schema / properties / inexact_company / description
      Previous value: -"Allow inexact company matching"New value: +"DEPRECATED — accepted but ignored. Removed: v1 enrich matches on the identifier you pass."
    • removedInput schema / properties / inexact_company / type
      Removed value: -"boolean"
    • addedInput schema / properties / mode
      Added value: +{
      +  "description": "Data mode. \"database\" = cached, sub-second, cheaper, free counts, core filters only. \"realtime\" = live LinkedIn lookup, 5–60s, pricier, supports every filter. \"auto\" (default) tries database first and only escalates to realtime if a filter you passed is unsupported there — an escalation is reported in the response. Pick \"database\" explicitly when a recent cached record is good enough and cost matters more than freshness.",
      +  "enum": [
      +    "auto",
      +    "database",
      +    "realtime"
      +  ],
      +  "type": "string"
      +}
    • changedInput schema / properties / people_also_viewed / description
      Previous value: -"Include people also viewed"New value: +"DEPRECATED — accepted but ignored. Removed: v1 enrich returns the full profile without per-section toggles."
    • removedInput schema / properties / people_also_viewed / type
      Removed value: -"boolean"
    • changedInput schema / properties / posts / description
      Previous value: -"Include posts data"New value: +"DEPRECATED — accepted but ignored. Removed: v1 enrich returns the full profile without per-section toggles."
    • removedInput schema / properties / posts / type
      Removed value: -"boolean"
    • changedInput schema / properties / timeout_ms / description
      Previous value: -"Request timeout in milliseconds"New value: +"Request timeout in milliseconds."
    • changedInput schema / properties / url / description
      Previous value: -"LinkedIn profile URL (e.g., https://www.linkedin.com/in/username/)"New value: +"LinkedIn profile URL (e.g. https://www.linkedin.com/in/username/)."
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": false,
      +  "properties": {
      +    "company": {},
      +    "cost": {
      +      "additionalProperties": false,
      +      "properties": {
      +        "amount_charged_usd": {
      +          "type": [
      +            "number",
      +            "null"
      +          ]
      +        },
      +        "billed": {
      +          "type": "string"
      +        },
      +        "note": {
      +          "type": "string"
      +        },
      +        "operation": {
      +          "type": "string"
      +        }
      +      },
      +      "type": "object"
      +    },
      +    "deprecated_params_ignored": {
      +      "additionalProperties": {
      +        "type": "string"
      +      },
      +      "type": "object"
      +    },
      +    "found": {
      +      "type": "boolean"
      +    },
      +    "lead": {},
      +    "mode": {
      +      "type": "string"
      +    },
      +    "test_mode": {
      +      "type": "boolean"
      +    },
      +    "test_mode_notice": {
      +      "type": "string"
      +    },
      +    "vocabulary_warnings": {
      +      "type": "array"
      +    }
      +  },
      +  "type": "object"
      +}
  4. First observedv0.1.0

TDQS

A4.3/5.0
Behavior5/5

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

Goes well past the annotations: discloses a billable model (~$0.02 per record found), a refund on not-found, that account pricing may differ, where to check it (get_balance), and where the actual charge appears (cost.amount_charged_usd). With readOnlyHint=false and openWorldHint=true already flagging a non-free external call, these cost and refund mechanics are the exact context an agent needs before invoking.

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?

Three tight sentences, front-loaded with identity and then cost, which is the right order for a billable alias. Nothing is wasted, though the pricing sentence is dense and could be split for scanability.

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?

An output schema exists, so return values needn't be explained, and annotations plus a fully documented 8-parameter schema carry the rest. The only unmapped detail is that several accepted parameters are inert, which is handled in the schema rather than the description.

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%, so url, mode, compact, timeout_ms and the deprecated toggles are all already documented in structured form. The description adds no parameter-level meaning beyond what the schema states; 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?

States exactly what it is: an alias of enrich_lead keyed on a LinkedIn profile URL, retained for backwards compatibility. That single framing distinguishes it from enrich_lead (id/email identifiers) and from every search/count sibling without needing to open 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?

Clearly positions itself as the legacy path and tells the agent that enrich_lead does the same job with better identifiers (Generect id 'the most accurate identifier', or email). It stops short of an explicit directive ('prefer enrich_lead for new work'), but the routing intent is unambiguous.

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