Skip to main content
Glama

Supergreen WhatsApp

send_message

Send a text message to a WhatsApp contact or group. Always confirm recipient and content with the user first.

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": {
      "toNumber": "<toNumber>",
      "message": "<message>"
    },
    "name": "send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
messageYesThe text message to send
toNumberYesRecipient's WhatsApp ID (e.g., '972501234567@c.us' for individuals or 'group-id@g.us' for groups)
linkPreviewNoWhether to show link previews for URLs in the message (default: false)
quotedMessageIdNoID of a message to quote/reply to

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare non-read-only, non-idempotent, open-world, non-destructive behavior. The description adds a meaningful safety behavior, requiring user confirmation of recipient and content before sending, which is not in the annotations. It stays silent, however, on the practical consequence of non-idempotency (duplicate sends on retry) and on failure modes for invalid numbers.

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?

Two sentences, zero filler, with the core action front-loaded and the safety constraint second. Nothing could be removed without losing information.

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 simple outbound send with full schema coverage, rich annotations, and no output schema, the definition is nearly complete. The main remaining gap is retry/duplication behavior for a non-idempotent send, which an agent calling this repeatedly would find useful.

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%, with all four parameters documented in detail, including the @c.us / @g.us recipient formats and the linkPreview default. The description adds nothing parametric beyond 'recipient and content', so the baseline of 3 applies.

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?

States a specific verb and resource: send a text message to a WhatsApp contact or group. The qualifier 'text message' implicitly separates it from send_media and send_poll without naming them, so an agent can place it among siblings, though the distinction is inferred rather than spelled out.

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?

Provides one concrete precondition ('Always confirm recipient and content with the user first') but gives no guidance on when to prefer this over send_media, send_poll, or edit_message. Usage is implied by the resource type rather than stated.

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.

Resources