Skip to main content
Glama
WapiSender MCP

WapiSender MCP

Official
by Wapi-Sender

delete_flow

Permanently delete a flow from the active WhatsApp instance by its UUID. This action is irreversible and removes the flow from the instance.

Instructions

Permanently delete a flow from the active instance. This cannot be undone.

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": {
      "flowId": "<flowId>"
    },
    "name": "delete_flow"
  }
}

Input Schema

NameRequiredDescriptionDefault
flowIdYesFlow UUID to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.2.1

TDQS

B3.3/5.0
Behavior2/5

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

With no annotations, the description carries the full behavioral burden. It correctly discloses irreversibility, but says nothing about required permissions, what happens to dependent artifacts (logs, sessions, webhook bindings), whether a running flow can be deleted, or the error behavior for a nonexistent flowId — all material for a destructive mutation.

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 with zero waste; the destructive nature is front-loaded in the first word and the irreversibility warning immediately follows. Nothing is padded or repeated.

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 one-parameter tool with no output schema, the core intent and the irreversibility warning are present, which is enough to call it correctly. However, as an unannotated destructive operation it omits cascade effects, preconditions, and failure modes that an agent would need before firing it.

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% with a single required parameter ('Flow UUID to delete'), so the schema already does the work. The description adds no format, sourcing, or lookup guidance for flowId, making the baseline 3 appropriate.

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?

States a specific verb and resource ('Permanently delete a flow') plus the scope ('from the active instance'), which is unambiguous against siblings like create_flow, clone_flow, or update_flow_definition. It does not explicitly contrast itself with deactivate_flow, the nearest semantic neighbor, so it stops short of a 5.

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 word 'Permanently' and 'This cannot be undone' implicitly signal that this should be used only when irreversible removal is intended, giving implied rather than explicit usage guidance. No alternative is named, even though deactivate_flow is the obvious non-destructive substitute an agent should be routed to.

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