Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

createChatSubscriptionInviteLink

Create a paid Telegram channel invite link that grants membership after users pay Telegram Stars, with a recurring 30-day subscription period.

Instructions

Create a subscription invite link for a channel chat. The bot must have can_invite_users administrator rights. The link can be edited using editChatSubscriptionInviteLink or revoked using 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 channel chat or username of the target channel (in the format @channelusername)
subscription_priceYesThe number of Telegram Stars a user must pay initially and after each subsequent subscription period to be a member of the chat; 1-10000
subscription_periodYesThe number of seconds the subscription will be active for before the next payment. Currently, it must always be 2592000 (30 days).

Schema Changelog

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

  1. First observedv1.0.0

TDQS

A4.2/5.0
Behavior4/5

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

With no annotations provided, the description carries the full transparency burden. It discloses the authorization prerequisite, the return type (ChatInviteLink object), and the fact that the link can later be edited or revoked. This is meaningful behavioral context beyond the schema, though it does not mention potential side effects or failure conditions.

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 compact: three sentences, each earning its place. It front-loads the primary action, then adds the precondition, lifecycle alternatives, and return type without repeating schema details.

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?

Given there is no output schema, the description appropriately states the return type. It also covers the key precondition and post-creation actions. The schema handles parameter semantics, so nothing critical is missing for an agent to invoke this tool correctly, though a brief contrast with regular invite links would have been slightly more complete.

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 the schema already documents all four parameters clearly. The description adds no extra parameter-level meaning, which matches the baseline of 3 when the schema does the heavy lifting.

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?

The description opens with a specific verb and resource: 'Create a subscription invite link for a channel chat.' This clearly distinguishes it from the sibling createChatInviteLink and other invite-link tools by naming the subscription nature and target chat type.

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 context by stating the required administrator right (can_invite_users) and names the lifecycle alternatives editChatSubscriptionInviteLink and revokeChatInviteLink. It does not explicitly say 'use this instead of createChatInviteLink for regular invite links,' so it stops short of a full when-to-use/when-not-to-use specification.

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