Skip to main content
Glama
FantomaSkaRus1

telegram-bot-mcp

send_document

Send a document to a Telegram chat using a URL, file_id, or local file path. Optionally specify chat ID or send to the default log group.

Instructions

Send a file/document to a Telegram chat. Can send from URL, file_id or local file path. If chat_id is omitted, sends to the default log group.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
captionNoDocument caption (up to 1024 chars)
chat_idNoChat ID or @channel_username. Optional — defaults to log group
documentYesDocument URL, file_id or absolute local file path
parse_modeNoCaption formatting mode
reply_markupNoJSON string with reply markup
protect_contentNoProtect message from forwarding/saving
caption_entitiesNoJSON array of MessageEntity objects (alternative to parse_mode)
reply_parametersNoJSON object with ReplyParameters (e.g. {"message_id": 123})
message_thread_idNoTopic/thread ID for supergroups with topics enabled
disable_notificationNoSend silently without notification
disable_content_type_detectionNoDisable automatic content type detection for uploaded files
Behavior3/5

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

With no annotations, the description carries full behavioral transparency burden. It discloses sending sources and chat_id defaulting, but does not specify error handling, size limits, permissions, or side effects. The description is adequate but not comprehensive.

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 sentences, no redundant information. The first sentence states the purpose, the second adds key details. Very concise and well-structured.

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?

Given the tool has 11 parameters, no output schema, and no annotations, the description covers the essentials but lacks broader context such as differentiation from other send_* tools or behavioral corner cases. It is minimally adequate for a complex tool.

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

Parameters4/5

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

Schema description coverage is 100%, so baseline is 3. The description adds context for the 'document' parameter (URL, file_id, local path) and the default behavior of 'chat_id', providing meaning beyond the schema definitions.

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 clearly states the tool sends a file/document to a Telegram chat, specifying possible sources (URL, file_id, local path). It effectively conveys the primary action but does not explicitly differentiate from sibling send_* tools for other media types.

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 provides one usage hint (default chat_id behavior) but lacks guidance on when to use this tool versus alternatives like send_photo or send_video. No when-not-to-use or exclusion criteria are mentioned.

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/FantomaSkaRus1/telegram-bot-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server