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

@omnidim-ai/mcp-server

by Omnidim

previewWhatsappNumbers

Read-only

Preview WhatsApp Business Account numbers and their health before connecting, including an access-token check, so you can fix numbers marked needs_migration or needs_registration first.

Instructions

List the numbers on your WhatsApp Business Account with their health. Connects nothing.

The access token is checked first, against the same rules as connecting, so a preview that passes can connect.

Fix a number with needs_migration or needs_registration in WhatsApp Manager before you connect it, or its sends fail.

(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": {
      "waba_id": "<waba_id>",
      "access_token": "<access_token>"
    },
    "name": "previewWhatsappNumbers"
  }
}

Input Schema

NameRequiredDescriptionDefault
waba_idYesYour WhatsApp Business Account id, from WhatsApp Manager.
access_tokenYesA Meta access token that never expires, with both WhatsApp permissions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed4 schema fields changedv0.22.0
    • addedInput schema / properties / access_token
      Added value: +{
      +  "description": "A Meta access token that never expires, with both WhatsApp permissions.",
      +  "type": "string"
      +}
    • removedInput schema / properties / requestBody
      Removed value: -{
      -  "description": "The JSON request body.",
      -  "properties": {
      -    "access_token": {
      -      "description": "A Meta access token that never expires, with both WhatsApp permissions.",
      -      "type": "string"
      -    },
      -    "waba_id": {
      -      "description": "Your WhatsApp Business Account id, from WhatsApp Manager.",
      -      "type": "string"
      -    }
      -  },
      -  "required": [
      -    "waba_id",
      -    "access_token"
      -  ],
      -  "type": "object"
      -}
    • addedInput schema / properties / waba_id
      Added value: +{
      +  "description": "Your WhatsApp Business Account id, from WhatsApp Manager.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "requestBody"
      -]New value: +[
      +  "waba_id",
      +  "access_token"
      +]
  2. Addedv0.19.0

TDQS

A4.1/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, and the description adds non-obvious behavior beyond them: the access token is validated under the same rules as a real connection, so a passing preview guarantees connectability. It also discloses a downstream failure mode (sends fail for numbers needing migration or registration). No rate-limit or response-shape detail, but the safety and validation semantics are well covered.

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?

Purpose is front-loaded in the first sentence and every subsequent line adds information (no side effects, token validation, pre-connect fixes). The fragment "Connects nothing." is slightly ambiguous in isolation and could be phrased more explicitly, and the hard line breaks read as an unordered list rather than prose.

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 two-parameter read tool with no output schema, the definition covers what it returns at a high level (numbers plus their health), what it does not do (connect), and the preconditions for a successful later connect. It could say more about the health/status values returned, but nothing essential for correct invocation is missing.

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 waba_id and access_token are already fully documented in the schema, including the "never expires, both WhatsApp permissions" requirement. The description adds no parameter-level syntax or format meaning beyond that. Baseline 3 applies when the schema carries the load.

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?

States a specific verb and resource ("List the numbers on your WhatsApp Business Account with their health") and immediately disambiguates from the import sibling with "Connects nothing." An agent can tell this is a read-only preview distinct from importWhatsappNumbers without opening either schema.

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?

Gives clear workflow context: the token is validated "against the same rules as connecting, so a preview that passes can connect," which implies running this before importing. It also supplies a prerequisite (fix numbers with needs_migration/needs_registration in WhatsApp Manager first). It stops short of explicitly naming the alternative tool to call after a successful preview.

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