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

@omnidim-ai/mcp-server

by Omnidim

addWhatsappOptOut

Block a customer from receiving WhatsApp messages sent from a chosen workspace number, creating a lasting opt-out until you lift it.

Instructions

Block a customer from receiving messages you start from this number.

The block lasts until you lift it. The response is 201 for a new block. It is 200 with the entry unchanged if the customer was already blocked.

(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>",
      "customer": "<customer>"
    },
    "name": "addWhatsappOptOut"
  }
}

Input Schema

NameRequiredDescriptionDefault
noteNoA note for your team.
customerYesThe customer's number in international format, such as `+15551234567`.
number_idYesId of a WhatsApp number in your workspace, from [listWhatsappNumbers](/docs/api-reference/whatsapp/listWhatsappNumbers). A number in another workspace answers `404`.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.22.0
    • addedInput schema / properties / customer
      Added value: +{
      +  "description": "The customer's number in international format, such as `+15551234567`.",
      +  "type": "string"
      +}
    • addedInput schema / properties / note
      Added value: +{
      +  "description": "A note for your team.",
      +  "maxLength": 500,
      +  "type": "string"
      +}
    • removedInput schema / properties / requestBody
      Removed value: -{
      -  "description": "The JSON request body.",
      -  "properties": {
      -    "customer": {
      -      "description": "The customer's number in international format, such as `+15551234567`.",
      -      "type": "string"
      -    },
      -    "note": {
      -      "description": "A note for your team.",
      -      "maxLength": 500,
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "customer"
      -  ],
      -  "type": "object"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "number_id",
      -  "requestBody"
      -]New value: +[
      +  "number_id",
      +  "customer"
      +]
  2. Addedv0.19.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false and destructiveHint=false, so the description's value is in the extra detail: the block persists until explicitly lifted, and the status codes distinguish a new block (201) from an already-blocked customer (200, entry unchanged). That idempotency-style signal is genuinely useful and not derivable from annotations.

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 sentences, front-loaded with the core action and followed by duration and response semantics. The trailing '(Tags: WhatsApp)' line is minor noise but does not disrupt readability.

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?

For a 3-parameter mutation with full schema coverage, no output schema, and safety annotations present, the description supplies the key missing behavioral facts: persistence of the block and the two success status codes. Error cases are handled in the schema, so little is left unexplained.

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%, covering number_id's workspace scoping/404 behavior, customer's international format, and note's max length. The description adds no parameter-level meaning beyond the schema, so the baseline 3 applies.

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: block a customer from receiving messages started from this number. The phrase 'The block lasts until you lift it' implicitly signals the counterpart operation (liftWhatsappOptOut), so an agent can distinguish add vs. remove without opening a schema.

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?

Usage is implied rather than stated: 'until you lift it' points to the removal tool, but there is no explicit when-to-use/when-not guidance or named alternative. An agent can infer the intent, but the routing is left to inference.

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