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.

Posts from a channel

get_channel_posts
Read-only

Recent posts from a tracked Telegram channel, newest first, with text, view/forward/reply/reaction counts and reactions_map, the five most used reaction emoji with their counts. Accepts a channel slug or a numeric chat id, an optional text query to search the channel's posts, and an optional time range. Album posts are collapsed to one row, so a page may hold fewer than limit posts.

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>"
    },
    "name": "get_channel_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
queryNoOnly posts whose text contains this term (case-insensitive substring)
sinceNoOnly posts at or after this ISO 8601 timestamp
untilNoOnly posts before this ISO 8601 timestamp
channelYesChannel slug (Telegram username, without the @) or numeric channel id
message_typeNoFilter by message type: TEXT, PHOTO, VIDEO, AUDIO, DOCUMENT, UNSUPPORTED (case-insensitive)

Output Schema

NameRequiredDescriptionDefault
postsYes
channelYes
chat_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed16 schema fields changed
    • removedOutput schema / properties / posts / items / properties / created_at / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / posts / items / properties / created_at / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / posts / items / properties / forwards / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / posts / items / properties / forwards / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / posts / items / properties / message_id / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / posts / items / properties / message_id / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / posts / items / properties / message_type / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / posts / items / properties / message_type / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / posts / items / properties / reactions / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / posts / items / properties / reactions / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / posts / items / properties / replies / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / posts / items / properties / replies / type
      Added value: +[
      +  "number",
      +  "null"
      +]
    • removedOutput schema / properties / posts / items / properties / text / anyOf
      Removed value: -[
      -  {
      -    "type": "string"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / posts / items / properties / text / type
      Added value: +[
      +  "string",
      +  "null"
      +]
    • removedOutput schema / properties / posts / items / properties / views / anyOf
      Removed value: -[
      -  {
      -    "type": "number"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]
    • addedOutput schema / properties / posts / items / properties / views / type
      Added value: +[
      +  "number",
      +  "null"
      +]
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the read-only, non-destructive, closed-world profile, so the description spends its words elsewhere: result ordering (newest first), the presence of view/forward/reply/reaction counts and reactions_map, and the non-obvious fact that album collapsing means a page can hold fewer than `limit` rows. What is missing is pagination/cursor behavior for fetching older 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?

Three sentences, front-loaded with what the tool returns before the input acceptance and the album caveat. Dense and largely waste-free, though the return-field enumeration overlaps with what the output schema already declares.

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?

Given an output schema exists, the description need not explain return values, yet it covers ordering, the album/limit interaction, and accepted channel identifier forms. The omission of `message_type` and of any pagination note are the remaining gaps for a six-parameter listing tool.

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 high (83%), so most parameters are already documented in structured form and the description largely restates them (slug or numeric id, query, time range). Its one genuine addition is that `limit` is a soft cap because albums collapse into single rows, but `message_type` is never mentioned in the description at all.

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?

Opens with a concrete verb and resource ("Recent posts from a tracked Telegram channel") and specifies ordering and returned fields, so the agent knows exactly what comes back. It does not name or distinguish itself from siblings like search or get_channel_timeline, which is the only thing keeping it from 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 Guidelines3/5

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

Usage is implied rather than stated: mentioning an optional text `query` and time range suggests this is the channel-scoped retrieval path, but there is no explicit when-to-use or when-to-prefer-search/get_channel_timeline guidance. An agent must infer the boundaries from sibling names.

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