Skip to main content
Glama
SendPulse MCP Server

SendPulse MCP Server

by Sudo-psc

send_template_message

Sends a WhatsApp template message to a contact via a bot and template ID, accepting optional phone number, contact ID, template parameters, and language code.

Instructions

Send a template message to a WhatsApp contact

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": {
      "bot_id": "<bot_id>",
      "template_id": "<template_id>"
    },
    "name": "send_template_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
phoneNoRecipient phone number
bot_idYesThe ID of the bot
contact_idNoRecipient contact ID (alternative to phone)
parametersNoTemplate parameters
template_idYesID of the message template
language_codeNoLanguage code for the templateen

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure, yet it only restates that a message is sent. It does not say whether the send is real and irreversible, whether the recipient must have opted in, what happens when the template is unapproved or the language is missing, or what the response contains.

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?

A single front-loaded sentence with no filler, so nothing needs trimming. Its brevity is efficient, though it borders on under-specification for a six-parameter messaging operation rather than being genuinely concise.

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?

For a six-parameter outbound messaging tool with no annotations and no output schema, one sentence is not enough. Required-field interplay (bot_id plus template_id, with phone or contact_id as the recipient), template variable binding, and failure modes all go unexplained.

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%, so every parameter is already documented in the schema, giving a baseline of 3. The description adds no further meaning, for example how the 'parameters' array maps positionally onto template placeholders, or that phone and contact_id are mutually exclusive.

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 and resource: 'Send a template message to a WhatsApp contact'. The word 'template' distinguishes it from a generic free-form send, but the definition never explicitly contrasts it with the sibling send_message, so the differentiation is implied rather than stated.

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?

There is no when-to-use guidance at all: nothing says when a template message is preferred over send_message, no mention that templates must be pre-approved, and no indication of the messaging-window constraints that normally determine template usage. The agent must infer the choice from the tool name alone.

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