Skip to main content
Glama
telegram-user-mcp

telegram-user-mcp

by tarikra1

send_file

Upload and send local files, images, videos, or documents to a Telegram chat or yourself, with optional captions and reply targeting.

Instructions

Upload and send a local file, image, video, or document to a Telegram chat or 'me'.

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>",
      "file_path": "<file_path>"
    },
    "name": "send_file"
  }
}

Input Schema

NameRequiredDescriptionDefault
targetYes
captionNo
file_pathYes
force_documentNo
reply_to_msg_idNo

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?

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses nothing about size limits, upload failures, required authentication, or whether the send is irreversible. 'Local file' is the one useful constraint, implying the path resolves on the server rather than the caller's machine.

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 front-loaded sentence with the action, the accepted file kinds, and the destination, with no filler. It is well sized for what it attempts, though brevity here partly reflects missing content rather than discipline.

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 described, but a five-parameter mutation tool with zero schema coverage and zero annotations needs far more than one sentence. An agent cannot determine what force_document does or what form 'target' takes without trial and error.

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 and largely does not. It hints at target semantics ('a Telegram chat or me') and lists media types, but caption, reply_to_msg_id, and especially force_document are left unexplained in both places.

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 plus resource ('Upload and send a local file, image, video, or document') and names the destination ('a Telegram chat or me'), which separates it from send_message by payload type. It stops short of explicitly contrasting itself with the text-message sibling, so it is clear but not fully differentiating.

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 guidance and no named alternative, even though send_message is an obvious competing choice for outbound content. The only hint is that the file must be local and the target may be 'me', which an agent must infer rather than read.

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