Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

enrich

Read-onlyIdempotent

Enrich a LinkedIn person into a structured profile — name, headline, location, current role & company, work history, links, follower/connection counts, and network distance. This is the "Decide" input: LeadShark supplies the data, your agent ranks fit and intent itself (combine with list_signals). Great as the second step of a pre-DM briefing (after get_lead_activity). Notice: profile enrichment runs through your OWN connected LinkedIn account — it’s a real lookup on your account, not a third-party database — and is limited to 250 a day per LinkedIn account (a hard limit: past it the call returns daily_limit_reached until midnight UTC), so reserve it for leads worth pursuing. Reads through a cache so repeat lookups are cheap (cache hits don’t count toward the daily limit). Set include_email:true (Apex only) to also find a work email — first from the LinkedIn profile (free), otherwise through your linked PersonEnrich wallet. PersonEnrich email discovery is async: the first call returns email.email_status:"pending"; call enrich again with include_email in ~30–60s to pick up the email.

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": {
      "profile": "<profile>"
    },
    "name": "enrich"
  }
}

Input Schema

NameRequiredDescriptionDefault
act_asNoAPEX+ or admin act_as (optional): operate this tool AS one of your managed profiles — pass that profile's LeadShark account email (see list_profiles). Requires an active delegation from the profile owner plus an APEX+ plan or admin act_as enabled by LeadShark (which runs on the profile's own plan); anything else is refused with a reason, never silently redirected. The action runs under the managed profile's own budgets, approval queue, and action log. With a Team key, act_as is required on every call and must be one of the key's accounts (list_profiles); the call must also be within the permission groups the key has on that account, or it's refused with permission_missing. Hourly/daily limits are that profile's own.
profileYesThe person to enrich: a LinkedIn id (e.g. the actor_linkedin_id from list_signals, like ACoA…), a public identifier / slug (e.g. "jane-doe"), or a full profile URL.
include_emailNoAlso resolve a work email (default false). Uses the LinkedIn profile if present, else your linked PersonEnrich wallet. Returns an `email` block with email_status ("found" | "pending" | "person_enrich_not_linked" | "unavailable" | "error"). If "pending", call again shortly to collect the result.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnly/openWorld/idempotent; the description adds material context the agent cannot get elsewhere: the lookup runs through the caller's own connected LinkedIn account rather than a third-party DB, a hard limit of 250/day per account with a daily_limit_reached error persisting until midnight UTC, and cache behavior where hits don't count toward the quota. It also discloses the async email path (email_status "pending", retry in 30–60s) and the Apex-only gate, none of which is inferable from annotations.

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 action and returned fields, then cost/rate-limit caveats, then the optional email path — a sensible order. It is dense and nearly every sentence carries new information, though the pending-email retry flow is restated from the include_email schema description, which is minor redundancy.

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 read-only lookup with no output schema, the description covers what is returned, quota and caching behavior, failure modes (daily_limit_reached, pending), and the optional email flow's prerequisites. Nothing an agent needs to invoke it correctly or recover from a partial result appears to be missing.

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 100%, so the baseline is 3, but the description adds real meaning beyond the schema: it clarifies the Apex-only restriction on include_email and that email discovery is free from the profile before falling back to the PersonEnrich wallet, plus the retry timing on "pending". It doesn't add much on act_as beyond the already-detailed schema entry, keeping it from a 5.

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 and resource ("Enrich a LinkedIn person into a structured profile") and enumerates exactly what comes back (headline, location, work history, links, follower/connection counts, network distance). It also positions the tool against siblings by naming list_signals and get_lead_activity, so an agent can place it 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly frames the tool as the "Decide" input, recommends it as the second step of a pre-DM briefing after get_lead_activity, and tells the agent to combine with list_signals. It also gives a cost-based exclusion rule — "reserve it for leads worth pursuing" — because of the daily limit, which is exactly the when-not-to-use guidance most definitions lack.

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