Skip to main content
Glama

create_scheduled_message

Schedule WhatsApp messages for future delivery by specifying recipient, message content, and exact send time. Requires active WhatsApp session confirmation before execution.

Instructions

Programar mensaje de WhatsApp — Programa un mensaje de WhatsApp para envio futuro. PREREQUISITO OBLIGATORIO: ANTES de llamar esta accion, DEBES llamar a get_whatsapp_status para obtener el session_id de una sesion conectada. Sin session_id la accion SIEMPRE falla. FLUJO DE CONFIRMACION: Esta accion devolvera requires_confirmation=true con success=false - esto NO es un error, es el flujo normal. Cuando recibas esto, describe brevemente al usuario lo que se programara y PARA. NO llames de nuevo a esta accion. El sistema mostrara botones automaticamente. [mutation] (requiere confirmación: pasar confirm=true para ejecutar)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYesID numerico de la sesion de WhatsApp. OBLIGATORIO. Obtener llamando a get_whatsapp_status primero y usar el campo 'id' de una sesion con status 'connected'. Si hay varias sesiones, preguntar al usuario cual usar
phoneYesNumero de telefono destino con prefijo internacional formato E.164 (ej: +34612345678). Si el usuario da un numero sin prefijo, preguntarle el pais
message_textYesTexto del mensaje a enviar
scheduled_atYesFecha y hora de envio en formato YYYY-MM-DD HH:MM:SS. Debe ser una fecha futura. Si el usuario dice una fecha relativa como 'manana a las 10', convertirla al formato correcto
agent_idNoID del agente que programa el mensaje
confirmNoPasar true para confirmar la ejecución de esta acción peligrosa
Behavior4/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. It explains the critical two-phase flow (initial call returns requires_confirmation=true with success=false), clarifies this is normal behavior not an error, and notes the system will display automatic buttons. It identifies the operation as a mutation. Could be improved by mentioning idempotency or cancellation behavior, but covers the essential behavioral contract well.

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?

Uses structural markers (PREREQUISITO OBLIGATORIO, FLUJO DE CONFIRMACION) and strategic capitalization to highlight critical safety information. Every sentence serves a purpose: stating the operation, enforcing prerequisites, or guiding the confirmation flow. Slightly repetitive ('SIEMPRE falla', 'NO es un error') but justified given the complexity of the confirmation flow and consequences of misuse.

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?

Despite having no output schema, the description compensates by explaining the return behavior (requires_confirmation=true, success=false). It adequately covers the complex confirmation flow and mandatory prerequisites. Could be improved by describing the final success state or failure modes beyond missing session_id, but provides sufficient context for safe operation.

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%, establishing a baseline of 3. The description reinforces critical parameters (session_id must come from get_whatsapp_status, confirm=true required for execution) but largely repeats information already present in the schema rather than adding new semantic context about parameter formats or validation rules.

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 explicitly states the tool schedules WhatsApp messages for future delivery ('Programa un mensaje de WhatsApp para envio futuro'). It uses a specific verb (schedule/program) and resource (WhatsApp message) that clearly distinguishes it from siblings like send_whatsapp_message (immediate) or update_scheduled_message (modification).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly names the prerequisite tool that must be called first ('DEBES llamar a get_whatsapp_status'). It clearly defines the two-phase confirmation flow, explicitly states what NOT to do ('NO llames de nuevo a esta accion'), and explains when to use the confirm parameter. This provides clear guidance on when and how to use the tool versus alternatives.

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/wazionapps/wazion-mcp-server'

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