Skip to main content
Glama
LoneVertex

Telegram MCP — Next Generation

Get Chat Details and Metadata

get_chat
Read-onlyIdempotent

Retrieve core metadata: title, member count, and type for any Telegram chat by ID, @username, or phone. Find and inspect a specific chat before taking further actions.

Instructions

Retrieve core metadata, title, member count, and type for a specific chat or channel. Use when inspecting a known chat ID or @username.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
accountNoOptional account label for multi-account environments. If omitted in single-mode, the default account is used. In multi-mode without an account, read-only tools fan out across all configured accounts.
chat_idYesTarget Telegram chat, group, supergroup, channel, or user identifier. Accepts numeric chat ID (e.g. -1001234567890 or 123456789), username (e.g. '@channel'), or phone number.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.1.1

TDQS

A4.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, and destructiveHint=false, so the read-only nature is covered. The description adds no side-effect, auth, rate-limit, or error behavior beyond restating that metadata is retrieved; the listed return fields are redundant with the existing output schema.

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, zero filler; the primary purpose is front-loaded, and the usage condition is appended in the same breath.

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 simple read-only lookup with two params, a full schema, an output schema, and safety annotations, the description plus structured data is complete. An agent knows exactly when to call it and what it returns.

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%, so the baseline applies. The description's mention of 'chat ID or @username' merely echoes (and slightly under-specifies) the chat_id property description, and it adds nothing about the account parameter.

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 ('Retrieve') and resource ('core metadata, title, member count, and type for a specific chat or channel'). It distinguishes the tool from list-oriented siblings by limiting to a specific known chat, and the usage clause ('known chat ID or @username') disambiguates further.

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

Usage Guidelines4/5

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

Provides clear context ('Use when inspecting a known chat ID or @username'), which indicates the intended condition for use. It does not name alternatives (e.g., list_chats for discovery, resolve_username for resolution) or offer explicit when-not-to-use guidance, so it falls short of a 5.

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