Skip to main content
Glama

Enter the WhatsApp code

whatsapp_number_verify_code
DestructiveIdempotent

Submits the WhatsApp registration code the person read from the text or the call. Pass those digits in code. A code is 4 to 8 digits. The answer leaves the digits out. When the number goes live this charges the WhatsApp AI monthly fee from that service's rate sheet, through the wallet, credit first. confirm false is a preview: the code is not sent and nothing is charged. The same on every client.

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": {
      "did_id": "<did_id>",
      "code": "<code>"
    },
    "name": "whatsapp_number_verify_code"
  }
}

Input Schema

NameRequiredDescriptionDefault
codeYesThe digits the person read. 4 to 8 digits.
did_idYes
confirmNotrue submits the code and charges the rate-sheet fee. false is a preview that charges nothing.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

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, idempotentHint=true and openWorldHint=true, so the write/charge profile is partly covered structurally. The description does add genuine context beyond that: the fee is billed monthly from the rate sheet via the wallet with credit used first, and that the response omits the submitted digits. It still does not say what happens on an incorrect or expired code, which matters for a confirmable, charged mutation.

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 action and the confirm semantics are front-loaded and the sentences are short with no repetition of the title. The closing line 'The same on every client' is filler with no actionable meaning, and 'The answer leaves the digits out' is an awkward way to say the response redacts the code.

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?

With no output schema, the description usefully covers the return-value behavior (digits omitted) plus billing and preview semantics, which is the right load-bearing content for a 3-parameter charged mutation. The remaining gap is error/retry behavior and the purpose of did_id.

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 coverage is 67%; the description mostly restates what the schema already documents (code is 4 to 8 digits, confirm false is a charge-free preview) without adding format or validation detail. The one parameter with no schema description at all, did_id, is never mentioned in the description, leaving that gap unaddressed.

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?

The description opens with a specific verb and resource: submits the WhatsApp registration code, and clarifies the code is the one the person received by text or call. That implicitly sequences it after the request-code step, but it never names whatsapp_number_request_code as the sibling that produces the input, so sibling differentiation is left to inference.

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?

It states the prerequisite source of the code (the text or the call) and explains the two modes: confirm false is a preview that sends nothing and charges nothing, versus a real submission. It stops short of any explicit when-not guidance, such as what to do if no code has been requested or the code is wrong.

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.