Get post statistics
get_post_statsReads engagement for one published post from LinkedIn: impressions, reach (unique viewers), reactions, comments, and reposts, plus clicks for company page posts. Also returns engagement_rate (reactions, comments and reposts per 100 impressions; null under 100 impressions), comment_share (percent of the engagement that is comments), early (true while the post is under a day old), and attributes (format, length, hashtags, link, first comment, company tags). get_insights compares recent posts with what is usual for the account. Numbers are lifetime totals and LinkedIn can lag by a few hours. A value is null when LinkedIn did not return it. needs_reconnect true means the LinkedIn connection lacks the analytics permission; the account owner reconnects LinkedIn in PostPen to grant it. Only posts with status sent have statistics. networks lists the post’s copies on X, Facebook, Instagram, Threads and YouTube, each with impressions (views on Instagram, Threads and YouTube), reach, likes, comments, shares, clicks, saves and engagements where that network gives them (null where it does not), or supported false and a reason (the account needs reconnecting for analytics, or the X API plan does not include reading post metrics). For a post that did not go to LinkedIn, linkedin.supported is false and networks has its numbers.
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": {
"id": "<id>"
},
"name": "get_post_stats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of a published post, from list_posts status sent. |