Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

sendMediaGroup

Send multiple photos, videos, documents, or audio files as a single album to a Telegram chat. Returns the sent messages.

Instructions

Send a group of photos, videos, documents or audios as an album. Documents and audio files can be only grouped in an album with messages of the same type. On success, an array of Messages that were sent is returned.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
mediaYesA JSON-serialized array describing messages to be sent, must include 2-10 items. Each item is an InputMediaAudio, InputMediaDocument, InputMediaPhoto and InputMediaVideo.
chat_idYesUnique identifier for the target chat or username of the target channel (in the format @channelusername).
protect_contentNoProtects the contents of the sent messages from forwarding and saving.
reply_parametersNoDescription of the message to reply to.
message_effect_idNoUnique identifier of the message effect to be added to the message; for private chats only.
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 messages 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.

Schema Changelog

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

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior3/5

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

With no annotations provided, the description carries the behavioral disclosure burden. It discloses the album grouping constraint (documents/audio must be grouped with same type) and notes the return value is an array of Messages. However, it omits other behavioral details such as permission requirements, error behavior, or rate-limit implications.

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 sentences with no wasted words. The core action is front-loaded, and the second sentence adds essential grouping constraints and return information that directly informs invocation.

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 tool with a fully documented 10-parameter schema and a clear description, the definition is reasonably complete. It covers the key grouping rule and the return type, which compensates for the lack of an output schema. Minor gaps remain around usage context and error cases, but the core invocation needs are met.

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 fully documents all parameters. The description does not add parameter-level meaning beyond what the schema already provides, so the baseline score of 3 is appropriate.

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 the tool sends a group of photos, videos, documents, or audios as an album, which is a specific verb-resource action. It distinguishes this from sibling single-media send tools (sendPhoto, sendVideo, etc.) by emphasizing the album/group aspect.

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?

The description implies usage for sending an album rather than a single media message, but it does not explicitly state when to prefer this tool over alternatives or when not to use it. No exclusions or explicit alternatives are given.

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