Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

sendPhoto

Send a photo to a Telegram chat using a file ID, URL, or direct upload. Add captions, spoilers, and other message options with full control.

Instructions

Send photos. On success, the sent Message is returned. Photo must be at most 10 MB in size. The photo's width and height must not exceed 10000 in total. Width and height ratio must be at most 20.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
photoYesPhoto to send. Pass a file_id as String to send a photo that exists on the Telegram servers (recommended), pass an HTTP URL as a String for Telegram to get a photo from the Internet, or upload a new photo using multipart/form-data.
captionNoPhoto caption (may also be used when resending photos by file_id), 0-1024 characters after entities parsing.
chat_idYesUnique identifier for the target chat or username of the target channel (in the format @channelusername).
parse_modeNoMode for parsing entities in the photo caption. See formatting options for more details.
has_spoilerNoPass True if the photo needs to be covered with a spoiler animation.
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_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 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

A3.7/5.0
Behavior4/5

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

With no annotations provided, the description carries the behavioral burden, and it does so usefully by disclosing the 10 MB size limit, total dimension limit, aspect ratio limit, and the success return type. It does not mention failure behavior or nuances about URL/file_id uploads, but the key constraints are clearly surfaced.

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 concise and well-structured: the main action comes first, followed by the success return and then the key constraints. Every sentence adds information without redundancy or filler.

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?

Despite having 17 parameters and no output schema, the schema fully documents every parameter, so the description only needs to add invocation-critical context. It adds the necessary size/dimension constraints and the return type, making the tool callable without leaving major gaps.

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 the baseline is 3, but the description adds meaningful constraints on the photo parameter that are not present in the schema, such as maximum size and dimension limits. This goes beyond simply restating the schema documentation.

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 photos') and includes the success return value, so an agent immediately knows what the tool does. It does not differentiate itself from sibling send tools such as sendMediaGroup or sendDocument, but the name and description are unambiguous enough for basic selection.

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?

There is no guidance on when to use this tool versus alternatives like sendMediaGroup, sendDocument, or sendPhoto variants. The description only restates the action and adds constraints, which does not help an agent choose between this and closely related 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