Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

sendPaidMedia

Charge Telegram Stars to deliver photos or videos to users or channels. Send paid media with configurable pricing, captions, and reply options in one request.

Instructions

Send paid media. On success, the sent Message is returned. Maximum price is 25000 Telegram Stars.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mediaYesA JSON-serialized array describing the media to be sent; up to 10 items.
captionNoMedia caption, 0-1024 characters after entities parsing.
chat_idYesUnique identifier for the target chat or username of the target channel (in the format @channelusername). If the chat is a channel, all Telegram Star proceeds from this media will be credited to the chat's balance. Otherwise, they will be credited to the bot's balance.
payloadNoBot-defined paid media payload, 0-128 bytes. This will not be displayed to the user, use it for your internal processes.
parse_modeNoMode for parsing entities in the media caption. See formatting options for more details.
star_countYesThe number of Telegram Stars that must be paid to buy access to the media; 1-25000.
reply_markupNoAdditional interface options. A JSON-serialized object for an inline keyboard, custom reply keyboard, instructions to remove a reply keyboard or to force a reply from the user.
protect_contentNoProtects the contents of the sent message from forwarding and saving.
caption_entitiesNoA JSON-serialized list of special entities that appear in the caption, which can be specified instead of parse_mode.
reply_parametersNoDescription of the message to reply to.
message_thread_idNoUnique identifier for the target message thread (topic) of the forum; for forum supergroups only.
allow_paid_broadcastNoPass True to allow up to 1000 messages per second, ignoring broadcasting limits for a fee of 0.1 Telegram Stars per message.
disable_notificationNoSends the message silently. Users will receive a notification with no sound.
business_connection_idNoUnique identifier of the business connection on behalf of which the message will be sent.
direct_messages_topic_idNoUnique identifier for the target direct messages topic; for bots only.
show_caption_above_mediaNoPass True, if the caption must be shown above the message media.
suggested_post_parametersNoInformation about suggested post parameters; for channel chats only.

Schema Changelog

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

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden and does disclose two real behavioral facts: the success return value (sent Message) and the maximum price. However, it omits the defining mechanics of the operation — that users must pay Telegram Stars to unlock the media, that proceeds credit to the bot or channel balance, and what happens on payment failure. More than a tautology, but thin for a financial mutation with zero annotation coverage.

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?

Sixteen words across two sentences with the purpose front-loaded in the first three. Every clause earns its place: the verb+resource, the success return behavior, and the pricing cap. No filler, no boilerplate, no repetition of schema content.

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 schema is richly self-documenting (credit routing in chat_id, broadcast fee in allow_paid_broadcast, payload semantics), and the description supplies the return type absent from an output schema. But with no annotations and no output schema, the description still leaves the paid-media value proposition, prerequisites, and the sendInvoice/sendMediaGroup boundary unexplained — high complexity for a financial tool demands more.

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 baseline is 3 even with no parameter elaboration in the description. The only parameter-adjacent content ('Maximum price is 25000 Telegram Stars') merely restates the schema's star_count range (1-25000) without adding new meaning. The description adds no clarification beyond what the schema already provides for any of the 17 parameters.

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 and resource ('Send paid media') with the 'paid' qualifier distinguishing it from non-paid media siblings like sendPhoto, sendVideo, and sendMediaGroup. The return-on-success clause and 25000-Star cap add useful specificity. It falls short of a 5 because it never contrasts with sendInvoice, the closest financial sibling, and the Telegram-specific meaning of 'paid media' (Stars paywall) is left assumed.

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. With over 100 siblings including sendMediaGroup (unpaid bulk media) and sendInvoice (monetized content via a different mechanism), an agent gets zero routing help and no selection condition. A sentence such as 'For non-paid media use sendMediaGroup' would have resolved the ambiguity.

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