Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

get_person_activity

Read-onlyIdempotent

Apex only. The sharpest intent signal there is: a LinkedIn person’s recent COMMENTS and REACTIONS — the posts they actually engaged with. Available nowhere else. Feed it a person (the id / public_identifier from search, enrich, or list_signals) and get back what they care about right now, so you can open with something specific instead of generic. Each item carries the engaged-with post (share_url + activity_urn) and its author — pass an activity_urn straight to comment_on_post / react_to_post (ACT), or the author to enrich (DECIDE). Reads through your own connected session; paginate per type with comments_cursor / reactions_cursor.

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

Input Schema

NameRequiredDescriptionDefault
limitNoMax items per type (1-50, default 20).
typesNoWhich activity to pull (default: both). comments = posts they commented on (plus their comment text); reactions = posts they reacted to.
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.
profileYesWhose activity to fetch: a LinkedIn provider id (e.g. "ACoAAB1cV…"), a vanity slug (e.g. "jane-doe"), or a full profile URL. Use the id / public_identifier from search, enrich, or list_signals.
comments_cursorNoPagination token (next_cursor from comments in a previous call).
reactions_cursorNoPagination token (next_cursor from reactions in a previous call).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the readOnlyHint/idempotentHint annotations, it discloses the Apex plan gate, that reads run through the caller's own connected session, and that results paginate per type via comments_cursor / reactions_cursor. The act_as delegation, budget, and permission-missing behavior live in the schema rather than the description, so a little is left out of the prose.

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?

Scoping ("Apex only") and the core verb are front-loaded, and the ACT/DECIDE routing is compact. Some promotional filler ("The sharpest intent signal there is… Available nowhere else", "so you can open with something specific instead of generic") could be trimmed without losing function.

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 tool with no output schema, the description still characterizes the return shape (engaged-with post with share_url and activity_urn, plus its author), covers pagination per type, and states the plan prerequisite. An agent has enough to call it correctly and chain the results onward.

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 profile, limit, types, act_as, and both cursors are already fully documented. The description adds only the operational hint that cursors are per-type and that the returned activity_urn feeds sibling action tools — useful framing but largely restating the schema's profile format guidance.

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?

"A LinkedIn person's recent COMMENTS and REACTIONS" names a specific verb-ish resource pair and scopes it to engaged-with posts rather than authored posts, which separates it from list_person_posts and get_lead_activity without opening either schema. "Available nowhere else" plus "Apex only" further pins down what the tool uniquely returns.

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?

It explains the input provenance (id / public_identifier from search, enrich, or list_signals) and the downstream branching clearly: pass activity_urn to comment_on_post / react_to_post to act, or the author to enrich to decide. That is strong workflow routing, but it never states a when-not condition or explicitly contrasts itself with the overlapping-looking sibling get_lead_activity.

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