Skip to main content
Glama
LoneVertex

Telegram MCP — Next Generation

Inspect Bot Details and Capabilities

get_bot_info
Read-onlyIdempotent

Inspect a Telegram bot's profile, commands, description, and capabilities by username. Use it to discover available bot commands before configuring or interacting.

Instructions

Inspect bot profile, command list, description, and capabilities for a specified bot. Use when discovering bot commands. To update bot commands, use set_bot_commands.

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.
bot_usernameYesUsername of the bot (e.g. '@BotFather') to inspect or configure.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv4.1.1

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered. The description adds nothing about rate limits, freshness of the command list, or output shape. With an output schema present and annotations complete, only modest added value here.

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 short sentences, front-loaded with the primary action, then the trigger and the alternative. No filler; every clause earns its place.

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 two-parameter read tool with full schema coverage, complete annotations, and an output schema, the description covers purpose, trigger, and the nearest sibling. Minor gap: it does not mention that the command list reflects what the bot advertises (not necessarily what the caller can invoke), but that is a small omission.

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 both parameters (account, bot_username) are already documented in the schema with examples and multi-account semantics. The description adds no parameter-level syntax or format detail beyond the schema. Baseline 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?

States a specific verb (Inspect) and enumerates the resources returned (profile, command list, description, capabilities) scoped to 'a specified bot'. Clearly distinguishable from lookalikes like get_me/get_user_status, which target users rather than bots.

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?

Explicitly names the trigger ('Use when discovering bot commands') and names the side-effecting alternative with the opposite intent ('To update bot commands, use set_bot_commands'). Clear when-to-use and when-not-to-use guidance.

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