Skip to main content
Glama

WhatsApp: Send message

whatsapp_send_message
Destructive

Send a WhatsApp message in an existing chat from the user's own account. If chat_id is unknown, call whatsapp_list_conversations first. Use only after the final message is explicitly requested/approved.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
textYes
chat_idYesExact chat/conversation ID returned by conversation/inbox listing. Never pass a person name or provider user ID. Chat ID: Exact provider chat/conversation ID. LinkedIn chat IDs may also be visible in /messaging/thread/{chat_id}/ URLs. Obtain with: provider list conversations/inbox chats -> chat.id Never pass: person name, user_id, message_id.
account_idNoOptional Nilyo connection ID (unipile_account_id from list_connected_accounts). Omit when the user has one account for this provider. When several exist, Nilyo never guesses: list them (display name, identifier, provider user ID), choose the one the user named or ask, and pass its ID here.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already signal a non-readonly, destructive, non-idempotent external action. The description adds valuable behavioral context beyond that: the action is scoped to the user's own account, requires an existing chat, and is gated on explicit user approval, which mitigates the risk of unsolicited sends.

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 short sentences with no filler. The core action is front-loaded, followed by the prerequisite for chat_id and the approval guardrail, making it easy for an agent to parse in order.

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?

For a side-effecting send action, the description supplies the critical missing context: how to resolve an unknown chat_id and when sending is permitted. It leaves implicit the fallback to whatsapp_start_conversation for a new chat and does not describe the return value, but the tool is otherwise simple enough to call correctly.

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?

The input schema already documents chat_id and account_id in detail, and the description adds no new parameter-level meaning beyond saying chat_id must refer to an existing chat. With schema coverage at 67% and text being self-explanatory, the baseline of 3 is appropriate.

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 states a specific verb and resource: 'Send a WhatsApp message in an existing chat from the user's own account.' It clearly distinguishes this tool from related siblings like whatsapp_start_conversation by limiting it to existing chats, and the provider-specific name prevents confusion with generic messaging_send_message.

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 provides explicit operational guidance: call whatsapp_list_conversations first if chat_id is unknown, and only send after the final message is explicitly requested or approved. It does not explicitly mention when to use whatsapp_start_conversation for new chats, so it stops short of full alternative routing.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.