Skip to main content
Glama
wati-io

WhatsApp MCP Server

by wati-io

send_file

Send files (image, video, document, audio) to a WhatsApp recipient by providing phone number and file path. Optionally add a caption.

Instructions

Send a file (image, video, document, audio) via WhatsApp.

Args:
    target: Recipient phone number with country code, no + (e.g. "85264318721")
    file_path: Absolute path to the file or a URL
    caption: Optional caption for the file

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
targetYes
file_pathYes
captionNo
Behavior2/5

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

No annotations are provided, and the description does not disclose behavioral traits such as file size limits, error handling, or whether the file is sent as a local path or URL. It only mentions that file_path can be an absolute path or URL.

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?

The description is concise with a one-line summary followed by an argument list. Every sentence is necessary, though the structure could be slightly improved with bullet points.

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

Completeness2/5

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

The description does not cover output or return values, and without an output schema or annotations, the agent lacks information about success/error responses or side effects.

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?

The description adds value beyond the schema by specifying the phone number format (e.g., '85264318721') and clarifying that file_path can be a path or URL. Schema coverage is 0%, so this addition is significant.

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?

The description clearly states the action 'Send a file' and lists supported file types (image, video, document, audio). However, it does not explicitly distinguish itself from the sibling tool 'send_file_via_url'.

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 guidance on when to use this tool versus alternatives like 'send_file_via_url' or when not to use it. The description only provides parameter details.

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/wati-io/wati-mcp-server'

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