Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

list_post_engagers

Read-onlyIdempotent

Turn any LinkedIn post into a warm lead list: everyone who commented, reacted, and/or reposted it, deduped into one people list ranked warmest-first (more distinct engagements = warmer). Each engager carries a signals[] of HOW they engaged — comment signals include comment_id + post_id (for engage_with_comment follow-ups on the same thread), plus the full comment text, reaction type, or repost flag. Pass post_id from list_person_posts / list_recent_posts. Then enrich the people you like (DECIDE) and send_connection_request / comment_on_post / engage_with_comment (ACT). To read ONE comment’s reply thread instead, pass comment_id alongside post_id — you get the people who replied to that comment (comments-only). Reads through your own connected session; paginate each type with its own *_cursor. Repost signals cover plain reposts AND reposts with commentary; for the latter, detail carries the resharer’s full commentary ("with_commentary: ") — quote them, that person is usually the warmest on the post. LinkedIn indexes fresh reposts a few minutes after the counter increments, so the list can briefly trail the count.

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": {
      "post_id": "<post_id>"
    },
    "name": "list_post_engagers"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax engagers per type for comments/reactions (1-100, default 50). Reposts page size is fixed by LinkedIn (~10).
typesNoWhich engagement types to include (default: all three). Ignored when comment_id is set.
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.
post_idYesThe post to inspect: a LinkedIn post URN (urn:li:activity:…), its bare numeric id, or a post URL. Use post_id from list_person_posts / list_recent_posts.
comment_idNoOptional. A comment id (from list_post_engagers comment signals or get_lead_activity comment_reply rows). When set, returns the replies to THAT comment instead of the post’s top-level engagement — comments-only, so types/reactions/reposts are ignored. Paginate with comments_cursor.
reposts_cursorNoPagination token for reposts (next_cursor from a previous call).
comments_cursorNoPagination token for comments (next_cursor from a previous call).
reactions_cursorNoPagination token for reactions (next_cursor from a previous call).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/5

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

Goes well beyond the read-only/idempotent annotations: it discloses dedupe and warm-ranking behavior ('more distinct engagements = warmer'), that it reads through the caller's own connected session, that each engagement type paginates with its own cursor, and that LinkedIn's index lags reposts by a few minutes so results can trail the counter. The main uncovered area is the top-level response envelope (beyond the signals[] contents), though much of the payload shape is described.

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 purpose and the ranked-warmth payoff, then parameters, then follow-up actions, then the indexing caveat — a sensible order. It is dense and slightly overlong: the repost-commentary explanation is expanded across two places and reads partly like return-value documentation rather than call guidance.

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 8 parameters, no output schema, and multiple modes (post-level vs comment-reply, three engagement types, act_as delegation), the description carries the full burden well: it explains the returned people list, the signals[] contents (comment_id, post_id, comment text, reaction type, repost flag, 'with_commentary: <text>'), and how to paginate each type.

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; the description adds real meaning on top — where post_id comes from, that comment_id switches the tool into a comments-only reply mode where types/reactions/reposts are ignored, and per-type cursor pagination. Most of this overlaps with the schema's own parameter text (comment_id, limit, cursors), so the marginal gain is moderate rather than decisive.

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 with scope: 'Turn any LinkedIn post into a warm lead list: everyone who commented, reacted, and/or reposted it, deduped into one people list ranked warmest-first.' It also distinguishes itself from the comment-thread variant ('To read ONE comment's reply thread instead...') and names the upstream source tools (list_person_posts / list_recent_posts), so an agent can tell it apart from siblings 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?

Gives an explicit three-step workflow: supply post_id from list_person_posts / list_recent_posts, 'enrich the people you like (DECIDE)', then 'send_connection_request / comment_on_post / engage_with_comment (ACT)'. It also names the alternative mode and the exact condition that selects it — pass comment_id for a single comment's replies, which is 'comments-only'.

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