Skip to main content
Glama
TONresistor

Telegram MCP Server

by TONresistor

getFile

Retrieve basic file info from Telegram and receive a file_path for downloading files up to 20MB.

Instructions

Get basic info about a file and prepare it for downloading. Returns a File object with file_path for download. Files up to 20MB can be downloaded.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_idYesFile identifier to get information about.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the full burden and does meaningful work: it discloses the return payload shape ('File object with file_path') and a concrete operational constraint (the 20MB download limit). It stops short of stating what happens with larger files or how the returned file_path is consumed, but for a simple read-style retrieval this is solid coverage.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Three short sentences, each earning its place: the main action, the return contract, and the size limit. The key purpose is front-loaded in the first sentence, and there is zero filler or redundancy.

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 single-parameter tool with no output schema, the description is appropriately complete — it states what is returned (File object with file_path) and the constraints on that return (20MB cap). The only minor gap is that it doesn't mention the separate download endpoint or URL construction that follows, but that is client-level detail beyond this tool's call contract.

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% — file_id is already documented as 'File identifier to get information about.' The tool description adds no parameter-specific semantics beyond the general notion of 'about a file,' so the baseline 3 applies and the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description uses a specific verb ('Get') with a concrete resource ('a file') and adds the distinctive scope 'prepare it for downloading,' which goes beyond the tool name and clarifies its role. It clearly separates this from the many file-sending siblings (sendDocument, sendPhoto, etc.) by framing it as a retrieval/preparation step rather than a transmission step.

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?

The usage context is implied rather than explicit: 'prepare it for downloading' signals that this is the step to obtain a download path, but no alternatives are named and no when-to-use vs. when-not-to-use guidance is given. The purpose statement carries the usage signal, but the description leaves the routing decision entirely to inference.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/TONresistor/telegram-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server