Skip to main content
Glama
ChatDesq MCP Server

ChatDesq MCP Server

Official
by chatdesq

send_template_message

Sends one approved WhatsApp template to a single opted-in number; use list_templates to find the template name and required variables.

Instructions

Send one approved WhatsApp template to one number that has opted in. Use list_templates to find the template name and its variables.

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

Input Schema

NameRequiredDescriptionDefault
toYes
fromNo
nameYesApproved template name
languageNoTemplate language code, e.g. en or hi
parametersNoBody variables {{1}}, {{2}}, ... in order

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only, open-world, non-destructive operation, so the bar is lower. The description nonetheless adds real behavioral constraints the annotations do not convey: the template must be approved and the recipient must have opted in, both of which are gating conditions that can cause failure.

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 short sentences, front-loaded with the action and scope, followed by the prerequisite lookup. Nothing is redundant or padded.

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?

The core action and the template-lookup prerequisite are covered, but for an outbound side-effecting tool there is no mention of what is returned (e.g., a message ID usable with get_message_status) and no hint about failure modes such as an unapproved template, a non-opted-in number, or a variable-count mismatch against the template's placeholders.

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 60%; name, language and parameters are documented in the schema, and the description usefully ties 'template name and its variables' to the name/parameters pair. However, the two required-ish fields `to` and `from` have no descriptions anywhere, and the description does not clarify phone-number format or what `from` refers to (a WhatsApp number ID).

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: sending an approved WhatsApp template to a single opted-in number, including the one-template/one-recipient scope. It implicitly separates itself from send_text_message by emphasizing 'template', but never names that sibling or states explicitly that it is not for free-text messages.

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?

It supplies a concrete prerequisite workflow: use list_templates to obtain the template name and its variables before calling this tool, which directly addresses the two required parameters. It offers no exclusion guidance, such as when to pick send_text_message instead or what to do when the recipient has not opted in.

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