Skip to main content
Glama
ivantelix

Telegram MCP Server

by ivantelix

telegram_send_photo

Send a photo to a Telegram chat from a local file path or public URL, with optional caption, formatting, and silent delivery.

Instructions

Send a photo/image to a Telegram chat.

:param photo: Local file path on disk (e.g. '/path/to/image.png') OR a public HTTP/HTTPS URL. :param caption: Optional photo caption (0-1024 characters). :param chat_id: Unique identifier for target chat (or @channelusername). :param parse_mode: Formatting for caption ('HTML', 'MarkdownV2', 'Markdown', or None). :param disable_notification: Send silently without notification sound. :return: JSON formatted Telegram Message object.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
photoYes
captionNo
chat_idNo
parse_modeNoHTML
disable_notificationNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations, the description carries the burden of behavioral disclosure. It does state the core side effect ('Send') and the return format ('JSON formatted Telegram Message object'), and it explains the disable_notification effect. However, it does not mention authentication requirements, rate limits, delivery irreversibility, or failure behavior, so transparency is partial.

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 opens with a one-sentence purpose, then lists each parameter with meaningful detail, and closes with the return type. There is no fluff or redundant prose; every line earns its place.

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 five-parameter tool with no annotations, the description adequately specifies all invocation details including parameter semantics and return type, and an output schema exists. It falls short only by omitting usage differentiation and higher-level behavioral context such as permissions or side effects, but an agent can still call the tool correctly based on the provided information.

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

Parameters5/5

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

Schema description coverage is 0%, but the description fully compensates: photo explains local path vs URL, caption gives length limits, chat_id explains identifier forms, parse_mode enumerates allowed values, and disable_notification defines its behavior. This is substantially richer than the schema's bare titles.

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 states a specific action and resource: 'Send a photo/image to a Telegram chat.' This clearly differentiates it from sibling tools like telegram_send_document, telegram_send_audio, and telegram_send_voice without needing to inspect schemas.

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, no exclusions, and no mention of situations where send_document or another sibling would be more appropriate. The agent must infer usage solely from the tool name and sibling list.

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