Skip to main content
Glama
wsapi-chat

WSAPI WhatsApp MCP Server

by wsapi-chat

whatsapp_send_voice

Send a voice message (PTT) on WhatsApp by providing base64 audio data or a voice file URL.

Instructions

Send a voice message (PTT). Provide either data (base64) or url.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesRecipient JID
dataNoBase64 encoded voice data
urlNoURL of the voice file
mimeTypeNoMIME type (auto-detected if omitted)
mentionsNo
replyToNo
replyToSenderIdNo
isForwardedNo
viewOnceNo
ephemeralExpirationNo
Behavior2/5

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

No annotations are provided, so the description must carry full burden. It discloses that the tool sends a voice message but omits behavioral traits such as required permissions, file size limits, validation of inputs, or effects on chat. Minimal transparency.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The description is a single sentence, which is concise but too brief for a tool with 10 parameters and no annotations. It lacks critical information and does not front-load important details; under-specification is not efficiency.

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?

Given the tool's complexity (10 params, no annotations, no output schema), the description is incomplete. It fails to explain optional parameters, constraints (e.g., mutual exclusivity of data/url), return behavior, or prerequisites. Agents would lack guidance for correct invocation.

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 low (40%), and the description adds value by clarifying that 'data' is base64 and 'url' is a URL, and that only one should be provided. However, it does not explain the other 6 parameters (mentions, replyTo, etc.), leaving gaps.

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 states 'Send a voice message (PTT)', clearly indicating the action and resource. It specifies the media type (voice/PTT) but does not differentiate from sibling 'whatsapp_send_audio', which could cause confusion. Thus clear but lacks sibling distinction.

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 only advises to 'Provide either data (base64) or url', which is partial parameter guidance. It provides no context on when to use this tool over alternatives like 'whatsapp_send_audio' or 'whatsapp_send_text', nor when not to use it.

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/wsapi-chat/wsapi-mcp'

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