Skip to main content
Glama
Telegram MCP Server

Telegram MCP Server

send_telegram_photo

Sends a local JPG or PNG image file to Telegram as an inline photo with a large preview and optional caption.

Instructions

Sends a local image file to Telegram, displayed as an inline photo with a large preview in the chat.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "filePath": "<filePath>"
    },
    "name": "send_telegram_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
captionNoOptional caption text below the photo.
filePathYesAbsolute path to the image file (JPG, PNG).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose a genuine behavioral trait: the image renders as an inline photo with a large preview rather than a document or link. It omits the important context of which chat/conversation the photo is delivered to (there is no chat parameter), whether sending is rate-limited or requires configured credentials, and what happens on upload failure.

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?

A single front-loaded sentence: verb and resource first, rendering behavior second. No filler, no restatement of the tool name, and every clause contributes information.

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?

For a two-parameter tool with no output schema this is close to adequate, since the display behavior and input constraint are stated. But the absence of annotations means the description should have covered the destination chat and side-effect/failure behavior, and it does not.

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 coverage is 100%, so both parameters are already documented with type and format detail. The description only echoes the local-file requirement and adds no new semantics such as size limits, supported encodings beyond the schema's JPG/PNG note, or caption formatting rules; baseline 3 applies.

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 names a specific verb and resource ('Sends a local image file to Telegram') and adds the rendering outcome ('inline photo with a large preview'). It is clear on its own, but it never distinguishes itself from siblings like send_telegram_photo_direct or send_telegram_file, leaving the agent to guess which sender is appropriate.

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 when-to-use or when-not-to-use guidance and no mention of alternatives. The phrase 'local image file' hints at a precondition (the file must be on disk), but the agent gets no help choosing between this tool and send_telegram_photo_direct or send_telegram_file.

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