Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

createChatInviteLink

Create an additional invite link for a chat, specifying name, expiration time, member limit, or join request approval. Requires bot admin with can_invite_users rights.

Instructions

Create an additional invite link for a chat. The bot must be an administrator with can_invite_users rights. The link can be revoked using the method revokeChatInviteLink. Returns the new invite link as ChatInviteLink object.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameNoInvite link name; 0-32 characters
chat_idYesUnique identifier for the target chat or username of the target channel (in the format @channelusername)
expire_dateNoPoint in time (Unix timestamp) when the link will expire
member_limitNoMaximum number of users that can be members of the chat simultaneously after joining the chat via this invite link; 1-99999
creates_join_requestNoTrue if users joining the chat via the link need to be approved by chat administrators. If True, member_limit can't be specified

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It covers the authorization requirement, the fact that the link is revocable, and the return type. It does not mention rate limits or specific failure modes, but the core behavioral profile is transparent.

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?

The description is three short sentences, each contributing a distinct fact: what the tool creates, required permissions, revocability, and return type. There is no filler or redundancy.

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 five-parameter mutation tool with no annotations and no output schema, the description covers the essential context: purpose, permission requirement, lifecycle, and return type. It leaves some sibling differentiation implicit, but the schema handles parameter constraints and the description is otherwise complete enough to invoke correctly.

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?

The input schema covers all five parameters with descriptions, giving 100% schema coverage, so the baseline is 3. The description does not add parameter-level meaning beyond what the schema already provides, but it also does not need to compensate for any schema gaps.

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 description states a specific action and resource: 'Create an additional invite link for a chat.' The word 'additional' helps distinguish this from exporting the primary invite link, but it does not explicitly differentiate it from sibling methods like createChatSubscriptionInviteLink or editChatInviteLink.

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 description gives clear usage context by specifying that the bot must be an administrator with can_invite_users rights, and it notes that the link can later be revoked via revokeChatInviteLink. However, it does not explicitly state when to prefer this tool over related invite-link alternatives, so it stops short of full alternative routing.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TONresistor/telegram-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server