Skip to main content
Glama

Storiez

Get per-post analytics

get-analytics-posts
Read-only

Returns engagement, impressions and reach per published post. Can be filtered by platform and page. Paginated with a cursor.

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": "get-analytics-posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
daysNoTime window in days (default 30)
limitNoMax results (default 30)
cursorNoPagination cursor (opaque, from a previous response)
pageIdNoFilter by page/connection ID
platformNoFilter by platform: LINKEDIN, FACEBOOK, INSTAGRAM, X

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds genuine context by disclosing cursor pagination and the filterable dimensions, but says nothing about default time window behavior beyond the schema, rate limits, or whether unpublished posts are excluded.

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 with the core return payload front-loaded, followed by filtering and pagination. No filler or repetition, though the pagination sentence is terse enough to leave the paging mechanics slightly underspecified.

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 usefully names the returned metrics (engagement, impressions, reach) and confirms cursor-based paging. For a five-parameter read-only analytics tool this is largely sufficient, with only minor gaps around per-platform metric availability and the meaning of the days window.

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 description coverage is 100%, so all five parameters, including defaults and allowed platform values, are already documented in the schema. The description only echoes platform and page filtering plus the cursor, adding no semantics beyond the structured fields, so the baseline 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?

States a specific verb and resource: returns engagement, impressions and reach per published post. That clearly separates it from a page-level aggregate, but it never names the sibling get-analytics as the roll-up alternative, leaving the per-post versus aggregate distinction implicit.

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 description implies the per-post use case and notes the platform and page filters, which hints at when to reach for it. It never states exclusions or names an alternative such as get-analytics or get-analytics-filters, so the agent must infer which analytics tool to choose.

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.

Resources