Skip to main content
Glama
thenavidm

telegram-mcp-cli

by thenavidm

List chats

list_chats
Read-onlyIdempotent

Retrieve recent Telegram chats newest first with IDs, names, kinds, unread counts, and last-message previews; filter by kind or unread status and limit or trim fields to reduce output.

Instructions

Recent conversations, newest first. Returns a compact row per chat: id, name, kind, unread count and a short preview of the last message. Use fields to cut it down further.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
kindNoOnly this kind of chat.
limitNoHow many chats. Default 20, max 200.
fieldsNoComma separated fields to keep, e.g. 'id,text'. Dotted paths descend. Cuts response size.
unread_onlyNoOnly chats with unread messages.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.5.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • removedInput schema / additionalProperties
      Removed value: -false
  2. First observedv0.4.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, open-world behavior, so the bar is lower. The description adds value beyond them by disclosing the return format (compact row per chat with id, name, kind, unread count, preview) and the newest-first ordering.

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?

Two tight sentences with the ordering and return shape front-loaded. Every sentence carries information, though the closing fields tip is somewhat redundant with the schema.

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 no output schema, the description usefully compensates by describing the returned row contents and ordering. It is largely complete for a read-only list tool, with only the sibling-routing context left unstated.

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%, so all four parameters are already documented in the schema. The description only reinforces the fields parameter ('Use fields to cut it down further') without adding syntax or format detail beyond what the schema provides, 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?

States a specific verb and resource ('Recent conversations') and adds ordering ('newest first') plus the returned row shape. It is clear what the tool does, but it never explicitly distinguishes itself from siblings like search, history, or get_chat.

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 phrase 'Recent conversations' implies the browsing use case, but there is no explicit when-to-use guidance, no exclusions, and no named alternatives such as search or get_chat for targeted lookups. Usage is left to inference.

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