Skip to main content
Glama
whatsapp-mcp

whatsapp-mcp

by vimal-v-2006

Send WhatsApp media

whatsapp_send_media

Send an image, video, audio file, document, or sticker from a local path to a WhatsApp recipient, with optional type override and caption.

Instructions

Send a file (image/video/audio/document/sticker) from a local path.

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": {
      "to": "<to>",
      "path": "<path>"
    },
    "name": "whatsapp_send_media"
  }
}

Input Schema

NameRequiredDescriptionDefault
toYesRecipient JID, phone number, or contact/chat name
pathYesAbsolute or relative path to the file on this machine
typeNoOverride file type detection (default auto)
captionNoCaption (images, videos, documents)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, and it discloses almost nothing: it does not state whether the send is immediate, what happens on an invalid path or unknown recipient, whether a caption is dropped for audio/sticker, or any size/rate constraints. For a mutation tool with zero annotation coverage this is a substantial gap.

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?

A single tight sentence with the verb and media kinds front-loaded and no filler. It is efficient but so terse that it omits the operational detail an agent needs, which is a completeness problem rather than a verbosity one.

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?

With 4 simple flat parameters, full schema coverage, and no output schema, the description is barely adequate. Given that this is an unannotated mutation tool, an agent still lacks information on failure modes and limits, so it is complete in shape but thin in substance.

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

Parameters3/5

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

Schema coverage is 100%, so the parameters are already documented (recipient JID/phone/contact name, path, type override with enum, caption scoped to images/videos/documents). The description only reinforces that the path is local; it adds no syntax, resolution, or default behavior beyond the schema, so baseline 3 applies.

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?

Specific verb+resource: "Send a file ... from a local path" with the media kinds enumerated (image/video/audio/document/sticker). This clearly separates it from a text-message sender and from read/list siblings, though it never names whatsapp_send_message as the text alternative.

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?

No when-to-use/when-not guidance and no routing to the sibling whatsapp_send_message for plain text. Nothing about prerequisites such as an active link, recipient resolution, or file size/format limits that would tell an agent whether a send will succeed.

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