Skip to main content
Glama
mcp-server-telegram-bot

mcp-server-telegram-bot

by mirmakhamat

send_photo

Sends an image from an allowed directory as a Telegram photo through the configured bot, with optional caption and chat ID.

Instructions

Send an image from an allowed directory as a photo.

Input Schema

NameRequiredDescriptionDefault
pathYes
captionNo
chat_idNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.7/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses the allowed-directory restriction, but omits that this is a mutating send, what happens when chat_id is null, whether the file must already exist on disk, and any error or rate-limit behavior.

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?

A single sentence with no filler, and the access constraint is placed where it will be read. It is efficient but also under-specified, so brevity is not entirely a virtue here.

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?

An output schema exists, so return values need not be explained. However, for a three-parameter mutating tool with zero annotation and zero schema description coverage, omitting chat_id resolution, caption behavior, and the photo-vs-document distinction leaves the agent guessing.

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 description coverage is 0%, so all three parameters rely on the description. The description only hints at the path constraint ("allowed directory") and says nothing about caption usage or the default-chat behavior implied by chat_id defaulting to null, leaving most parameter meaning unstated.

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 gives a specific verb and resource ("Send an image ... as a photo") plus a scoping constraint ("from an allowed directory"). It does not explicitly distinguish itself from siblings like send_document, though the "as a photo" phrasing implies the difference.

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 choose send_photo over send_document or send_message, which are the obvious alternatives in the sibling set. The only implied guidance is the allowed-directory constraint, which points at list_access but is never stated as a prerequisite.

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