Skip to main content
Glama
peter-tnc-453

guarded-whatsapp-mcp

wa_send_file

Send a file to an allowlisted recipient with automatic filename sanitization, type/size validation, and secret scanning on captions. Requires optional confirm token for sending.

Instructions

Send a file to an allowlisted recipient. The filename is auto-sanitized to an ASCII-safe name (so WhatsApp shows a real name, not 'Untitled', and no path traversal is possible), the type/size are validated, and the caption is secret-scanned. Sending files may require a confirm_token (see wa_preview).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
captionNo
file_pathYes
recipientYes
confirm_tokenNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

With no annotations, the description discloses key behaviors: auto-sanitization of filename, validation of type/size, secret scanning of caption, and potential need for confirm_token. These go beyond basic 'send file' but omit details like rate limits or failure modes.

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 three concise sentences with no redundancy. It front-loads the core action and adds key behavioral details efficiently, earning its place.

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 tool has an output schema (not shown) and no annotations, the description covers validation, sanitization, and token requirements. However, it lacks specifics on file size limits, supported types, or success/error outputs, leaving some context incomplete.

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 0%, so the description must compensate. It indirectly explains file_path (auto-sanitized), caption (scanned), and confirm_token (from wa_preview), but does not clearly describe recipient format or confirm_token retrieval. Gaps remain for parameters like recipient and file_path expectations.

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 clearly states 'Send a file to an allowlisted recipient', specifying the verb (send) and resource (file). The sibling tools (wa_send_message for text, wa_preview for preview, wa_list_recipients for listing, wa_audit_tail for audit) differentiate this tool's purpose of sending files, making it distinct.

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 implicitly guides usage by mentioning that a confirm_token may be required and referencing wa_preview, hinting at a workflow. However, it does not explicitly state when to use this tool over wa_send_message or provide exclusions.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/peter-tnc-453/guarded-whatsapp-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server