Skip to main content
Glama

wa_rule_delete

Deletes an auto-reply rule by its rule ID, using the ID returned by wa_rule_list. Use it to remove outdated or unwanted WhatsApp auto-reply rules from an account.

Instructions

Delete an auto-reply rule by id (see wa_rule_list).

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": {
      "rule_id": "<rule_id>"
    },
    "name": "wa_rule_delete"
  }
}

Input Schema

NameRequiredDescriptionDefault
rule_idYesRule id from wa_rule_list

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv3.0.0

TDQS

A3.5/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full burden. It says 'delete' but doesn't state whether deletion is permanent, whether it requires specific permissions, or what the response contains. For a destructive operation with zero annotation coverage, this is a significant omission.

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?

One short sentence, front-loaded with the verb and resource. The parenthetical cross-reference is efficient. Slightly under-specified rather than verbose.

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

Completeness2/5

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

A destructive mutation with no annotations and no output schema needs to disclose permanence, side effects on scheduled messages, and error behavior. The single sentence covers only identity, leaving an agent without the safety context it needs.

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% and the single parameter is fully documented in the schema. The description adds the sourcing hint ('see wa_rule_list') which goes slightly beyond the schema's 'Rule id from wa_rule_list' text, but not much.

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?

Specific verb+resource: 'Delete an auto-reply rule by id'. Distinguishes from wa_rule_list by naming it as the id source, and the verb separates it from wa_rule_add.

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?

Points to wa_rule_list for obtaining the id, which implies when to use it. But it gives no when-not guidance, no prerequisites, and no warning about irreversibility or what happens to active rules.

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