Skip to main content
Glama

Get analytics for one of your posts

get_post_analytics
Read-onlyIdempotent

Retrieve analytics for one of your LinkedIn posts by URL, including impressions, reach, profile views, followers gained, reactions, comments, reposts, saves, sends, and top viewer demographics.

Instructions

Impressions, members reached, profile views, followers gained, reactions, comments, reposts, saves, sends and top viewer demographics for one of the user's own posts.

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": {
      "post_url": "<post_url>"
    },
    "name": "get_post_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
post_urlYesURL of your post.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint, so the safety profile is covered. The description adds substantive context beyond that by enumerating the returned payload (impressions, demographics, follower deltas), which matters because there is no output schema. It omits any timeframe/window semantics for the metrics, which is the one notable behavioral gap.

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?

A single sentence that front-loads the metric inventory and closes with the scope restriction. Every clause carries information; nothing is repeated from the title or restated redundantly.

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

Completeness3/5

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

For a one-parameter read tool this is close to adequate: the description substitutes for the absent output schema by naming the metrics. The gaps are real though — no indication of the measurement window, aggregation granularity, or what happens when a post has no data or is not owned by the caller.

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?

With a single parameter at 100% schema description coverage, the schema already fully documents post_url. The description only reinforces the ownership constraint ('user's own posts'), not the URL format, whether a URN or activity URL is accepted, or whether the post must be authored by the caller.

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?

States a specific verb+resource ('analytics ... for one of the user's own posts') and enumerates the metrics returned, so the agent knows exactly what the call yields. It scopes to the user's own posts but never distinguishes itself by name from the obvious sibling get_profile_analytics, leaving that routing to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The phrase 'for one of the user's own posts' implies the usage boundary (per-post, self-owned content), which is a real constraint an agent can act on. However, there is no explicit when-to-use versus when-not, and no mention of the sibling get_profile_analytics that covers the non-post-scoped case.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.