Skip to main content
Glama

linkedin_get_page_stats

Read-only

Retrieve LinkedIn company page post statistics—impressions, clicks, likes, comments, shares, and engagement—as lifetime totals or per day/month within the last 12 months.

Instructions

Get company page post statistics (impressions, clicks, likes, comments, shares, engagement): lifetime totals, or per day/month for a date range within the last 12 months. Needs rw_organization_admin.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "linkedin_get_page_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNoStart date, ISO (e.g. 2026-09-01). Omit both dates for lifetime totals.
untilNoEnd date, ISO, exclusive. Defaults to now.
granularityNoDefault DAY

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations only declare readOnlyHint and openWorldHint; the description adds genuinely new behavior: the required rw_organization_admin permission scope and the hard 12-month lookback limit on the data range. It does not describe pagination or the shape of the returned statistics, but no output schema exists to cover that either.

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?

Two sentences, zero filler: the resource and metrics come first, then the temporal modes and the auth requirement. Every clause carries information an agent needs before calling.

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?

For a three-optional-parameter read tool with full schema coverage, the definition covers what is measured, the time window, granularity options, and the permission gate. The only real gap is the return format of the statistics, which matters somewhat here because there is no output schema.

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 since/until/granularity semantics and the DAY default are already documented in the schema. The description reinforces the lifetime-vs-range choice and the 12-month constraint but introduces no syntax or format detail beyond the schema, so the baseline of 3 applies.

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?

Specific verb and resource ('Get company page post statistics') followed by an enumerated metric list (impressions, clicks, likes, comments, shares, engagement). The 'company page' scoping implicitly separates it from the post-level sibling linkedin_get_post_stats, though the description never names that alternative.

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 states the two operating modes: omit dates for lifetime totals, or supply a range for per day/month values, and it names the prerequisite permission (rw_organization_admin). It stops short of explicit exclusions pointing to sibling analytics tools such as linkedin_get_post_stats or facebook_get_page_insights.

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