Skip to main content
Glama

whatsapp_transcribe_media

Read-onlyIdempotent

Transcribe a WhatsApp audio / voice note to text (read-only: nothing is sent or changed on WhatsApp). Give message_id + chat (an audio received in this account, from whatsapp_messages) OR url (an audio file link from this platform's own media storage: the screen upload ref or a whatsapp_get_media url; other hosts are refused). Up to 10 minutes of audio (duration read from the file). Returns { success:true, text, duration_s, model, language }. On failure returns { success:false, error }: not_found, media_expired (WhatsApp no longer has the file), too_long (> 10 min or > 16 MB), unsupported (not an audio / format not accepted / url not ours), transcription_failed, rate_limited.

Bulk support: accepts message_ids for batched execution.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "whatsapp_transcribe_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNo
chatNo
accountNo
languageNo
message_idNo
message_idsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare readOnly/idempotent/non-destructive, and the description reinforces this ("nothing is sent or changed on WhatsApp") while adding constraints the annotations cannot convey: a 10-minute ceiling and 16 MB cap with duration read from the file, plus a full error taxonomy including media_expired and unsupported. It also discloses the return shape for both success and failure, which is substantial behavioral context beyond structured fields.

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?

Front-loads the purpose and read-only guarantee, then the input modes, then limits, then returns, then errors — a sensible information hierarchy. The error enumeration is long but each code adds actionable meaning; the trailing bulk-support sentence is slightly disconnected from the main prose.

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

Completeness5/5

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

There is no output schema, and the description compensates by specifying the exact success and failure response shapes. Combined with duration/size limits, source constraints, and enumerated error conditions, an agent has enough to call this correctly and interpret the result.

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?

Schema coverage is 0%, so the description must carry the load, and it explains the mutually exclusive message_id + chat path versus the url path with host restrictions, plus the message_ids bulk variant. It leaves the language and account parameters entirely unmentioned, which is a real gap for a multi-account platform, but the primary parameters are given meaning well beyond their bare names.

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?

States a specific verb and resource ("Transcribe a WhatsApp audio / voice note to text") and immediately scopes it as read-only. That is clearly distinct from the sibling whatsapp_get_media, which retrieves media rather than converting it to text.

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?

Gives two explicit invocation routes — message_id + chat for audio already received (pointing at whatsapp_messages as the source) or url restricted to this platform's own media storage (screen upload ref or a whatsapp_get_media url). It also states other hosts are refused, so misuse is preventable. It stops short of an explicit "use this instead of whatsapp_get_media when…" statement, but the routing is clear.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.