Skip to main content
Glama
draiqw
by draiqw

tg_transcribe

Read-onlyIdempotent

Transcribe voice messages, round videos, music, and video from a Telegram chat into text. Pick specific messages or recent media, and choose optional language or transcription engine.

Instructions

Turn voice messages, round videos, music and video into text.

Args: chat: chat to work in. message_ids: specific messages (max 20). Omit to take the most recent items of kind in that chat. kind: which media tab to pull from when message_ids is omitted — voice, round, music, video, media, file. limit: how many recent items to transcribe (max 20). engine: "auto" tries Telegram's own transcription first (instant, free, voice and round only; it needs Premium or a free weekly quota, and is skipped without a request when the account has neither), then Groq, then the local model. Force one with "telegram", "groq" or "local". language: ISO code like "ru" or "en" — improves accuracy, optional.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatYes
kindNovoice
limitNo
engineNoauto
languageNo
message_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Beyond the readOnlyHint and idempotentHint annotations, the description discloses the engine fallback chain in detail: auto tries Telegram first (with Premium/quota constraints), then Groq, then local. It also explains that Telegram transcription only supports voice and round, and is skipped without a request when the account lacks eligibility. This adds meaningful behavioral context that annotations do not provide.

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?

The purpose statement is front-loaded and the Args block is compact and organized by parameter. The engine explanation is the longest part but is necessary because the auto behavior has real conditions. No filler or redundant information is present.

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?

The description covers the core selection and execution aspects: media types, message selection, kind values, limits, engine options, and optional language. The main omission is the return format—whether the tool returns a single transcript, per-message text, or errors for items without speech—but given that no output schema exists, the description is still largely sufficient for correct invocation.

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

Parameters5/5

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

With 0% schema description coverage, the description is the sole source for parameter meaning. It explains all six parameters: chat, message_ids, kind, limit, engine, and language, including value sets, defaults, max limits, and conditional behavior. This fully compensates for the empty schema descriptions.

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 opens with a specific verb and resource: 'Turn voice messages, round videos, music and video into text.' This clearly identifies what the tool does and its media scope. It does not explicitly differentiate from siblings like tg_translate or tg_summarize, but the transcription purpose is evident from the first sentence.

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?

The description provides clear operational guidance, such as 'which media tab to pull from when message_ids is omitted' and how the engine fallback behaves. It establishes a clear context for when this tool is appropriate, though it stops short of naming alternatives or stating when not to use this tool.

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