Skip to main content
Glama

Get stats

get_stats
Read-onlyIdempotent

Get views, likes, comments, followers, follower change and engagement rate across all of the user's connected accounts for a period, with the period before for comparison, a split by platform, the 10 channels with the most views and the 5 top posts. Instagram, Facebook, TikTok and YouTube are measured; X, LinkedIn and Pinterest have no numbers. Days are Istanbul calendar days. For a post's status or time, use list_posts.

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

Input Schema

NameRequiredDescriptionDefault
periodNoDefault 7d.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Beyond the readOnly/idempotent annotations, it discloses coverage gaps that matter operationally: Instagram, Facebook, TikTok, and YouTube are measured, while X, LinkedIn, and Pinterest have no numbers. It also defines the day boundary as Istanbul calendar days and previews the shape of the response, which includes the comparison period, platform split, top channels, and top posts.

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?

The description is front-loaded with the metric list and closes with the sibling routing, so there is no wasted framing. The first sentence is long and clause-dense, but every clause adds a distinct fact about the response.

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

Completeness5/5

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

For a single-parameter read tool with full annotation coverage and no output schema, the description supplies everything an agent needs: return contents, platform coverage limits, timezone semantics, and the alternative for per-post data. Nothing material is left to inference.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% and the enum plus its 7d default are already documented, so the schema carries the baseline. The description still adds meaning the schema does not, namely that days are Istanbul calendar days and that a preceding period is automatically included for comparison, which affects how the period value is interpreted.

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?

The description names a specific verb and resource and then enumerates the exact metrics returned: views, likes, comments, followers, follower change, engagement rate. It also states scope (all connected accounts), the comparison period, the platform split, top 10 channels, and top 5 posts, and it explicitly distinguishes itself from list_posts at the end.

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

Usage Guidelines5/5

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

It states the condition that selects the sibling tool: for a post's status or time, use list_posts. It also implicitly defines when this tool is right, since this tool is for aggregated metrics over a period rather than per-post detail.

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.