Skip to main content
Glama

Get Post Analytics

get_analytics
Read-onlyIdempotent

Get social media performance analytics for the workspace (summary KPIs, per-account metrics, and ranked top-performing posts over the last 1-90 days) so you can see what content performs best.

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"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoOptional end date as ISO-8601 string or Unix epoch ms.
daysNoNumber of days to look back (1-90, defaults to 30). Ignored if both from and to are provided.
fromNoOptional start date as ISO-8601 string or Unix epoch ms.
sortNoHow to rank topPosts.engagements
postOffsetNoOptional pagination offset for topPosts.
connectionIdsNoOptional list of connection IDs from list_connections to filter analytics.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

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, non-destructive, and closed-world, so the safety profile needs no repetition. The description adds genuinely new context: the return composition (KPIs, per-account metrics, ranked posts) and the 1-90 day window the data spans. Remaining gaps (default window, pagination behavior) are covered elsewhere or minor.

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?

One front-loaded sentence with the verb+resource first and the payload detail in a compact parenthetical. No filler or repetition, though the parenthetical list plus purpose clause makes it slightly dense.

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 all six parameters optional and no output schema, the description usefully tells the agent what comes back and over what time horizon, while the schema handles date formats, defaults, and pagination. Adequate for an agent to call it correctly.

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% with every parameter, including defaults and the from/to precedence rule, documented inline. The description only echoes the "last 1-90 days" range and says nothing about the connectionIds filter, sort ranking, or postOffset pagination, so it adds little beyond the schema.

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 ("Get social media performance analytics for the workspace") and even enumerates the payload (summary KPIs, per-account metrics, ranked top posts). It does not contrast itself with siblings such as get_post or list_posts, so an agent gets a clear purpose but must infer the boundaries from names alone.

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 trailing clause "so you can see what content performs best" frames the intent but gives no explicit when-to-use/when-not-to-use rules or named alternatives (e.g. use get_post for a single post's detail). Usage is only implied by the stated output shape.

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