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

@omnidim-ai/mcp-server

by Omnidim

setWhatsappCalling

Destructive

Turn WhatsApp calling on or off for a Meta Cloud number. Enabling requires all blocking checks to pass; disabling is always allowed.

Instructions

Turn calling on or off for a Meta Cloud number.

A customer calls this number. It does not place calls. Turning calling on needs every blocking check to pass, or the request answers 409. Turning it off is always allowed.

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

Input Schema

NameRequiredDescriptionDefault
enabledYes`true` to turn calling on, `false` to turn it off.
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. Changed3 schema fields changedv0.22.0
    • addedInput schema / properties / enabled
      Added value: +{
      +  "description": "`true` to turn calling on, `false` to turn it off.",
      +  "type": "boolean"
      +}
    • removedInput schema / properties / requestBody
      Removed value: -{
      -  "description": "The JSON request body.",
      -  "properties": {
      -    "enabled": {
      -      "description": "`true` to turn calling on, `false` to turn it off.",
      -      "type": "boolean"
      -    }
      -  },
      -  "required": [
      -    "enabled"
      -  ],
      -  "type": "object"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "number_id",
      -  "requestBody"
      -]New value: +[
      +  "number_id",
      +  "enabled"
      +]
  2. Addedv0.19.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=true and openWorldHint=true. The description adds genuinely new behavioral detail: the 409 response when blocking checks fail on enable, and the asymmetry that disabling is always allowed. It does not mention permission or auth requirements, 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?

The effect is front-loaded in the first sentence, followed by the failure mode and the enable/disable asymmetry. The 'A customer calls this number' line earns its place as disambiguation; the trailing tags line is minor padding.

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 boolean toggle with full schema coverage and no output schema, the definition covers the meaningful behavior: what it toggles, the 409 failure path, and the one-sided permission model. What a successful response looks like is not described, but no output schema exists to anchor that expectation.

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%, and both parameters are already documented there, including the enabled boolean's meaning and the number_id lookup. The description adds no syntax or format detail 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: 'Turn calling on or off for a Meta Cloud number.' The agent can tell it toggles a per-number setting rather than placing calls. It does not name the sibling getWhatsappCalling as the read counterpart, so differentiation from siblings is only partial.

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?

'A customer calls this number. It does not place calls' rules out the outbound-calling interpretation, and the description states when each mode is permitted (on requires all blocking checks; off is always allowed). It never names an explicit alternative for reading the current state or for placing calls, so there is no direct 'use X instead' routing.

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