Skip to main content
Glama
telegram-user-mcp

telegram-user-mcp

by tarikra1

get_folder_chats

List all chats, channels, and groups inside a custom Telegram folder by folder title or ID to locate and access its contents.

Instructions

List all chats/channels/groups inside a custom Telegram folder (by folder title like 'Work' or folder ID).

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": {
      "folder": "<folder>"
    },
    "name": "get_folder_chats"
  }
}

Input Schema

NameRequiredDescriptionDefault
folderYes

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

A3.6/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the burden, and "List" does correctly signal a non-mutating read. It adds the useful hint that the folder argument can be a title or an ID, but says nothing about exact-match vs partial title resolution, ambiguity handling, failure behavior for a missing folder, or result size.

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?

One sentence, front-loaded with the verb and scope, with the parenthetical adding the only ambiguity-resolving detail. Nothing is redundant.

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

Completeness3/5

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

An output schema exists, so return-shape explanation is not needed, and the single parameter is adequately explained. Missing for a folder-scoped lister is how folder identifiers are discovered or disambiguated and whether the result is filtered or paginated, which leaves a real gap for an agent that hasn't used list_folders.

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 0% and the schema only labels the field "Folder", so the description does real work: it says the value is a folder title (e.g., 'Work') or a folder ID. That is exactly the clarification an agent needs to fill the single required parameter.

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 ("List") and a precise resource ("chats/channels/groups inside a custom Telegram folder"), which distinguishes it from the broader list_chats and from list_folders. It doesn't explicitly name a sibling to contrast with, so it stops short of a 5.

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?

Usage is implied by "inside a custom Telegram folder" – use it when the target set is a folder rather than all chats. However, it never says to call list_folders first to discover valid folder names, nor what to do when the folder is unknown or the name matches multiple folders.

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