Skip to main content
Glama

AI SDR Kit by Zevari

linkedin_get_post

Fetch a LinkedIn post's details, engagement stats, and metadata by post reference. For /posts/...-share- use urn:li:share:; for /posts/...-ugcPost- use urn:li:ugcPost:; activity ids may be passed as the numeric id. Use the returned social_id for comments, reactions, and comment listing.

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": {
      "postId": "<postId>"
    },
    "name": "linkedin_get_post"
  }
}

Input Schema

NameRequiredDescriptionDefault
postIdYesPost reference to retrieve. For LinkedIn /posts URLs: activity-<id> -> <id>, share-<id> -> urn:li:share:<id>, ugcPost-<id> -> urn:li:ugcPost:<id>. The response social_id is the reliable action id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

No annotations exist, so the description carries the full behavioral burden. It does disclose the substantive output shape (details, engagement stats, metadata, social_id) and the id-normalization behavior, but says nothing about authentication scope, rate limits, or what happens with private/blocked posts or invalid references.

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?

Three short sentences, front-loaded with purpose then id formats then the chaining hint. Slightly redundant against the input schema's postId text, but no filler and nothing wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With one required parameter, no output schema, and no annotations, the description covers what the agent needs: how to build the reference in each URL shape and what the response yields, including the social_id needed for follow-on calls. It stops short of edge cases like deleted or restricted posts, but is otherwise sufficient.

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% and the single postId property already documents the share-/ugcPost-/activity-id mapping in near-identical wording. The description largely restates that mapping rather than adding new semantics, so the baseline 3 applies; the only marginal addition is framing social_id as the 'reliable action id' for downstream calls.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource plus the payload: 'Fetch a LinkedIn post's details, engagement stats, and metadata by post reference.' It also signals the boundary with comment-oriented siblings by noting the returned social_id is what those calls need, though it never names linkedin_get_post_comments or linkedin_get_post_media directly.

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 gives clear operational context: how to derive postId from /posts/ URLs and that activity ids may be passed numerically. The follow-up routing hint ('Use the returned social_id for comments, reactions, and comment listing') tells the agent to chain into other tools rather than search for a separate path, but there are no explicit exclusions or when-not conditions.

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.