Skip to main content
Glama
telegram-user-mcp

telegram-user-mcp

by tarikra1

download_media

Downloads an attached file, photo, video, or archive from a specified message ID in a target Telegram chat, optionally to an output directory.

Instructions

Download the attached file/photo/video/archive from a specific message_id in target 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": {
      "target": "<target>",
      "message_id": "<message_id>"
    },
    "name": "download_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYes
message_idYes
output_dirNo

Output Schema

NameRequiredDescriptionDefault
resultYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.3.0

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, yet it omits that this writes data to disk, whether an existing file is overwritten, what happens if the message has no attachment or the attachment exceeds size limits, and what errors look like. Only the read direction ('download') is disclosed.

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 tight sentence with the action and scoping front-loaded and no filler. Density is fine, though the run-together list of media types takes slightly more space than needed.

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, but for a 3-parameter filesystem-writing tool with 0% schema coverage and no annotations, the description leaves too much open: destination behavior, failure modes, and permissions are all unaddressed.

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 the description must compensate. It does clarify that 'target' is the chat and 'message_id' identifies the message holding the attachment, but the third parameter output_dir is never mentioned, leaving its meaning and default behavior undocumented.

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?

Specific verb-plus-resource: 'Download the attached file/photo/video/archive' scoped to 'a specific message_id in target chat'. An agent can tell exactly what the tool fetches and what it needs. It does not distinguish itself from siblings such as send_file or get_messages, so it stops short of a 5.

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?

The phrasing implies the tool is for messages that carry attachments, but there is no explicit when-to-use, no alternative named (e.g., get_messages to inspect a message first), and no prerequisites such as authentication or requiring a valid chat target. Guidance is inferential at best.

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