Skip to main content
Glama

LeadShark Apex: LinkedIn MCP

list_person_posts

Read-onlyIdempotent

Apex only. Pull recent posts from a LinkedIn person so you have something concrete to act on — this closes the loop: search (find them) → enrich (decide) → list_person_posts → comment_on_post / react_to_post (act). Pass the id or public_identifier from search or enrich (a provider id like "ACoAAB1cV…", a vanity slug, or a profile URL). Each post comes back with a post_id (urn:li:activity:…) that drops straight into comment_on_post / react_to_post, plus text, share_url, posted_at, and engagement metrics. Reads through your own connected session; paginate with next_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": "list_person_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax posts to return (1-100, default 10).
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.
cursorNoPagination token (next_cursor from a previous call) to fetch the next page.
profileYesWhose posts to fetch: a LinkedIn provider id (e.g. "ACoAAB1cV…"), a vanity slug (e.g. "jane-doe"), or a full profile URL. Use the id or public_identifier returned by search / enrich.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and non-destructive, so safety is covered; the description adds non-obvious context: it reads through the caller's own connected session, requires an Apex plan, and paginates via next_cursor. It stops short of describing rate limits or failure modes beyond the plan gate, so not a 5.

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 tier restriction and the core action, and the workflow chain is compact and useful. A few phrases ("so you have something concrete to act on — this closes the loop") are promotional filler that could be cut without losing information.

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?

No output schema exists, and the description compensates by enumerating the returned fields (post_id, text, share_url, posted_at, engagement metrics) and noting the urn format that feeds downstream tools. Combined with pagination and plan prerequisites, an agent has everything needed to call and use the result.

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 the baseline is 3. The description reiterates the accepted profile identifier forms (provider id, vanity slug, profile URL) and mentions next_cursor, but adds nothing about limit or act_as beyond what the schema already documents in detail.

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 ("Pull recent posts from a LinkedIn person") plus a hard gating qualifier ("Apex only"). It positions the tool within a named workflow chain and names the downstream siblings that consume its output, so an agent can distinguish it from list_recent_posts or get_person_activity without opening another 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 pipeline — search (find) → enrich (decide) → list_person_posts → comment_on_post / react_to_post (act) — which is precisely when-to-use guidance. It also states the prerequisite tier ("Apex only") and where the required identifier comes from, leaving little to inference.

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