Skip to main content
Glama

Change a number's settings

update_number
Destructive

Rename a number, correct the age its owner declared, or change how it sends.

pacing is the send queue. On by default: messages to one person wait unless they reply to a message received in the last 24 hours. Known contacts still wait, and every batch message uses the full gap. Queued messages leave one at a time, 15–25 minutes apart unless you change the gap. An offline or restricted number pauses the queue. Messages that have not left resume with the configured spacing when it reconnects.

humanize controls the steps before sending: come online, read the last message and show the typing indicator. This adds a few seconds and does not bypass the queue.

newConversationsPerDay sets your own daily limit on new conversations in place of the automatic one. Automatic grows with the line's age, 5 → 10 → 20 a day, and it is what we recommend. Above that, WhatsApp is more likely to ban the number, and that risk is yours. null goes back to automatic, and a ban does the same.

historyPerChat is how many of the latest messages of each chat we keep for this number, so get_chat_history can read them back. It is 100 unless you change it, and 0 keeps none from then on.

Everything is optional and merges into what is already there. 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": {
      "numberId": "<numberId>"
    },
    "name": "update_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageNoCorrect how long this WhatsApp line has been in real use. It sets how many NEW conversations the number may start per day, unless newConversationsPerDay sets your own. Overstating it only costs you the number.
nameNoThe label you chose.
pacingNoHow this number spaces queued messages. Messages to known contacts still wait unless they reply to a message received in the last 24 hours. Every batch message uses the full gap.
humanizeNoWhich parts of the human act this number performs on every send. Each one is a pattern WhatsApp can read: a session that is never online, never reads and answers a long message instantly is describing itself as software.
numberIdYesId of the number, from list_numbers.
historyPerChatNoHow many of the latest messages of each chat we keep for this number, 0–1000 (100 unless you change it), so get_chat_history can read them back. 0 keeps none from then on.
newConversationsPerDayNoYour own daily limit on NEW conversations, 1–1000, in place of the automatic one (5 → 10 → 20 a day as the line ages, which is what we recommend). Above that, WhatsApp is more likely to ban the number. null goes back to automatic; a ban does the same.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnly=false, and the description adds genuinely new behavior: fields merge rather than replace ('Everything is optional and merges into what is already there'), an offline or restricted number pauses the queue and resumes with configured spacing, and setting historyPerChat to 0 permanently stops retaining history. Those resume/retention rules are not spelled out in the schema. Still missing is whether a merge is reversible, whether changes apply immediately to in-flight queued messages, and what auth/permission level the call needs.

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, then each paragraph is anchored by a backticked parameter name, which makes it easy to scan. The main waste is the extended restatement of schema text in the `pacing` and `humanize` paragraphs, and the trailing 'Free.' lands as an orphan fragment. Overall it is well organized but carries some duplication.

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 seven-parameter nested mutation tool with no output schema and a destructive hint, the definition covers the things an agent most needs: defaults, merge semantics, ban consequences, and queue pause/resume behavior. Gaps remain around return values and whether dispatching this mid-queue affects already-queued messages, but the essential calls are answerable from the text.

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 schema already defines every parameter, its bounds, and its defaults; the baseline is 3. The description largely paraphrases the schema for `pacing` and `humanize` (the 24-hour reply exemption, 15–25 minute gaps, default 100 history per chat), but it does add the resume-after-reconnect rule and the equivalence between `null` and a ban for newConversationsPerDay. That is marginal net-new meaning rather than substantive interpretation.

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?

Opens with concrete verbs and the resource they act on: 'Rename a number, correct the age its owner declared, or change how it sends.' That is far more than a restatement of the title and covers all three functional clusters (name, age, send settings). It stops short of naming any sibling (e.g. create_number for new lines) or explicitly scoping this as a partial-merge update, so differentiation is inferential.

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 real decision guidance inside the parameter space: automatic new-conversation limits are 'what we recommend', the explicit override carries ban risk, and `null` reverts to automatic. It also tells the agent why `historyPerChat` matters (so get_chat_history can read messages back). It never states when NOT to use this tool or which sibling to reach for instead when creating or inspecting a number.

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