Skip to main content
Glama
Cristinacarolsouza

whatsapp-desktop-mcp

Send a WhatsApp file attachment (PDF, image, document)

send_file
Destructive

Send a file attachment with an optional caption to a specific WhatsApp chat, opening the conversation in WhatsApp Desktop for delivery.

Instructions

Sends a file attachment (such as a PDF report, image, spreadsheet or document) with an optional caption to one resolved chat (by opaque chat_id from list_chats / search_contacts). Automatically focuses and opens the conversation in WhatsApp Desktop. Gated by an MCP elicitation prompt showing resolved chat name, recipient JID, file details, and caption. Conservative rate limits apply (5/min, 30/day). WhatsApp's Terms of Service prohibit automated / bulk messaging; use sparingly.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
captionNo
chat_idYes
file_pathYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
statusYes
captionNo
chat_idYes
chat_nameYes
file_nameYes
elapsed_msNo
message_idNo
audit_log_pathNo
confirm_skippedNo
file_size_bytesYes
is_experimentalNo
verification_noteNo
rate_limit_remaining_per_dayNo
rate_limit_remaining_per_minNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations (destructiveHint=true, readOnlyHint=false), the description discloses important side effects: it automatically focuses/opens the WhatsApp Desktop conversation, is gated by an MCP elicitation prompt showing details, has conservative rate limits (5/min, 30/day), and is subject to WhatsApp ToS restrictions. This adds meaningful behavioral context the annotations alone do not convey.

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?

The description is compact and front-loaded: core action first, then source of chat_id, then side effects, then limits and policy. Every sentence provides actionable information with no filler.

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?

Given the presence of an output schema and annotations, the description covers purpose, parameter provenance, side effects, rate limits, and policy cautions. The main gap is the lack of detail on file_path format or file constraints, which would make it fully self-sufficient.

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?

With 0% schema description coverage, the description must compensate. It clarifies chat_id as an opaque ID from list_chats/search_contacts and notes that caption is optional, but it leaves file_path underspecified regarding format, local vs remote path, or size limits. These additions are useful but do not fully cover all parameter semantics.

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 description states a specific verb and resource: sending a file attachment to a resolved chat, and explicitly contrasts with text by mentioning 'optional caption' and file types. It also names the chat_id source (list_chats / search_contacts), distinguishing this from sibling send_message.

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 gives clear context: use for file attachments, requires a resolved chat_id from list_chats/search_contacts, and warns about rate limits and WhatsApp ToS. It does not explicitly name an alternative such as send_message for text-only messages, so it stops short of full when-not guidance.

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