Skip to main content
Glama

download_media

Read-only

Fetches a photo, sticker, voice note, audio, video or document from a WhatsApp message, only when the user asks for it. Paid plan only: on the free plan the call is refused with a note on how to subscribe. Small images are returned as an image you can look at. Everything else returns a download link valid for 15 minutes: share it with the user. You cannot play or transcribe audio yourself. Get message ids from search_messages (media appears as e.g. "[voice note, 0:42]") or read_chat_history.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "message_id": "<message_id>"
    },
    "name": "download_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
chat_jidNoOptional. The chat the message is in; only used as a fallback lookup.
message_idYesThe WhatsApp message id

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A5/5.0
Behavior5/5

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

Goes well past readOnlyHint by disclosing plan gating and the free-plan refusal with a subscribe note, the split return behavior (inline image for small images vs. a 15-minute download link), and the limitation that audio cannot be played or transcribed. These are exactly the operational facts an agent needs before calling.

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?

Five short sentences, each carrying a distinct operational fact, with the user-request constraint and the plan gate front-loaded ahead of return-value and id-sourcing details. Nothing is redundant.

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?

No output schema exists, and the description compensates fully by explaining both return shapes and link expiry, plus the free-plan failure mode. Combined with 100% schema coverage for the two parameters, an agent has everything needed to call correctly.

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?

Explicit when-to-use constraint and prerequisite path earn this score: "only when the user asks for it" plus the two sibling tools that yield valid message ids, with a hint about how media appears in their results.

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?

Names a specific verb plus an enumerated resource set (photo, sticker, voice note, audio, video, document) scoped to a WhatsApp message, so the agent knows exactly the operation. It also distinguishes itself from search_messages and read_chat_history by casting them as id suppliers rather than alternatives for retrieval.

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

Usage Guidelines5/5

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

Gives an explicit use condition ("only when the user asks for it"), and a concrete prerequisite path: obtain ids from search_messages or read_chat_history, with a hint about how media appears in those results. That covers both when to call and how to get the inputs.

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.