Skip to main content
Glama

wa_list_delete

Destructive

Delete a WhatsApp list by name or ID while keeping its chats intact. Returns a plan first; runs only with confirm and action approval.

Instructions

Deletes a list (name or id). The chats stay; only the list goes away. Companion only; lists resolve by name or id from the companion. Without confirm=true it only returns the plan; runs with confirm=true AND WA_ALLOW_ACTIONS=1. The answer has verified=true once the companion's list state shows the change. Only when the owner explicitly asks.

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": {
      "list": "<list>"
    },
    "name": "wa_list_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
listYes
confirmNo

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.5/5.0
Behavior5/5

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

Goes well beyond the annotations: it discloses the non-obvious side effect (chats survive, only the list container is destroyed), the dry-run default where omit confirm returns a plan, the WA_ALLOW_ACTIONS=1 environment prerequisite, and how success is verified via verified=true. These are exactly the destructive-operation details an agent cannot get from destructiveHint alone.

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?

Front-loads the verb and the key safety fact, then layers prerequisites and verification in short clauses with no filler. The telegraphic fragments ("Companion only;", "Only when the owner explicitly asks.") are efficient but slightly clipped in a way that costs a little readability.

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?

For a destructive two-parameter tool, it covers scope, side effects, environment precondition, confirmation flow, and verification semantics; the output schema already carries return shape so no explanation of that is needed. Nothing an agent needs in order to call this correctly is absent.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 0%, so the description carries the burden and does: `list` accepts either a name or an id resolved from the companion, and `confirm` is explained as a plan-only vs. execute switch rather than a generic flag. Both parameters gain meaning not present in the bare schema titles.

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 ("Deletes a list") and immediately bounds the blast radius with "The chats stay; only the list goes away," which implicitly separates it from membership-removal siblings like wa_list_remove. It never names an alternative sibling explicitly, so differentiation is inferential rather than stated.

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?

Gives a strong when-not rule ("Only when the owner explicitly asks") plus the operational gate ("Companion only"), which tells the agent the context this call is valid in. It does not name the sibling to use instead when the intent is removing one chat from a list, so the alternatives side of the guidance is missing.

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