Skip to main content
Glama
@omnidim-ai/mcp-server

@omnidim-ai/mcp-server

by Omnidim

liftWhatsappOptOut

Destructive

Lift a WhatsApp opt-out you or a marketing campaign added so the contact can receive messages again; customer STOP blocks must be lifted by the customer in WhatsApp.

Instructions

Lift a block you added, or a marketing block made in WhatsApp.

The entry stays in the list with active: false. You cannot lift a customer's own STOP over the API. The customer must lift it in WhatsApp or message you again.

(Tags: WhatsApp)

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": {
      "number_id": "<number_id>",
      "opt_out_id": "<opt_out_id>"
    },
    "name": "liftWhatsappOptOut"
  }
}

Input Schema

NameRequiredDescriptionDefault
number_idYesId of a WhatsApp number in your workspace, from [listWhatsappNumbers](/docs/api-reference/whatsapp/listWhatsappNumbers). A number in another workspace answers `404`.
opt_out_idYesId of an active opt-out entry, from `listWhatsappOptOuts`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.19.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations flag destructiveHint=true, which an agent could easily read as record deletion; the description corrects this by explaining the entry remains in the list with active: false, i.e. it is a soft deactivation. It also discloses an authority limit (customer-initiated STOPs are not removable) that annotations cannot express. Only error behavior beyond the schema's 404 note and idempotency are left unstated.

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?

Three short paragraphs, front-loaded with the action, then the resulting state, then the hard limit, each contributing new information. The trailing '(Tags: WhatsApp)' line is boilerplate that earns nothing. No sentence is wasted otherwise.

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

Completeness4/5

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

With only two fully documented required parameters, no output schema, and annotations covering the safety profile, the description supplies what an agent needs: the action, the resulting record state, and the case where the call is not permitted. Nothing about return shape is required since no output schema exists. What remains thin is failure behavior for an opt-out that is not currently active.

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%, so both number_id and opt_out_id are already fully documented, including the 404 cross-workspace case and the source endpoint for each id. The description adds no format, range, or sourcing detail beyond that. Baseline 3 applies where the schema carries the parameter 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?

The description opens with a specific verb and resource: 'Lift a block' covering both self-added blocks and WhatsApp marketing blocks. That is far more precise than the name alone, which leaves 'opt-out' ambiguous. It never names the counterpart tool (addWhatsappOptOut) or listWhatsappOptOuts explicitly, so sibling differentiation is implied by the inverse action 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?

It clearly states the boundary condition for use: you can lift a block you added or a marketing block, but you cannot lift a customer's own STOP via the API, and the customer must do it in WhatsApp or by messaging again. That is an explicit exclusion that prevents a failed or inappropriate call. It stops short of naming the tool to use instead when the STOP is customer-owned.

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

Deploy Server

Other Tools