Skip to main content
Glama
Vinix-Code-Dev

Wasapi MCP Server

send_template

Destructive

Send an approved WhatsApp template to one or more recipients. Supports variable substitution in body, header, and CTA, plus file attachments via URL.

Instructions

Envía una plantilla aprobada de WhatsApp a uno o más destinatarios. Soporta variables (body_vars/header_var/cta_var — consulta get_template_fields para conocerlas) y adjuntos por URL (url_file). from_id es opcional si WASAPI_FROM_ID está configurado.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
cta_varNoVariable del botón CTA
from_idNo
agent_idNo
url_fileNoURL pública de archivo adjunto (imagen/video/documento/audio)
body_varsNoVariables del cuerpo de la plantilla
file_nameNo
header_varNoVariable del encabezado
recipientsYeswa_ids destino (E.164 sin +)
template_idYesUUID de la plantilla (ver list_whatsapp_templates)
contact_typeYes
chatbot_statusNo
conversation_statusNo
Behavior4/5

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

Annotations already provide readOnlyHint=false and destructiveHint=true. The description adds behavioral context: variable support (with guidance to use get_template_fields), attachment by URL, and optional from_id depending on environment variable. This exceeds what annotations provide.

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?

The description is two sentences, front-loaded with the main purpose, and each sentence adds distinct value: purpose first, then variable and attachment details. No redundant or superfluous text.

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 tool with 12 parameters and no output schema, the description covers key aspects (template, recipients, variables, attachments) but omits explanation of fields like agent_id, file_name, chatbot_status, conversation_status, and contact_type. The description is adequate but has clear gaps for full autonomous use.

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 about 58% (7/12 parameters have descriptions). The description adds semantic value for body_vars, header_var, cta_var (referencing get_template_fields), url_file, and from_id. However, other parameters like agent_id, file_name, and enum fields lack additional explanation beyond schema definitions.

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?

The description clearly states the verb ('Envía'), resource ('una plantilla aprobada de WhatsApp'), and target ('uno o más destinatarios'). It differentiates from sibling send tools by specifying template-based sending with variable and attachment support.

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?

The description implies usage for sending approved templates to multiple recipients with variables/attachments, but does not explicitly state when to use alternatives like send_message or send_attachment, nor when not to use this tool.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Vinix-Code-Dev/wasapi-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server