Skip to main content
Glama
qrak

telegram-commandcode

by qrak

telegram_send_photo

Send a photo to a Telegram chat from a public URL or absolute local file path, with an optional caption and target chat ID.

Instructions

Send a photo via a public URL or an absolute local file path (max 10 MB for photos).

Input Schema

NameRequiredDescriptionDefault
photoYesPublic https:// URL or absolute path to a local image file.
captionNoOptional caption (max 1024 chars).
chat_idNoTarget chat ID (user, group, or channel). Omit to use TELEGRAM_DEFAULT_CHAT_ID.
parse_modeNoCaption parse mode.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv2.2.0

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, and openWorldHint=true, so the safety profile is clear. The description adds a useful behavioral constraint (max 10 MB) and allowed source types, but does not mention authentication, rate limits, or failure 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?

The definition is a single efficient sentence with the core constraint and accepted inputs front-loaded. There is no filler, though a brief distinction from send_file could have increased value without hurting conciseness.

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 straightforward send tool with full schema coverage and clear annotations, the description is largely complete. It covers accepted input sources and size limits; more detail on default chat behavior or failure modes is already handled by the schema.

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 description coverage is 100%, so parameter semantics are already well documented in structured form. The description reinforces the photo parameter by restating accepted sources and adding a size limit not present in the schema, which is useful but modest.

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 clear verb and resource ('Send a photo') and states accepted input forms, making the purpose immediately understandable. It does not explicitly distinguish this tool from the sibling telegram_send_file, which likely handles generic files, so sibling differentiation is incomplete.

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?

Usage is implied by the description of accepted photo sources, but there is no explicit guidance on when to use this tool versus telegram_send_message or telegram_send_file. The agent must infer the boundary from the tool name and description alone.

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