Skip to main content
Glama
telegram-user-mcp

telegram-user-mcp

by tarikra1

list_chats

Retrieve recent Telegram dialogs and chats, with filters for chat type, archived status, unread-only, and result limit. Use it to discover conversations before reading or sending messages.

Instructions

List recent Telegram dialogs/chats. chat_type: 'all', 'user', 'bot', 'group', or 'channel'.

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_chats"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNo
archivedNo
chat_typeNoall
unread_onlyNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it does little: 'recent' is undefined (no ordering, no recency window), and nothing is said about auth requirements, whether the call is read-only, or how archived/unread filtering behaves. An output schema exists so return fields need not be described, but the operational contract is left implicit.

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 short, front-loaded lines with no filler; the core action comes first and the parameter hint second. It is efficient, though the brevity contributes to the gaps noted in other dimensions rather than being a stylistic flaw.

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

Completeness2/5

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

For a four-parameter, zero-annotation tool this is thin: only chat_type is explained, while defaults (limit=30, archived=false, unread_only=false) and 'recent' ordering are never clarified. The presence of an output schema excuses it from documenting return values, but not from documenting how the filters shape those results.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% and the schema declares chat_type as a bare string with no enum, so the description earns real credit for enumerating 'all', 'user', 'bot', 'group', 'channel'. However three of four parameters (limit, archived, unread_only) get no explanation at all, so the description only partially compensates for the coverage gap.

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 ('List recent Telegram dialogs/chats'), so an agent knows exactly what gets returned. It does not distinguish itself from near-siblings like search_chats or get_folder_chats, which is the only thing keeping it from 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 Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no mention of an alternative such as search_chats for filtered lookups. The second sentence is parameter enumeration, not usage guidance, leaving the agent to guess when this is preferable to the sibling list tools.

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