Skip to main content
Glama

Send WhatsApp message

whatsapp_send_message

Sends text messages to contacts by saved name, country-coded phone number, or JID, optionally quoting a message ID; requires an open linked connection.

Instructions

Send a text message to a contact (by saved name, phone number with country code, or JID). Connection must be linked and open.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "contact": "<contact>",
      "text": "<text>"
    },
    "name": "whatsapp_send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
textYes
contactYesContact: saved name, phone number with country code (e.g. 919876543210), or full JID (e.g. 919876543210@s.whatsapp.net)
quoted_message_idNoMessage id to quote/reply to (from read tools)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden; it does add one genuinely useful behavioral fact — the connection must be linked and open, a prerequisite/state check. It stops short of covering delivery semantics, failure modes for unresolvable contacts, or what the call returns (a message id would matter given quoted_message_id exists), which is a real gap for an unannotated mutation tool.

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?

Two short sentences, front-loaded with the action and followed by the precondition, with no filler. Slight redundancy in re-listing the contact formats the schema already describes costs it a point but structure remains clean.

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 3-parameter mutation tool with no annotations and no output schema, the definition covers the action and the connection prerequisite but leaves the agent without failure behavior, contact-resolution failure handling, or any hint of the return value. Adequate to attempt the call, insufficient to handle its edge cases.

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?

It restates the three contact formats (saved name, phone with country code, JID) that the schema's contact description already documents in more detail, adding no new meaning. The text and quoted_message_id parameters get no elaboration in the description, though the schema covers quoted_message_id, putting baseline 3 in line with the 67% coverage.

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 gives a specific verb+resource ("Send a text message to a contact") and the "text" qualifier implicitly separates it from the sibling whatsapp_send_media's attachment-sending behavior. It is clear and actionable, though it never names a sibling explicitly to make the distinction airtight.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

It states a prerequisite ("Connection must be linked and open") which tells the agent when the call can succeed, but there is no guidance on choosing this over whatsapp_send_media for attachments or on what to do if the contact resolution fails. Usage is therefore implied rather than spelled out.

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