Skip to main content
Glama
alexeyleshchenko

Telegram MCP Server

Get chat info

get_chat_info
Read-onlyIdempotent

Retrieve profile and metadata for any Telegram chat, user, bot, group, or channel, including forum topics when applicable.

Instructions

Load profile and metadata for one user, bot, group, or channel. Success: info dict; forum chats may include topics up to topics_limit. Full documentation: https://github.com/leshchenko1979/fast-mcp-telegram/blob/main/docs/Tools-Reference.md

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chat_idYesTarget chat: numeric id (e.g. -100…), username without @, or 'me' for Saved Messages.
topics_limitNoMax forum topics to list when the chat is a forum.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
idNo
okNo
codeNo
errorNo
phoneNo
titleNo
actionNo
is_botNo
paramsNo
topicsNo
is_userNo
is_forumNo
is_groupNo
usernameNo
exceptionNo
last_nameNo
operationNo
error_codeNo
first_nameNo
is_channelNo
topics_has_moreNo
participants_countNo
Behavior3/5

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

Annotations already declare read-only, idempotent, and open-world behavior. The description adds that the result is an info dict and that forum chats may include topics up to the specified limit, providing some additional behavioral context. However, it does not disclose error handling, permissions, or rate limits.

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 three sentences: the first states the core purpose, the second summarizes success output and special forum behavior, and the third provides a documentation link. It is front-loaded, efficient, and free of redundant content.

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 simple two-parameter tool with high schema coverage, full annotations, and an existing output schema, the description is sufficiently complete. It covers the purpose, return type, and special forum behavior without needing to explain return values in detail. The documentation link also supplements any missing specifics.

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%, giving a baseline of 3. The description adds meaning by specifying that the target can be a user, bot, group, or channel, which clarifies the chat_id parameter domain. It also reinforces the topics_limit behavior for forums, going slightly beyond the schema descriptions.

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?

The description uses a specific verb ('Load') and identifies the resource ('profile and metadata for one user, bot, group, or channel'), making the tool's function explicit. It clearly distinguishes from siblings like get_messages and find_chats by specifying it targets a single chat entity.

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

Usage Guidelines3/5

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

The description implies when to use the tool (when you need profile/metadata for a specific chat) but does not explicitly mention alternatives or when not to use it. No exclusions or references to sibling tools are provided, so guidance is only implied.

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/alexeyleshchenko/fast-mcp-telegram'

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