Skip to main content
Glama

Turbo Notify: WhatsApp for AI agents

Take a number offline without unlinking it

disconnect_number
Idempotent

Take a WhatsApp number offline on purpose, keeping its link to the phone.

The stored credentials survive, so connect_number brings it straight back with no pairing. Nothing is deleted. Disconnecting does not stop billing: an extra number is billed every cycle until it is removed.

Returns immediately, before the number is offline. The answer has the number's alias, status set to disconnecting and at, the moment the request was accepted. disconnecting is not a status that get_number reports: it keeps showing the previous status and its own at until the number is offline.

While disconnected the number cannot send: a send, reply or reaction through it is refused at once with number_not_connected, never held to go out later. It receives nothing until it is connected again.

Calling it again changes nothing further. A number that is already offline answers with an already_disconnected error, which means the goal is met, not that the call failed.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "disconnect_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
number_aliasNoWhich of the organization's WhatsApp numbers this acts on: `main`, the alias of an extra number, or the number's `id` (`num_…`), which stays the same when the alias is renamed. Call `list_numbers` to see them. Defaults to the main number.main

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Goes well beyond the annotations: credentials survive, billing continues, the call returns before the number is actually offline, the returned status is 'disconnecting' which get_number never reports, sends are refused immediately with number_not_connected rather than queued, and inbound is dropped. The idempotence clause and the already_disconnected error semantics directly reinforce idempotentHint/destructiveHint with concrete behavior. It also corrects a likely misreading by framing already_disconnected as success, not failure.

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 and the no-unlink guarantee are front-loaded, then consequences follow in a logical order (persistence, billing, immediate return, send refusal, idempotence). The five-paragraph shape is longer than most tool descriptions, but nearly every sentence adds a distinct behavioral fact rather than restating the schema; slight compaction of the return-status paragraph would tighten it further.

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

Completeness5/5

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

An output schema exists, yet the description still pins down the meaningful return shape (alias, status=disconnecting, at) and, crucially, warns that get_number reports a different status, which resolves an apparent inconsistency an agent would otherwise hit. Billing, idempotence, send refusals, and error semantics are all covered, leaving nothing material an agent needs before calling.

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 number_alias already documents aliases, ids, list_numbers, and the main default exhaustively. The prose adds no meaning about the parameter, mentioning only the returned alias. Baseline 3 is appropriate since the schema carries this dimension.

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?

Opens with a specific verb+resource and an explicit scope qualifier: 'Take a WhatsApp number offline on purpose, keeping its link to the phone.' The title reinforces the boundary ('without unlinking it'), and the following sentence ('Nothing is deleted') separates it from a removal operation, so an agent can distinguish it from connect_number and from deletion siblings immediately.

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 when-to-use context and states the key trade-off that selects against it: 'Disconnecting does not stop billing: an extra number is billed every cycle until it is removed,' which tells the agent that stopping billing requires a different operation. It also names connect_number as the reverse path and explains that re-calling is harmless. It does not name the removal sibling explicitly, so routing to it is inferential rather than spelled out.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.