Skip to main content
Glama
jevil25

WhatsApp Messaging API by Retention Stack

by jevil25

send_file

Send files like PDFs or documents to any contact, group, or channel using a public URL.

Instructions

Send a file (PDF, document, etc.) to a contact, group, or channel via a public URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
chatIdYesRecipient: phone number, group ID, or channel ID
fileUrlYesPublic URL of the file
sessionYesSession name
filenameNoFilename to display in the chat

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.3

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full burden of behavioral disclosure. It only states the action and the public-URL constraint; it does not mention potential failure modes (inaccessible URL, unsupported file type/size), side effects, or how the filename parameter is used.

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?

A single, front-loaded sentence with no filler. Every element adds value: action, resource, recipients, and the URL constraint.

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?

The description captures the core operation and schema descriptions cover all parameters, but the absence of annotations and any mention of failure handling or return behavior leaves moderate gaps. For a low-complexity tool this is minimally adequate.

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 description coverage is 100%, so the baseline is 3. The description adds no parameter-level detail beyond what the schema already provides, but that is acceptable given full schema coverage.

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?

States a specific verb ('Send'), resource ('file'), recipient types ('contact, group, or channel'), and delivery method ('via a public URL'). It clearly distinguishes from sibling tools like send_text_message and send_image by focusing on arbitrary file types.

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 such as send_image or send_text_message. No prerequisites (e.g., active session) or exclusions are mentioned, leaving the agent to infer usage from the tool name alone.

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

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/jevil25/whatsapp-messaging-api-mcp'

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