Skip to main content
Glama

Douyin Scraper - Profiles, Videos, Comments and Trending

Telegram Channel Posts

get_telegram_channel_posts
Read-onlyIdempotent

Posts of public Telegram channels from the t.me web preview: text, date, views, reactions, media links, forwards, replies, link previews and polls; channel title, bio, photo and exact subscribers. Filter by keyword and date. Subscriber growth (7 and 30 days, since first reading) from our own daily history of every channel read (grows over time). Use for posts of a public Telegram channel; for Chinese video platforms use get_douyin_data or search_bilibili. Returns {items: [...]} with one object per result, for example: {"type":"post","channel":"durov","postId":568,"url":"https://t.me/durov/568","date":"2026-11-21T22:48:52Z","text":"You won't look professional in 2027 if your QR is unpimped.","views":1100000,"reactionsTotal":32240,"mediaCount":1} Cost: pay per result with an Apify token (prices on apify.com/pomlabs), or US$ 0.05 per call with x402 (up to 50 posts of 1 channel). Read-only: it only reads public data.

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

Input Schema

NameRequiredDescriptionDefault
toNoOnly posts on or before this date (YYYY-MM-DD).
maxNoMaximum posts per channel, newest first (1-500, default 20).
daysNoOnly posts from the last N days (same as from).
fromNoOnly posts on or after this date (YYYY-MM-DD).
infoNoAdd one row per channel with title, bio, photo and exact subscribers (default true).
afterNoOnly posts with an id above this number.
mediaNoOnly posts with these media types, comma-separated: text, photo, video, document, poll, sticker, voice, location.
channelYesChannel usernames, @names or t.me links. Comma-separate several (max 5; max 3 with keyword).
excludeNoSkip posts containing any of these words, comma-separated.
keywordNoOnly posts containing these words.
profileNoOnly the channel row, no posts (default false).
afterIdsNoPer channel id above which to read, as name:id pairs comma-separated (durov:500,telegram:300). Wins over after.
commentsNoAdd the public comments under each post as extra rows (rowType comment; only channels with a discussion group; default false).
commentsPerNoComments per post, the newest, 1-200 (default 20).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover read-only, open-world, idempotent and non-destructive, so the description's 'Read-only: it only reads public data' is largely redundant. It does add value beyond the annotations with the cost model (pay-per-result via Apify token, or US$0.05 per call via x402 capped at 50 posts of 1 channel) and the caveat that subscriber-growth figures come from the service's own daily history and therefore grow over time.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

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

The content is front-loaded and the sample JSON return object is genuinely useful given there is no output schema. But it is delivered as one dense semicolon-chained paragraph covering fields, filtering, growth metrics, alternatives, pricing and an example, which makes it harder to scan than a structured layout would be.

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?

For a 14-parameter tool with no output schema, the description supplies a concrete sample result object, pricing/auth expectations, and a caveat on growth-data reliability. Minor gaps remain around paging/ordering behavior when max is hit and how comments rows interact with the result count, but nothing critical to correct invocation is missing.

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 defaults for info, profile, comments and commentsPer. The description only echoes the keyword/date filtering and the channel metadata fields without adding syntax or interaction details, so baseline 3 applies.

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 ('Posts of public Telegram channels from the t.me web preview') and enumerates the exact fields returned (text, date, views, reactions, media, forwards, replies, polls), plus channel metadata and subscriber growth. An agent can tell this apart from the named video-platform siblings 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?

Explicitly says 'Use for posts of a public Telegram channel' and routes to get_douyin_data or search_bilibili for Chinese video platforms. However, the named alternatives are only loosely related, and the closest likely-confusable siblings (get_facebook_page_posts, search_threads_posts) are not addressed, so there is no when-not-to-use guidance for the realistic ambiguity.

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.