Skip to main content
Glama
jgalea

telegram-mcp

by jgalea

read_messages

Retrieve recent messages from a Telegram chat, scoping to a specific forum topic or filtering by user, date, and number of results.

Instructions

Get recent messages from a chat. For forum supergroups, pass topic_id to scope to a single topic (use 1 for the General topic).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
chat_idYes
topic_idNoForum topic root message ID. Use 1 for General.
from_userNo
offset_dateNoISO date to read before
Behavior2/5

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

Annotations are absent, so the description carries the full behavioral burden. It discloses 'recent' and topic scoping but says nothing about ordering, defaults, pagination, side effects, or response shape. It does not contradict anything, but it is thin.

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?

Two short sentences, each earning its place: purpose first, topic-specific usage second. No filler, repetition, or unnecessary detail.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 5-parameter read tool with no annotations and no output schema, the description leaves key operational details implicit, such as limit semantics, from_user filtering, offset_date ordering, and default behavior. It supports the simplest call but not reliable advanced use.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 40%, with limit and from_user left undocumented and offset_date only minimally described. The description adds forum topic context that the schema already provides, and it does not explain the meaning of the remaining parameters.

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?

States a specific verb and resource ('Get recent messages from a chat'), so the core function is unambiguous. It does not differentiate from siblings like get_new_messages or message_timeline, but the basic purpose is clear.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

No guidance on when to select this tool over the many reading-related siblings such as get_new_messages, message_timeline, or search_messages. The only usage context is the forum topic_id caveat, which is parameter-level rather than tool-selection guidance.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/jgalea/telegram-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server