Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

giftPremiumSubscription

Purchase and deliver a Telegram Premium subscription to a target user using Telegram Stars. Specify user ID, duration (3/6/12 months), and star amount to complete the gift.

Instructions

Gifts a Telegram Premium subscription to the given user. Returns True on success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textNoText that will be shown along with the service message about the subscription; 0-128 characters.
user_idYesUnique identifier of the target user that will receive the gift.
star_countYesNumber of Telegram Stars to pay for the subscription; must be 1000 for 3 months, 1500 for 6 months, or 2500 for 12 months.
month_countYesNumber of months the Telegram Premium subscription will be active; must be 3, 6, or 12.
text_entitiesNoList of special entities that appear in the gift text. Can be specified instead of text_parse_mode.
text_parse_modeNoMode for parsing entities in the text.

Schema Changelog

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

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

Annotations are absent, so the description carries the full behavioral burden. It discloses the return value (True on success) but omits the most consequential trait: this is a paid operation that spends Telegram Stars. It also doesn't mention side effects such as the service message delivered to the recipient or failure conditions like insufficient balance or an ineligible recipient.

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 sentences totaling roughly 18 words; the action is stated first and the return behavior second. There is zero filler and every clause earns its place.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a financial mutation with no annotations and no output schema, the description is too thin. The return value is covered and the schema covers parameters, but an agent is left without the cost implication, any differentiation from sendGift, or operating conditions needed to invoke it confidently.

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 six parameters, including cross-field constraints (star_count of 1000/1500/2500 mapping to 3/6/12 months) and the text_entities vs. text_parse_mode alternative. The description itself adds no parameter-level detail, so it stays at the baseline 3 for high schema coverage.

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 verb ('Gifts') against a specific resource ('Telegram Premium subscription') with a clear target ('the given user'), and it discloses the return value. The resource specificity implicitly separates it from regular gift tools like sendGift, but no sibling is explicitly named, so differentiation is left to inference.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

No guidance is provided on when to use this tool versus alternatives. The sibling list contains several gift-related tools (sendGift, upgradeGift, transferGift, convertGiftToStars) with no selection criteria, exclusions, or prerequisites given. An agent must guess which gift operation fits its task.

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