Skip to main content
Glama
grrek
by grrek

send_file

Send files like images, videos, audio, or documents through WhatsApp with optional captions and custom file names.

Instructions

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

Args:
    to: Recipient phone number or JID
    file_path: Path to the file on the server
    caption: Optional caption for the file
    filename: Optional display name (defaults to file basename)
    mime: Optional MIME type override

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYes
file_pathYes
captionNo
filenameNo
mimeNo
Behavior2/5

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

With no annotations provided, the description carries full burden for behavioral disclosure. It mentions the action ('Send') but doesn't describe what happens on success/failure, rate limits, authentication requirements, file size limits, or whether the operation is synchronous/asynchronous. The description is minimal beyond the basic action.

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 efficiently structured with a clear purpose statement followed by parameter explanations. Every sentence adds value: the first establishes context, and each parameter line provides necessary semantic information without redundancy. It's appropriately sized for a 5-parameter tool.

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?

For a file-sending tool with no annotations and no output schema, the description covers basic purpose and parameters adequately but lacks important context about behavioral aspects (success criteria, error handling, limitations). It's minimally viable but has clear gaps in operational transparency.

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 provides clear semantic explanations for all 5 parameters beyond the schema's 0% coverage. It explains 'to' as recipient phone/JID, 'file_path' as server path, 'caption' as optional text, 'filename' as display name with default behavior, and 'mime' as type override. This compensates well for the schema's lack of descriptions.

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 the tool's purpose with specific verb ('Send') and resource ('a file via WhatsApp'), and distinguishes it from sibling tools like 'send_message' by specifying file types (image, video, audio, document). It provides immediate clarity about what the tool does.

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?

The description provides no guidance on when to use this tool versus alternatives like 'send_message' (for text) or 'download_media' (for receiving files). It mentions WhatsApp context but doesn't specify prerequisites, error conditions, or appropriate scenarios for file versus message sending.

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/grrek/mcp-wacli'

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