Skip to main content
Glama
telegram-api-mcp

telegram-api-mcp

by EngDawood

send_audio

Send an audio file to a Telegram chat so it appears in the music player; specify chat ID and audio by file ID, URL, or absolute path.

Instructions

Send an audio file. Telegram clients display it in the music player.

Input Schema

NameRequiredDescriptionDefault
audioYesFile ID, HTTP URL, or absolute file path
titleNo
captionNoCaption (0-1024 visible chars; HTML tags/URLs excluded)
chat_idYesChat ID or @username
durationNo
performerNo
thumbnailNoFile ID, HTTP URL, or absolute file path
parse_modeNoFormatting mode
reply_markupNoInlineKeyboardMarkup, ReplyKeyboardMarkup, ReplyKeyboardRemove, or ForceReply
protect_contentNo
caption_entitiesNoArray of MessageEntity objects
receiver_user_idNoUser ID
reply_parametersNoReplyParameters object
callback_query_idNo
message_effect_idNo
message_thread_idNo
allow_paid_broadcastNo
disable_notificationNo
business_connection_idNo
direct_messages_topic_idNo
suggested_post_parametersNoSuggestedPostParameters object (price, send_date) — direct messages chats only

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.0

TDQS

C2.7/5.0
Behavior2/5

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

Annotations already establish write behavior (readOnlyHint=false), non-idempotency, and open-world reach, so the description only adds the display detail about the music player. It says nothing about upload semantics for URLs vs. file paths, size or duration constraints, how protect_content or allow_paid_broadcast alter delivery, or what a failed send returns.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short sentences, front-loaded with the action and followed by the one behavioral fact worth knowing. Nothing is wasted, though the brevity comes at the cost of the parameter detail a 21-parameter tool needs.

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 21-parameter mutation tool with no output schema and under half of parameters documented, the definition is far too thin. An agent can guess the basic call but cannot know which optional fields matter for correct delivery or what happens on partial failure.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 48% and the description explains none of the 21 parameters. Roughly half of them (callback_query_id, message_effect_id, business_connection_id, direct_messages_topic_id, suggested_post_parameters, reply_markup, thumbnail) have no schema description and get no clarification here, so the description does not compensate for the coverage gap.

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?

States a specific verb and resource ('Send an audio file') and adds that Telegram renders it in the music player, which distinguishes it from send_voice or send_document. It never names those siblings explicitly, so differentiation is implied rather than stated.

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 on when to use this instead of send_voice, send_document, or send_media_group, and no prerequisites such as file-size limits, chat permissions, or bot-admin requirements. The agent must infer the choice from the tool name alone.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools