Skip to main content
Glama

Telegram Channels

Telegram Channel Posts

telegram_channel_posts
Read-onlyIdempotent

Recent posts from a public Telegram channel, newest first: post id and link, date, text, view count, reactions (emoji and count), media (photo, video, document with URLs), link card (site, title, description, image), forwarded-from, reply-to and edited flag. Filter with q (text search), since and until (ISO dates); the preview is paged back until the window is covered (max_pages, default 5). Source: Telegram public channel web preview. About 20 posts per page; pass before_id (a post id) to page back.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 5,
      "channel": "durov"
    },
    "name": "telegram_channel_posts"
  }
}

Input Schema

NameRequiredDescriptionDefault
qNoOnly posts whose text matches this search (Telegram channel search)
limitNoMax posts, 1-100 (default 20; over 20 reads several preview pages)
sinceNoOnly posts on or after this date or time, e.g. "2026-11-01" or an ISO timestamp
untilNoOnly posts on or before this date or time (a bare date covers that whole day)
channelYesChannel username, e.g. "durov"
before_idNoOnly posts older than this post id (for paging back)
max_pagesNoMost preview pages to read when limit, since or until needs paging, 1-10 (default 5)

Output Schema

NameRequiredDescriptionDefault
countNo
postsNo
sourceNo
channelNo
next_before_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, open-world, non-destructive, so safety needs no repetition. The description adds real behavioral context beyond them: data comes from the public web preview, roughly 20 posts per page, and the preview is paged back until the requested window is covered with max_pages defaulting to 5. It does not discuss rate limits or failure modes, keeping 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.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with what the tool returns, then filtering, then paging mechanics, with zero filler sentences. It is dense but scannable; the long field enumeration in the opening sentence is the only slightly heavy element, and it earns its place by defining the payload.

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 seven-parameter read tool with a full schema and an output schema, the description covers source, default ordering, filtering, page size and paging behavior. Nothing an agent needs in order to call it correctly is missing, and return values are appropriately summarized rather than re-specified.

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 every parameter is already documented in the schema, including limit, since/until, before_id and max_pages. The description reinforces the paging relationship between limit/since/until and max_pages but adds no syntax or format detail the schema does not already carry. Baseline 3 applies when the schema does the heavy lifting.

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?

States a specific verb and resource ('Recent posts from a public Telegram channel, newest first') and enumerates the returned fields (post id, link, date, text, views, reactions, media, link card, forwarded-from, reply-to, edited flag). This clearly separates it from a channel-metadata sibling, and an agent can tell what it produces without opening the schema.

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?

Gives concrete operational guidance: filter with q/since/until, and pass before_id to page back. It does not explicitly say when to prefer this over the sibling telegram_channel tool or state exclusions (e.g., private channels), but the 'public channel web preview' source note implies the boundary.

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.