Skip to main content
Glama
LoneVertex

Telegram MCP — Next Generation

Get Chats Inside Specific Folder

get_folder
Read-onlyIdempotent

Retrieve all chats and channels inside a specific Telegram dialog folder by ID. Use it to navigate folder contents after listing available folders.

Instructions

Retrieve all chats and channels included within a specific dialog folder ID. Use when navigating folder contents. To list available folders, use list_folders.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoOptional account label for multi-account environments. If omitted in single-mode, the default account is used. In multi-mode without an account, read-only tools fan out across all configured accounts.
folder_idYesUnique numerical identifier of the Telegram dialog filter folder.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.1.1

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and openWorld, so the safety profile is fully covered without description help. The description adds only scope information ('all chats and channels'), saying nothing about pagination, ordering, or what an empty/missing folder returns.

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, no redundancy, with the core purpose front-loaded and the routing hint second. Every sentence earns its place.

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?

A read-only lookup with an output schema (so return values need not be described), full parameter coverage, and annotations covering safety. The remaining gap is only the absence of pagination/ordering notes, which is minor for this simple tool.

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%: folder_id and account are both documented in the schema (folder_id as the Telegram dialog filter identifier, account for multi-account behavior). The description adds no syntax or format detail beyond the schema, so baseline 3 applies.

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: retrieving the chats and channels contained in a given dialog folder ID. The title ('Get Chats Inside Specific Folder') usefully corrects the potentially misleading name 'get_folder', which could otherwise be read as fetching folder metadata itself.

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?

It gives a usage cue ('Use when navigating folder contents') and explicitly routes to the alternative for a related need ('To list available folders, use list_folders'). There is no when-not guidance (e.g., single-chat lookup vs get_chat), but the key sibling boundary is drawn.

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