Skip to main content
Glama
ttm-telegram

ttm-telegram

by toantranmei

List Groups

list_groups

List permitted Telegram groups to see which groups your account can read, based on the configured allowed group IDs.

Instructions

Danh sách nhóm Telegram được phép đọc (theo ALLOWED_GROUP_IDS).

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_groups"
  }
}

Input Schema

NameRequiredDescriptionDefault

No arguments

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

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 full burden. It does disclose the important behavioral fact that results are filtered by an ALLOWED_GROUP_IDS configuration rather than returning every group, but it says nothing about ordering, whether the list can be empty, or that the call is a safe read with no side effects.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

A single front-loaded sentence with no filler; the scope constraint is placed immediately after the verb+resource. It is arguably too terse, but nothing in it is wasted.

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?

With an output schema present and zero input parameters, the description need not explain return values or arguments. It covers the one non-obvious element, the ALLOWED_GROUP_IDS restriction; only minor behavioral notes such as read-only safety and empty-result handling are missing.

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?

The tool takes zero parameters, so the schema has nothing to explain and the baseline applies. The parenthetical adds the one piece of meaning that matters, namely where the filtering criteria come from, which is not expressible in an empty schema.

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 resource (Telegram groups) with an explicit scope qualifier: only groups permitted for reading, per ALLOWED_GROUP_IDS. This distinguishes it from the message-oriented siblings, though it never names them directly.

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 only implied: an agent can infer this is the discovery step before calling get_messages or search_messages, but the description never says when to prefer it or what to do with the result. For a zero-parameter list tool that is a modest gap rather than a blocker.

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

Deploy Server

Other Tools