Skip to main content
Glama

delete_whatsapp_workflow

Permanently delete a WhatsApp Business workflow from the WAzion MCP Server. Use this tool to remove workflows when they are no longer needed, following a mandatory confirmation process to prevent accidental deletions.

Instructions

Eliminar workflow — SOLO para BORRAR/ELIMINAR un workflow de WhatsApp de forma permanente. NO usar para editar, modificar, añadir palabras, simular, probar, unir, combinar ni reorganizar workflows. Si el usuario quiere cambiar algo, usar update_whatsapp_workflow. Si dice 'unir' o 'combinar' workflows, NO borrar ninguno — usar update_whatsapp_workflow para fusionar condiciones/acciones en uno existente. Antes de eliminar, SIEMPRE llama a list_whatsapp_workflows para confirmar con el usuario EXACTAMENTE cual workflow quiere borrar por nombre e ID. FLUJO DE CONFIRMACION OBLIGATORIO: Esta accion devolvera success=false con requires_confirmation=true — esto NO es un error, es el paso 1 del flujo normal de confirmacion. Cuando recibas esta respuesta: 1) Describe brevemente al usuario que workflow se eliminara, 2) PARA completamente, 3) NUNCA vuelvas a llamar a esta misma accion — hacerlo INVALIDA el token de confirmacion y rompe el flujo. Los botones de Confirmar/Cancelar aparecen automaticamente en la interfaz del usuario. [mutation] (requiere confirmación: pasar confirm=true para ejecutar)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesID del workflow a eliminar
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 and effectively discloses the mutation nature ('[mutation]', 'acción peligrosa'), permanent deletion scope, and the mandatory confirmation flow mechanics (returns requires_confirmation=true initially, must stop and not call again, UI buttons appear automatically). Minor gap: doesn't specify side effects on active workflow sessions or undoability.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

While all information is relevant for a destructive action, the description suffers from excessive capitalization and repetition (BORRAR/ELIMINAR listed twice, unir/combinar synonyms). The content is front-loaded but formatting reduces readability despite the justified length.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Excellent completeness given zero annotations and no output schema. It thoroughly explains the confirmation protocol (success=false is step 1, don't retry, wait for UI), mutation tag, and safety prerequisites. Sufficient for correct implementation of the two-phase commit pattern without external docs.

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% (both id and confirm documented). The description adds valuable workflow context: confirm is for 'ejecución de esta acción peligrosa' and triggers the dangerous action; id must be verified against list_whatsapp_workflows output to confirm 'EXACTAMENTE cual workflow' to delete. Elevates above baseline 3.

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 permanently deletes (Eliminar/BORRAR/ELIMINAR) a WhatsApp workflow. It clearly distinguishes from siblings by naming update_whatsapp_workflow as the alternative for editing, modifying, or merging workflows, and list_whatsapp_workflows as the prerequisite for confirmation.

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?

Exceptional guidelines with explicit 'NO usar para' prohibitions (editing, testing, merging, etc.) and named alternatives. It mandates calling list_whatsapp_workflows first to confirm the exact ID, and describes the two-step confirmation flow where the first call returns success=false as normal behavior, not an error.

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