Skip to main content
Glama
Vlislavn

Telegram Account MCP

by Vlislavn

telegram_get_chat_history

Read-only

Retrieve a Telegram chat's text history newest-first by numeric chat ID or @username, with options to set a limit and paginate before a message ID.

Instructions

Read newest-first text history by numeric ID or @username.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
chat_idYes
before_msg_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.1/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is covered. The description adds useful behavioral context by specifying newest-first ordering and that the result is text history, but it does not mention pagination behavior or rate limits.

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 a single front-loaded sentence with no wasted words. It efficiently conveys the core operation, ordering, and identifier format.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a simple read tool with annotations covering safety and an output schema covering returns, the description is adequate but incomplete. It leaves usage guidelines absent and two of three parameters undocumented, which matters given 0% schema description coverage.

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 carry parameter meaning. It clarifies that chat_id accepts a numeric ID or @username, which adds value beyond the anyOf schema type, but it says nothing about the limit or before_msg_id parameters.

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 ('Read'), resource ('text history'), scope ('newest-first'), and chat identifier format ('numeric ID or @username'). It implicitly contrasts with siblings that list conversations or sent messages, but it does not explicitly name or differentiate them.

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 description provides no guidance on when to use this tool versus telegram_get_conversations or get_sent_messages. It only states what the tool does, leaving usage context to inference.

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