Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

upgradeGift

Upgrade a regular Telegram gift into a unique gift by paying Telegram Stars from the business account balance. Requires the can_transfer_and_upgrade_gifts bot right and returns success on completion.

Instructions

Upgrades a given regular gift to a unique gift. Requires the can_transfer_and_upgrade_gifts business bot right. Returns True on success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
star_countNoAmount of Telegram Stars that will be paid for the upgrade from the business account balance. If the gift cannot be upgraded directly, the upgrade will be performed as a transfer to the current user with an optional payment for the transfer.
owned_gift_idYesUnique identifier of the regular gift that should be upgraded to a unique one.
keep_original_detailsNoPass True to keep the original gift text, sender, and receiver in the upgraded gift.
business_connection_idYesUnique identifier of the business connection on behalf of which the gift will be upgraded.

Schema Changelog

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

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description itself discloses the auth requirement and the True-on-success result. However, it does not mention important side effects such as the consumption of the regular gift, the payment from the business balance, or whether the upgrade is reversible.

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 short sentences, each earning its place: purpose, required permission, and return behavior. There is no filler or redundant repetition.

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

Completeness3/5

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

The description covers the core purpose, permission requirement, and success return, and the schema covers parameter details. However, with no annotations and no output schema, it leaves side effects and alternative-selection guidance unaddressed, making it minimally sufficient rather than fully 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?

The input schema already documents all four parameters with individual descriptions, so schema coverage is 100%. The description adds no extra parameter-level meaning beyond identifying the gift as regular, keeping it at the baseline score.

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 the exact transformation ('Upgrades a given regular gift to a unique gift') with a specific verb and resource. This clearly distinguishes it from sibling gift operations like transferGift or convertGiftToStars.

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

Usage Guidelines3/5

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

Provides a useful precondition: the can_transfer_and_upgrade_gifts business bot right. However, it does not explicitly name alternatives or say when not to use this tool, so usage context is mostly implied by the tool name and purpose.

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