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

@omnidim-ai/mcp-server

by Omnidim

listWhatsappOptOuts

Read-only

Lists customers who opted out of WhatsApp messages from a specified number, oldest first, with active, lifted, or all opt-outs and optional customer lookup.

Instructions

Who opted out of messages from this number, oldest first. By default it lists active opt-outs only.

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

Input Schema

NameRequiredDescriptionDefault
limitNoRows per page.
activeNo`true` for active only, `false` for lifted only, `all` for both.true
cursorNoThe `next_cursor` from the previous page.
customerNoFind one customer by any spelling of their number.
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. 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=true and openWorldHint=false, so safety is covered. The description adds genuinely new behavioral context: results are ordered oldest first and the default result set is restricted to active opt-outs, which affects how an agent interprets an empty or partial response. It omits pagination behavior even though a cursor exists, which keeps it below a 5.

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?

Two short sentences, front-loaded with the resource and scope, with the default-filter caveat immediately after. The trailing '(Tags: WhatsApp)' is minor noise that does not earn its place, preventing a 5.

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 read-only list tool with full schema coverage and no output schema, the description supplies the essentials: what is listed, ordering, and default filtering. Pagination is left entirely to the schema, which is acceptable but leaves a small gap for a tool whose responses may be long.

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%, including the active enum semantics and cursor/limit meanings, so the schema does the heavy lifting. The description reinforces ordering ('oldest first'), which is relevant to cursor paging, but adds no new meaning about individual parameters. 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?

The description states a specific resource and scope: 'Who opted out of messages from this number, oldest first,' which tells an agent exactly what the tool returns. It is clearly distinct from addWhatsappOptOut and liftWhatsappOptOut by implication (listing vs. mutating), though it never names those siblings to reinforce the distinction.

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?

The line 'By default it lists active opt-outs only' implies the default usage case but gives no explicit when-to-use versus when-to-use-an-alternative guidance, and does not mention addWhatsappOptOut or liftWhatsappOptOut for the write side. Usage is inferable but not directed.

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