Skip to main content
Glama

Groundsocial

Comments on a Telegram post

telegram_post_comments
Read-onlyIdempotent

Comments on a Telegram channel post, 50 a page, from its discussion group.

The comments under a channel post (from its linked discussion group), 50 a page: the newest 50 first, oldest-first within the page, and pagination.next_cursor as after for the 50 before them. Each comment has its author (name, username, photo), text, date and the comment it replies to. A post whose channel has no discussion group answers an empty list. since/until filter the page by date.

Cost: 1 credit per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.

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": {
      "url": "<url>"
    },
    "name": "telegram_post_comments"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesA public post link, https://t.me/<channel>/<id> (or <channel>/<id>).
afterNoCursor: the previous page’s `pagination.next_cursor`.
sinceNoOnly comments on or after this date.
untilNoOnly comments on or before this date.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Adds substantial behavior beyond the annotations: pages of 50, newest-50-first with oldest-first ordering inside the page, cursor direction (returns the 50 before the current page), empty-list behavior for channels without a discussion group, and a per-call credit cost that is refunded on failure. It also names the returned cost_credits and credits_remaining fields, which is exactly the kind of context annotations cannot express.

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-loads the resource and page size, then layers pagination, return fields, edge cases and cost in a logical order. The opening sentence and the following paragraph restate the same 'comments from the linked discussion group, 50 a page' fact, which is a small redundancy but not harmful.

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?

With no output schema, the description carries the return-value burden and does so: it enumerates author fields, text, date, reply target, and cost metadata. Combined with pagination, edge-case and cost disclosure, an agent has everything needed to call this correctly.

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%, so the baseline is 3, but the description goes further by explaining what `after` actually navigates to (the previous page's next_cursor, yielding the 50 before) and that since/until filter within the page rather than across the whole comment history. That distinction is genuinely useful and not present in the schema text.

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: 'Comments on a Telegram channel post ... from its discussion group,' and immediately identifies that the source is the linked discussion group rather than the channel itself. This clearly separates it from telegram_post_get or telegram_channel_posts without needing 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 usage context: paginate with pagination.next_cursor via `after`, narrow a page with since/until, and expect an empty list when the channel has no discussion group. It does not explicitly name a sibling or state when another tool would be preferred, so it stops just short of a 5.

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.