Skip to main content
Glama
Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as Statiko — Telegram trends & channel analytics. If you published it, claim ownership there.

Interaction history of a post

get_post_stats
Read-only

How a post's views, forwards, replies and reactions (total and per-emoji) evolved over its life, as a sparse series of snapshots bucketed per hour or per day, oldest first — for view velocity and reaction drift. message_id comes from get_channel_posts. A post with no recorded snapshots answers an empty series.

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": {
      "channel": "<channel>",
      "message_id": "<message_id>"
    },
    "name": "get_post_stats"
  }
}

Input Schema

NameRequiredDescriptionDefault
sinceNoOnly snapshots taken at or after this ISO 8601 timestamp
untilNoOnly snapshots taken before this ISO 8601 timestamp
bucketNoSeries resolution: one snapshot per hour (1h) or day (1d)1h
channelYesChannel slug (Telegram username, without the @) or numeric channel id
message_idYesPost id within the channel

Output Schema

NameRequiredDescriptionDefault
bucketYes
channelYes
chat_idYes
snapshotsYesSparse, oldest first; empty for an untracked post
message_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed12 schema fields changed
    • removedOutput schema / properties / snapshots / items / properties / bucket_start / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / snapshots / items / properties / bucket_start / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / snapshots / items / properties / forwards / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / snapshots / items / properties / forwards / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / snapshots / items / properties / reactions / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / snapshots / items / properties / reactions / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / snapshots / items / properties / received_at / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / snapshots / items / properties / received_at / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / snapshots / items / properties / replies / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / snapshots / items / properties / replies / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / snapshots / items / properties / views / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / snapshots / items / properties / views / type
      Added value: +[
      +  "number",
      +  "null"
      +]
  2. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, closed-world, so the safety profile is covered; the description instead adds real behavioral context: results are sparse snapshots rather than continuous data, ordering is oldest first, and a post with no snapshots returns an empty series. It does not discuss volume limits on large series, which keeps it short of a 5.

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?

One long sentence front-loads what is returned and its shape, followed by a short provenance note and a short edge-case note. Every sentence carries information; nothing is padding.

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 annotations, a full output schema, and complete parameter documentation, the description adds the pieces structured fields cannot: sparsity, ordering, and empty-result behavior. A note on series volume or snapshot freshness would close the remaining gap.

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, bucket, channel and message_id are already documented in the schema. The description only adds provenance for message_id (it comes from get_channel_posts) and restates the hour/day resolution idea, leaving the time-window semantics entirely to the schema — baseline 3 is appropriate.

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?

A specific verb-plus-resource statement: it names the exact metrics (views, forwards, replies, reactions, total and per-emoji) and the shape of the answer (sparse hourly/daily snapshots, oldest first). It does not explicitly differentiate itself from adjacent history tools like get_channel_timeline or get_trend_samples, so it falls short of a 5.

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?

'for view velocity and reaction drift' gives concrete use cases, and 'message_id comes from get_channel_posts' supplies a prerequisite/upstream-tool pointer. It lacks explicit when-not guidance or a contrast with the timeline/trend siblings, so it is clear context rather than full routing guidance.

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