Skip to main content
Glama
briejhxh

codex-telegram

by briejhxh

telegram_list_chats

Read-only

Lists recent Telegram chats, groups, channels, and Saved Messages. Optionally search by user or chat name to filter results.

Instructions

List recent Telegram chats, groups, channels, and Saved Messages. Use search when the user names a person or a chat.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoNumber of chats (default 30, max 100)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, so the read-only nature is covered. The description adds useful context about 'recent' chats and the inclusion of Saved Messages, but does not disclose sorting or pagination behavior, which is minor for this tool.

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 sentences with no filler. The action and scope are front-loaded, and the usage guidance follows immediately. Every sentence earns its place.

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 read-only list tool with one optional parameter, the description plus schema is sufficient for correct invocation. It clearly scopes the tool, distinguishes it from the search sibling, and the return shape is reasonably implied by 'List recent Telegram chats'.

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 coverage is 100%, with the single 'limit' parameter fully documented including default and maximum. The description does not need to repeat parameter details, so the baseline of 3 is appropriate.

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 states a specific verb ('List') and a clear resource scope: recent Telegram chats, groups, channels, and Saved Messages. It also distinguishes itself from telegram_search_chats by explicitly defining when to search instead, so an agent can tell it apart.

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

Usage Guidelines5/5

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

The description explicitly instructs to use search when the user names a person or a chat, naming the alternative tool and providing a clear routing condition. This gives concrete guidance for when list is not appropriate.

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