Skip to main content
Glama

Supergreen WhatsApp

delete_message

Destructive

Delete a previously sent WhatsApp message.

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": {
      "chatId": "<chatId>",
      "messageId": "<messageId>"
    },
    "name": "delete_message"
  }
}

Input Schema

NameRequiredDescriptionDefault
chatIdYesChat ID (e.g. 972501234567@c.us for 1:1 or groupId@g.us for group)
messageIdYesID of the message to delete

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.9/5.0
Behavior2/5

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

Annotations already declare destructiveHint=true, idempotentHint=false, and openWorldHint=true, so the risk profile is covered. The description adds nothing beyond that - notably it never says whether the delete applies for all participants or only the caller, or what happens if the message is already gone, which are the key behavioral questions for an unsend operation.

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?

A single front-loaded sentence with no filler. It is tight, though its brevity comes at the cost of the behavioral detail flagged elsewhere.

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?

For a destructive, non-idempotent mutation with no output schema, the definition is too thin: it never covers who may delete, the scope of the deletion, or the failure mode for an invalid messageId. An agent can identify the operation but not predict its consequences.

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 both chatId and messageId documented including a format example, so the description has little left to add. It mentions no parameter at all, which is acceptable only because the schema fully carries this burden.

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 ('Delete') and resource ('WhatsApp message') with the qualifier 'previously sent', which is enough to distinguish it from send_message and edit_message in the sibling list. It stops short of explicitly naming an alternative, but the operation is unambiguous.

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

Usage Guidelines2/5

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

There is no guidance on when to use this instead of alternatives (e.g. edit_message to amend rather than remove) and no stated prerequisites such as ownership or time-window limits. The only implicit hint is 'previously sent', which merely restates the obvious.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources