Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

convertGiftToStars

Convert a regular Telegram gift into Stars using a business connection and the owned gift ID. Requires the can_convert_gifts_to_stars bot right and returns success when the conversion is completed.

Instructions

Converts a given regular gift to Telegram Stars. Requires the can_convert_gifts_to_stars business bot right. Returns True on success.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
owned_gift_idYesUnique identifier of the regular gift that should be converted to Telegram Stars.
business_connection_idYesUnique identifier of the business connection on behalf of which the gift will be converted.

Schema Changelog

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

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior3/5

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

No annotations are provided, so the description must carry the behavioral disclosure burden. It states the permission requirement, the conversion action, and the return value ('Returns True on success'). However, it does not describe failure behavior, side effects, or the condition of the original gift after conversion, which would be useful for a mutation-like operation.

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 two concise sentences. The key action and permission are front-loaded, and the return value is stated clearly with no filler or repetition of 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?

For a two-parameter tool with a fully described schema, the description provides the essential context: the action, the permission prerequisite, and the success return. It does not specify error conditions or whether the gift is consumed, but given schema completeness and no nested objects, the description is sufficiently complete for correct invocation in most cases.

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 covers 100% of parameters with descriptions, so the baseline is 3. The description does not add parameter-level meaning beyond the schema, but it confirms the overall operation and the required permission, which indirectly clarifies why both parameters are needed.

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 clearly states a specific verb ('Converts') and resource ('regular gift to Telegram Stars'), and mentions a required permission ('can_convert_gifts_to_stars business bot right'). This distinguishes it from sibling gift tools like upgradeGift, transferGift, and getBusinessAccountGifts.

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 names a required permission, which indirectly tells an agent the tool can only be used when that right is present. It does not explicitly mention alternatives or when not to use it, but the permission requirement and the verb 'convert' give clear context compared to siblings.

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