Skip to main content
Glama

Connect a Telegram group for chat

connect_telegram
Destructive

Chats the owner answers arrive in a Telegram group, one topic per conversation. This gives a one-time /link code and the steps for the person to follow in Telegram: a group with Keepp's bot in it, Topics on, the bot an admin, then the code sent in the group. Relay the steps as given. The code works once, for 24 hours, and a new one cancels the last. Call get_chat_settings afterwards to see whether the group is linked.

Input Schema

NameRequiredDescriptionDefault
businessYesThe page handle, as it appears in keepp.link/<handle>.

Output Schema

NameRequiredDescriptionDefault
stepsYesFor the person, in order.
botUrlYesOpens the bot's add-to-group picker in Telegram.
commandYesWhat the person sends in the group, like "/link ABCD2345".
providerYes
expiresAtYesWhen the code stops working. It also works only once.
botUsernameYes
alreadyLinkedToNoThe group linked now, which a new link replaces. Null when none is.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare non-read-only, destructive, non-idempotent behavior, and the description adds real substance beyond them: the code is one-time, expires in 24 hours, and a new code cancels the previous one (which explains the non-idempotent flag), plus prerequisites (bot present, Topics on, bot admin). It stops short of saying what the destructive action actually removes.

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?

Four sentences, all carrying information: outcome, deliverable, prerequisites, code semantics, and follow-up. The only soft spot is the pronoun-heavy opening ('This gives...'), which is slightly less front-loaded than it could be.

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?

An output schema exists so return values need not be described, and the description covers the call's purpose, required setup steps, code lifetime, and the follow-up verification call. It leaves failure modes (e.g., invalid handle) unaddressed, but nothing essential for correct invocation is missing.

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?

There is a single parameter and schema coverage is 100%, with the schema itself documenting the 'business' handle format (keepp.link/<handle>). The description adds no further parameter-level detail, so baseline 3 is appropriate.

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 title supplies the verb+resource (connect a Telegram group) and the description explains the resulting behavior: chat replies land in a Telegram group with one topic per conversation, and the call returns a one-time /link code. It is clearly distinguished from the sibling connectors (connect_google, connect_stripe, connect_zoom) as the Telegram-specific one, though the opening sentence describes the outcome before the action.

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?

It tells the agent what to do with the result ('Relay the steps as given') and names an explicit follow-up tool and its purpose ('Call get_chat_settings afterwards to see whether the group is linked'). There is no explicit when-not-to-use or comparison against the other connect_* tools, but the context is unambiguous.

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.

Resources