Skip to main content
Glama
prabchevski

Telegram Search MCP

by prabchevski

Read a native Telegram draft

telegram_get_chat_draft
Read-onlyIdempotent

Retrieve the current draft text and version from a Telegram chat to prepare a replacement without modifying the original.

Instructions

Read the draft visible in Telegram and its version before preparing a replacement.

Text-only writes are supported. Non-text drafts are reported by content_type. Read-only; never clears or changes the user's draft.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chat_idYes
topic_idNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
existsYes
statusNocurrent
chat_idYes
versionYes
topic_idYes
content_typeYes
operation_idNo
trust_boundaryNo
reply_to_message_idYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.8.0

TDQS

A4.1/5.0
Behavior4/5

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

The description adds 'Read-only; never clears or changes the user's draft' and 'Non-text drafts are reported by content_type', which are genuine behavioral details beyond the readOnlyHint/destructiveHint annotations. It is clear about side effects and content-type behavior.

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, front-loaded with purpose, then constraints, then a side-effect guarantee. No filler or repeated schema data.

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 simple two-parameter read tool with an output schema and strong annotations, it covers the key behaviors. The only real gap is the lack of parameter elaboration, which is partially mitigated by obvious names.

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% and the description does not discuss chat_id or topic_id at all. The parameter names are relatively self-explanatory, but the description fails to compensate for the schema's lack of descriptions or clarify optional topic behavior.

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 first sentence identifies a specific operation ('Read'), the resource ('the draft visible in Telegram'), and an additional output ('its version'), which is enough to distinguish it from sibling read tools like telegram_get_message or telegram_get_chat_history. The title also aligns.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It gives clear context for when to use it ('before preparing a replacement') and explicitly notes text-only/non-text handling, but it does not name alternative tools or state when not to use it. Sibling names make the draft-specific scope inferable, so no exclusions are stated.

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