Skip to main content
Glama
KolyaMetallist

telegram-search-mcp

get_messages

Retrieve recent messages from a Telegram chat, channel, or group using its username, ID, or title. Set a limit up to 100 to get message details such as sender, date, and text.

Instructions

Get recent messages from a Telegram chat/channel/group.

Args: entity: Chat username (e.g. @some_channel), chat ID, or title. limit: Number of messages to retrieve (default 20, max 100).

Returns: List of recent messages with id, date, sender, text, has_document.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
entityYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Install Server

TDQS

A3.5/5.0
Behavior3/5

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

No annotations are provided, so the description carries the burden. It discloses the return shape, accepted entity formats, and limit bounds, which is useful. It does not mention ordering, authorization needs, or error behavior, but for a read-only retrieval tool the gaps are moderate.

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?

The description is compact and well-structured: purpose, then Args, then Returns. Every sentence provides useful information with no repetition or filler.

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 simple two-parameter read operation with an output schema, the description covers inputs, defaults, max, and return fields. It omits ordering and failure handling, but those are not critical for selecting and invoking the tool 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 description coverage is 0%, and the description compensates meaningfully: entity accepts a username, chat ID, or title; limit has a default of 20 and a max of 100. This adds significant meaning beyond the raw schema types.

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?

The description states a specific verb and resource: 'Get recent messages from a Telegram chat/channel/group.' It clearly indicates the tool retrieves rather than searches, but it does not explicitly distinguish itself from sibling tools.

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?

There is no explicit guidance about when to use this tool versus search_messages, search_dialogs, or get_message_document. The description implies it is for fetching recent messages from a known entity, but it provides no exclusions or alternative conditions.

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

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/KolyaMetallist/telegram-search-mcp'

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