Skip to main content
Glama

Reach MCP — LinkedIn for AI agents

list_user_posts

Read-onlyIdempotent

Get recent posts published by a LinkedIn member (via profileUpdatesV2), with likes, comments, shares and publish time. On the connected account's own posts, impressions too (LinkedIn shows them to the author only). For the next page pass back next_start as start and pagination_token: LinkedIn ignores start alone and serves the first page again. Use to read what a member published recently (their content, not who engaged); to get likers and commenters of a post use scrape_post. Read-only, but each call counts against the daily profile_posts quota (default 50): read the members you will act on, not a whole list.

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": {
      "account_id": "<account_id>",
      "linkedin_id_or_url": "<linkedin_id_or_url>"
    },
    "name": "list_user_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
countNoNumber of posts (max 50).
startNonext_start from the previous page.
account_idYesReach id of the LinkedIn account to act on, from list_accounts.
pagination_tokenNopagination_token from the previous page. Omit on the first page.
linkedin_id_or_urlYesLinkedIn member ID, vanity name, or profile URL.

Output Schema

NameRequiredDescriptionDefault
postsNo
next_startNoPass as start, with pagination_token, for the next page.
total_postsNo
pagination_tokenNoPass back with next_start for the next page (LinkedIn ignores start alone); null when there are no more posts.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changed
    • addedInput schema / properties / pagination_token
      Added value: +{
      +  "description": "pagination_token from the previous page. Omit on the first page.",
      +  "type": "string"
      +}
    • changedInput schema / properties / start / description
      Previous value: -"Pagination offset."New value: +"next_start from the previous page."
    • addedOutput schema / properties / next_start
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Pass as start, with pagination_token, for the next page.",
      +  "title": "Next Start"
      +}
    • addedOutput schema / properties / pagination_token
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Pass back with next_start for the next page (LinkedIn ignores start alone); null when there are no more posts.",
      +  "title": "Pagination Token"
      +}
  2. Changed5 schema fields changed
    • addedOutput schema / $defs / LinkedInUserPostOut / properties / impressions
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Times the post was shown. LinkedIn gives it to the post's author only: filled on the connected account's own posts, absent on anyone else's and on reposts.",
      +  "title": "Impressions"
      +}
    • addedOutput schema / $defs / LinkedInUserPostOut / properties / is_repost
      Added value: +{
      +  "default": false,
      +  "description": "The member reposted someone's post (or their own): the counters are the original post's.",
      +  "title": "Is Repost",
      +  "type": "boolean"
      +}
    • addedOutput schema / $defs / LinkedInUserPostOut / properties / published_at
      Added value: +{
      +  "anyOf": [
      +    {
      +      "format": "date-time",
      +      "type": "string"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "ISO 8601 UTC time the post (or the repost) was published.",
      +  "title": "Published At"
      +}
    • addedOutput schema / $defs / LinkedInUserPostOut / properties / total_shares
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "title": "Total Shares"
      +}
    • addedOutput schema / $defs / LinkedInUserPostOut / properties / video_views
      Added value: +{
      +  "anyOf": [
      +    {
      +      "type": "integer"
      +    },
      +    {
      +      "type": "null"
      +    }
      +  ],
      +  "default": null,
      +  "description": "Views of the post's video (video posts only).",
      +  "title": "Video Views"
      +}
  3. Added

TDQS

A4.5/5.0
Behavior4/5

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

Goes well beyond the readOnly/idempotent annotations by disclosing the daily profile_posts quota (default 50), the fact that impressions are only visible on the connected account's own posts, and a non-obvious pagination quirk where LinkedIn ignores start alone. These are exactly the behaviors that would otherwise cause silent failures or wasted quota.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Four tight sentences, each carrying distinct information: return shape, own-post caveat, pagination mechanics, sibling routing, and quota cost. The most failure-prone detail (pagination) is stated before the alternative-tool routing, and no sentence restates the name or title.

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?

An output schema exists and annotations already cover the safety profile, so the description only needs to cover behavior the structured fields cannot express. It does that: return fields, author-only impressions, pagination requirement, quota cost, and a sibling boundary.

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 the baseline is 3 and the schema already documents count, start, pagination_token, account_id and linkedin_id_or_url. The description adds real value only for the paging pair, explaining that next_start must be passed back as start alongside pagination_token; it says nothing extra about count limits or identifier formats.

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 ('Get recent posts published by a LinkedIn member'), names the underlying endpoint (profileUpdatesV2), and enumerates what comes back (likes, comments, shares, publish time, plus impressions on own posts). It explicitly distinguishes itself from scrape_post, which handles engagers rather than content.

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 when-to-use ('read what a member published recently') and a when-not-to-use with the correct alternative ('to get likers and commenters of a post use scrape_post'). It also adds a practical selection rule for the quota: read the members you will act on, not a whole list.

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