Skip to main content
Glama
mcp-telegram-agent

mcp-telegram-agent

send_local_photo

Send a local image file to a Telegram chat as a full-preview photo, with optional caption, parse mode, and inline buttons.

Instructions

Send a local image file as a full-preview photo.

發送本機圖片檔案,以照片預覽格式呈現。

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": {
      "photo_path": "<photo_path>"
    },
    "name": "send_local_photo"
  }
}

Input Schema

NameRequiredDescriptionDefault
captionNo
chat_idNo
parse_modeNoMarkdown
photo_pathYes
inline_buttonsNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.7

TDQS

C2.7/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden and delivers almost nothing: no mention of what happens if chat_id is omitted, whether images are compressed, size limits, error behavior on invalid paths, or whether captions/buttons are rendered. 'Full-preview' is the only behavioral hint and it is vague.

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?

Two short, front-loaded sentences with no waste; the bilingual duplication is a stylistic choice rather than padding. Nothing an agent reads is irrelevant.

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?

A five-parameter messaging tool with no annotations and zero schema coverage needs more than one sentence. An output schema exists, so return values need not be explained, but the missing parameter semantics and delivery behavior make the definition inadequate for correct invocation.

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% across five parameters, so the description must compensate, but it only implies photo_path ('local image file'). It says nothing about caption, parse_mode, chat_id, or the nested inline_buttons structure, leaving four of five parameters without any semantic guidance.

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 clear verb and resource: 'Send a local image file.' The phrase 'full-preview photo' distinguishes it from siblings such as send_local_document or send_local_video, which send the same local file in a different rendering. It does not explicitly name those siblings, but the resource type does the distinguishing work.

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 statement of when to choose this tool over send_local_document or send_media_album, no prerequisites (file path accessibility, permissions), and no exclusions. The agent must infer usage entirely from the resource noun.

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