Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

get_lead_activity

Read-onlyIdempotent

Apex only. The pre-DM briefing on a person — CALL THIS BEFORE send_message or send_connection_request. Returns a relationship summary (headline + booleans: has_history, engaged_your_content, checked_resource, submitted_email, we_dmed, we_replied_to_comment, we_sent_connection_request, connection_status, is_connected, do_not_engage) plus a newest-first activity timeline. connection_status is read LIVE from the graph on each call (connection_status_source: "live"; network_distance carries the raw degree) and falls back to the stored Signals value only if the live read is unavailable — trust is_connected to pick dm vs. inmail vs. connect-first. comment_reply rows include comment_id + post_id so you can send a second, focused reply on the same thread via engage_with_comment (e.g. after an automation template reply, answer their actual question). The biggest signal before reaching out is whether you already have a history and whether they checked what you sent — this tells you fast, so you can open specifically instead of cold. First-party facts rank above heat Signals. Pass the lead by id, provider id ("ACo…"), profile slug, or name. Read-only.

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": {
      "lead": "<lead>"
    },
    "name": "get_lead_activity"
  }
}

Input Schema

NameRequiredDescriptionDefault
leadYesThe lead to look up: an id, provider id ("ACo…"), profile slug, or name.
limitNoMax activity items to return (1-200, default 50).
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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well past the readOnly/idempotent annotations: it discloses that connection_status is read live from the graph with a stored-Signals fallback (plus connection_status_source and network_distance), how to interpret is_connected for dm vs. inmail vs. connect-first, and the ranking rule that first-party facts outrank heat signals. It also documents act_as refusal behavior ('refused with a reason, never silently redirected'), Team-key permission_missing failures, and whose budgets/limits apply.

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 gating instruction and the core rationale for calling before outreach, so the reader gets the decision-relevant content first. It runs long and repeats structured data ('Read-only' duplicates readOnlyHint, the accepted lead identifier forms duplicate the schema), costing it a point.

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?

With no output schema, the description carries the return-value burden and does so thoroughly, enumerating the summary booleans, the timeline ordering, and the fields present on comment_reply rows. Nothing an agent needs in order to call this correctly and interpret the result 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 coverage is 100%, so lead, limit, and act_as are already documented in detail, and the description mostly restates them ('Pass the lead by id, provider id, profile slug, or name'). The added value is small — clarifying which signal to trust rather than parameter meaning — 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?

States a specific verb and resource ('pre-DM briefing on a person') and draws a sharp line against siblings by naming send_message and send_connection_request as the actions it must precede. An agent can tell exactly what it gets back (relationship summary booleans plus newest-first activity timeline) 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 an explicit ordering rule ('CALL THIS BEFORE send_message or send_connection_request') and a concrete follow-up scenario for engage_with_comment when comment_reply rows carry comment_id/post_id. It lacks any when-not-to-use guidance or a note on when a lighter lookup suffices, but the positive routing is clear.

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