Skip to main content
Glama
telegram-mcp

telegram-mcp

by adsqwui

tg_chat_info

Read-only

Fetches details for a Telegram chat, group, channel, user, or bot—such as description, members, your rights, invite link, and bot commands—to inspect chat context.

Instructions

Details of a chat, group, channel, user or bot: description, members, your rights, invite link, bot commands.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "chat": "<chat>"
    },
    "name": "tg_chat_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already establish readOnlyHint=true, openWorldHint=true and destructiveHint=false, so safety is covered. The description adds the return surface (members, your rights, invite link, bot commands) but says nothing about prerequisites such as the bot needing to be a member of the chat, or what happens for inaccessible/private entities.

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?

One front-loaded sentence listing the entity types and the returned fields, with no filler or repetition.

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?

For a one-parameter read-only tool with no output schema, the description covers the essential return surface so the agent can judge whether the call is worth making. The remaining gap is access prerequisites rather than result content.

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 0% for the single 'chat' parameter, so the description carries the burden. It does help by listing the accepted entity types (chat, group, channel, user, bot), but it gives no format guidance such as numeric ID versus @username versus invite link.

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 resource and enumerates what is returned (description, members, rights, invite link, bot commands), so the agent knows exactly what it gets. It does not explicitly differentiate itself from siblings such as tg_list_chats, which remains an inference.

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: call it when you need details about a specific chat you already identified. There is no explicit when-to-use vs. when-not, nor any pointer to tg_list_chats for discovery or tg_get_media for content.

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