Skip to main content
Glama

Add a WhatsApp number

create_number

Create a new WhatsApp number slot on the account and return it. This is step one of two: the slot starts disconnected and cannot send until pair_number links a real WhatsApp account to it. How many can exist at once is what the plan sells. Free.

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": {
      "name": "<name>"
    },
    "name": "create_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageNoHow long this WhatsApp line has been in real use. We cannot see it, so we ask. It sets how many NEW conversations the number may start per day: `new` (registered days ago) starts at 5/day and climbs, `established` (in use over a month) starts at the 20/day ceiling. Defaults to `new`, the safe answer. Overstating it only costs you the number.
nameYesA label you choose, e.g. “Support”. Only you ever see it.
historySyncNoAsk WhatsApp for older chats when the number pairs. Off by default. WhatsApp sends the most recent chats either way, and the number keeps them like any other message (see historyPerChat).
idempotencyKeyNoYour own unique id for this call, such as a UUID. If the call fails with no answer, call again with the same key: it runs once, and the retry gets the first answer back. Answers are kept for 24 hours.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare this is a non-read-only but non-destructive, closed-world write. The description adds real context beyond that: the slot is created in a `disconnected` state, is inert until paired, and its count is capacity-limited by the plan. It does not describe what happens on name collisions or quota exhaustion, but the state-transition disclosure is the useful part.

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 verb, then the sequencing dependency, then the capacity note. The fragment "Free." is terse but communicates a real pricing fact; nothing else is wasted.

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 create tool with no output schema, the description covers purpose, lifecycle starting state, the required follow-up step, and capacity constraints. Only ambiguity is what the returned object contains, but "return it" plus the fully documented input schema makes this low-risk.

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 the enum meanings for `age` and the idempotency contract for `idempotencyKey` are already fully documented in the schema. The description adds nothing about parameters, which is acceptable and sets the baseline at 3.

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 ("Create a new WhatsApp number slot on the account") plus the return behavior. It also distinguishes the operation from pairing by framing it as a slot creation rather than a connection step.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly frames this as "step one of two" and names the follow-up sibling, pair_number, along with the condition that gates real use ("cannot send until pair_number links a real WhatsApp account"). An agent knows exactly when to call this versus the pairing tool.

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.

Resources