Skip to main content
Glama

channels_connect_telegram_bot

🤖 Connect a Telegram Bot (Bot API) channel from its bot token.

When to use:

  • After a bot was created via @BotFather and you have its token.

  • The token alone is sufficient — no Telegram user account is needed.

Validates the token, creates the channel account, and registers the webhook so the bot starts receiving messages immediately.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
bot_tokenYesTelegram bot token from @BotFather (e.g. '123456789:ABCdef...').
in_workspaceNoRun this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / in_workspace
      Added value: +{
      +  "description": "Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected.",
      +  "type": "integer"
      +}
  2. Added
  3. Removed
  4. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, openWorldHint=true, idempotentHint=false, destructiveHint=false. The description goes beyond them by disclosing the concrete effects: token validation, channel account creation, and immediate webhook registration so messages start flowing. It omits failure handling for an invalid token and whether a retry produces a duplicate channel, which is the main remaining gap.

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?

Front-loaded with the action in the first line, followed by a tight two-bullet usage block and one sentence on effects. Efficient and scannable, though the 'When to use:' heading is slightly ceremonial for two bullets.

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?

Covered well enough for a two-parameter connection tool: it explains prerequisites, the credential needed, and the side effects (account creation, webhook registration). With no output schema, the description could still say what is returned (e.g. channel id) or what an invalid token yields, but all call-critical information is present.

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%, with bot_token already documented including an example format, so the baseline is 3. The description's note that 'the token alone is sufficient — no Telegram user account is needed' adds contextual assurance about the required parameter, but nothing about the optional in_workspace parameter or token format beyond the schema.

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, resource, and protocol variant: 'Connect a Telegram Bot (Bot API) channel from its bot token.' This distinguishes it from the generic sibling channels_connect and from other channel tools without needing to open either schema.

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?

The 'When to use' section gives explicit preconditions (bot created via @BotFather, token in hand, no Telegram user account required). It does not, however, name the alternative tool (e.g. channels_connect) or state when this tool should NOT be chosen, so it is clear context without explicit routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.