Skip to main content
Glama
QuocTang

telegram-mcp-kit

by QuocTang

get_file_info

Retrieve file details and download link from Telegram using the file ID from messages.

Instructions

Get file info and download link from Telegram.

Args: file_id: Telegram file ID (from received messages)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
file_idYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior2/5

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

No annotations are provided, so the description carries full burden. It only states the operation and parameter, omitting behavioral traits like whether authentication is required, if the action is destructive, or any side effects.

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?

The description is concise with a single sentence and a bullet for the parameter. It is front-loaded and contains no unnecessary words.

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?

Despite being simple, the description covers the essential input and output. Since an output schema exists, further detail on return values is unnecessary. However, it lacks any mention of authentication or error handling.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

The schema has 0% description coverage, but the description adds an 'Args' section explaining that file_id comes from received messages, providing context beyond the schema's type definition.

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 clearly states the tool's function: 'Get file info and download link from Telegram.' This distinguishes it from sibling tools like get_bot_info and get_chat_info, which retrieve different resources.

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 description implies usage when a file_id from received messages is available, but does not provide explicit guidance on when to use this tool versus alternatives, or mention any prerequisites or exclusions.

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/QuocTang/telegram-mcp-kit'

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