Skip to main content
Glama
messaging-mcp

messaging-mcp

Send message

send_message

Sends a text message to a WhatsApp, Instagram, Messenger, or Telegram conversation, checking channel limits and reply-window rules first so rejected sends are explained.

Instructions

Send a text message to a conversation. The message is first checked against the channel limits and the platform rules; if the reply window is closed nothing is sent and the result says why, with alternatives (on WhatsApp: approved templates). Use kind "tag" with a tag such as HUMAN_AGENT only when a person is replying manually and sender is "human". Only send what the user asked for.

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": {
      "channel": "<channel>",
      "conversation_id": "<conversation_id>",
      "text": "<text>"
    },
    "name": "send_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
tagNoMessage tag for kind tag, for example HUMAN_AGENT.
kindNofree_form (default) or tag (outside the window, needs tag).
textYesThe message text.
senderNobot (default) or human. Say human only when a person is really sending this manually.
channelYesChannel: whatsapp, instagram, messenger or telegram.
conversation_idYesThe other party id as returned by list_conversations: phone number (WhatsApp), PSID (Messenger), IGSID (Instagram) or chat id (Telegram).
reply_to_message_idNomessage_id from get_conversation to quote.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare the write, non-idempotent, open-world profile, and the description adds real behavior: pre-send validation against channel limits and platform rules, and the fact that a closed reply window causes nothing to be sent with an explanatory result. It does not describe the success payload or idempotency behavior beyond the annotation, which keeps it short of a 5.

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?

Front-loaded with the core action, then failure behavior, then the tag/sender constraint — every sentence carries information. It is slightly dense with parentheticals and dash-free run-ons, but there is no redundant restatement of the name or schema.

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 7-parameter mutating send tool with no output schema, the description covers the important operational risks: validation, closed windows, and the manual-reply path. It stops short of indicating what a successful result contains (e.g., a message id) or any rate-limit behavior, which are the remaining gaps.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds cross-parameter meaning the schema does not: the coupling of kind=tag, a tag value, and sender=human as a single manual-reply scenario. The remaining parameters (conversation_id, reply_to_message_id) are left entirely to their schema text.

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+resource ('Send a text message to a conversation') and, by contrasting free-form text with the approved-template path when the reply window is closed, implicitly separates itself from send_whatsapp_template. An agent can tell which tool to reach for without opening either schema.

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?

Gives conditional guidance for the non-obvious paths: use kind "tag" with a tag such as HUMAN_AGENT only when a person replies manually and sender is "human", and fall back to approved templates when the window is closed. It never names the template sibling explicitly, so the routing is implied rather than spelled out, but the when-to-use conditions are clear.

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