Skip to main content
Glama

ContentIn for Agents

Get post analytics

get_post_analytics
Read-onlyIdempotent

Get LinkedIn performance for one published ContentIn post: impressions, members reached, likes, comments, shares, and a derived engagement rate. IMPORTANT: metrics are fetched on a schedule and only for posts published through a connected LinkedIn account, so a post can legitimately have no numbers yet. When that happens this returns measured: false — report that honestly as 'not measured yet'. Do NOT describe an unmeasured post as having zero impressions or zero engagement; those are different claims and only one of them is true.

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_id": "<post_id>"
    },
    "name": "get_post_analytics"
  }
}

Input Schema

NameRequiredDescriptionDefault
post_idYesThe ContentIn post id, from list_posts.
include_historyNoInclude the metric time-series (up to 60 snapshots) instead of just the latest figures. Default false.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior5/5

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

Goes well beyond the read-only/idempotent annotations by disclosing that metrics are fetched on a schedule, that missing numbers are legitimate, and that the response carries a measured: false flag. It also explains the derived nature of engagement rate and the interpretation rule for unmeasured posts, which an agent could not infer from structured fields.

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-loads what is returned, then the staleness caveat, in a logical order. The closing do-not-say guidance is slightly prescriptive but earns its place by preventing a specific misreporting error; it could be tightened a bit.

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 no output schema, the description carries the burden of describing returns and does so by naming the metric set and the measured flag. The only gap is that it does not sketch what include_history's time-series looks like, though the schema covers the flag's semantics.

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 post_id and include_history (including the 60-snapshot cap and default) are already documented in the schema. The description adds no further parameter meaning and never mentions include_history, so the baseline of 3 holds.

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 LinkedIn performance for one published ContentIn post') and enumerates the metrics returned (impressions, members reached, likes, comments, shares, derived engagement rate). It is clearly distinguishable from siblings like list_posts or get_account_status, which deal with listing and account state rather than per-post metrics.

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?

Clearly scopes usage to a single published ContentIn post and warns that metrics only exist for posts published through a connected LinkedIn account, which is a real precondition that affects whether to call it. It does not explicitly name an alternative tool or state when not to use it, so it stops short of full when/when-not routing.

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.