Skip to main content
Glama

start_add_phone

Start adding a new phone number by reverse OTP: the user starts the exchange themselves and nothing is sent before they do; the response's instructions field says what they do (on telegram the bot then asks them to tap a button that shares their number). Returns a session ID; on telegram/whatsapp also deep_link, qr_code (base64 PNG) and qr_text (UTF-8 text QR), and on sms sms_message and sms_dids (one entry per region; a region with no number configured has an empty did) with no deep_link.

Agent usage: on telegram/whatsapp pass deep_link to render_auth_link for the link and a QR code. On sms there is no deep_link — show sms_message and a number from an sms_dids entry whose did is non-empty. Never hand a qr_text to a link renderer — it is a link already rendered as QR art. Then poll get_add_phone_status with the session ID.

The user does not see tool results — most clients fold them away, render_auth_link's output included. Before you wait or poll, put what the user must act on into your own reply text: the link itself (not a sentence announcing it), the SMS text and number, or a note to check their inbox.

ACCESS: needs a Proof account, signed in: call start_login, show the user its challenge, then wait_for_login, then call this tool again. Authenticating this client alone does NOT open this tool.

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

Input Schema

NameRequiredDescriptionDefault
channelYesChannel for phone verification

Output Schema

NameRequiredDescriptionDefault
statusYes
channelYes
qr_codeNoBase64-encoded PNG QR code for `deep_link`
qr_textNoUTF-8 text QR for `deep_link`, for terminal/agent rendering
sms_codeNoThe short code the person texts (`sms` only)
sms_didsNoOur SMS numbers, one entry per region and always all three. A region with no number configured carries an empty `did` and no QR code.
deep_linkNoOpens Telegram or WhatsApp with what the person sends (`telegram`, `whatsapp`)
expires_atYes
session_idYes
sms_messageNoThe message to send (`sms` only)
instructionsYesOne line telling the person what to do

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "description": "A phone-add session: the person proves the number by sending from it over `channel`",
      +  "properties": {
      +    "channel": {
      +      "type": "string"
      +    },
      +    "deep_link": {
      +      "description": "Opens Telegram or WhatsApp with what the person sends (`telegram`, `whatsapp`)",
      +      "type": "string"
      +    },
      +    "expires_at": {
      +      "type": "string"
      +    },
      +    "instructions": {
      +      "description": "One line telling the person what to do",
      +      "type": "string"
      +    },
      +    "qr_code": {
      +      "description": "Base64-encoded PNG QR code for `deep_link`",
      +      "type": "string"
      +    },
      +    "qr_text": {
      +      "description": "UTF-8 text QR for `deep_link`, for terminal/agent rendering",
      +      "type": "string"
      +    },
      +    "session_id": {
      +      "type": "string"
      +    },
      +    "sms_code": {
      +      "description": "The short code the person texts (`sms` only)",
      +      "type": "string"
      +    },
      +    "sms_dids": {
      +      "additionalProperties": {},
      +      "description": "Our SMS numbers, one entry per region and always all three. A region with no number configured carries an empty `did` and no QR code.",
      +      "properties": {
      +        "americas": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "did": {
      +              "type": "string"
      +            },
      +            "flag": {
      +              "type": "string"
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "qr_code": {
      +              "type": "string"
      +            },
      +            "qr_text": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "did",
      +            "label",
      +            "flag"
      +          ],
      +          "type": "object"
      +        },
      +        "europe": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "did": {
      +              "type": "string"
      +            },
      +            "flag": {
      +              "type": "string"
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "qr_code": {
      +              "type": "string"
      +            },
      +            "qr_text": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "did",
      +            "label",
      +            "flag"
      +          ],
      +          "type": "object"
      +        },
      +        "israel": {
      +          "additionalProperties": {},
      +          "properties": {
      +            "did": {
      +              "type": "string"
      +            },
      +            "flag": {
      +              "type": "string"
      +            },
      +            "label": {
      +              "type": "string"
      +            },
      +            "qr_code": {
      +              "type": "string"
      +            },
      +            "qr_text": {
      +              "type": "string"
      +            }
      +          },
      +          "required": [
      +            "did",
      +            "label",
      +            "flag"
      +          ],
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "americas",
      +        "europe",
      +        "israel"
      +      ],
      +      "type": "object"
      +    },
      +    "sms_message": {
      +      "description": "The message to send (`sms` only)",
      +      "type": "string"
      +    },
      +    "status": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "session_id",
      +    "channel",
      +    "status",
      +    "expires_at",
      +    "instructions"
      +  ],
      +  "type": "object"
      +}
  2. Changed1 schema field changed
    • removedInput schema / additionalProperties
      Removed value: -false
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say this is not read-only and not destructive; the description adds far more — nothing is sent until the user acts, a session ID is returned, and the return payload differs by channel (deep_link/qr_code/qr_text on telegram/whatsapp, sms_message/sms_dids on sms, empty did per unconfigured region). It also discloses the auth prerequisite chain (start_login → wait_for_login → call again) and that authenticating the client alone is insufficient.

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?

Front-loaded with the operation, then an 'Agent usage' block, then access — a clear progression with no filler sentences. It is dense and long for a one-parameter tool, but nearly every clause carries operational information (return fields, prohibition, next call).

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?

Covers the full lifecycle for a complex multi-step auth flow: prerequisite login sequence, per-channel return values, what to render, the client-side caveat that tool results are folded away, and the next tool to call. With an output schema present it correctly does not waste words on raw return typing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100% with a three-value enum, so the baseline is already 3; the description goes beyond it by explaining that the channel value changes the entire response shape and which fields are usable on each. It does not explain any semantics of the enum values beyond the resulting payload, but that is the only meaningful distinction here.

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 ('start adding a new phone number') plus the mechanism ('reverse OTP'), which separates it from start_add_email and from status/removal siblings. An agent knows exactly what operation this initiates before opening the schema.

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?

Gives explicit per-channel routing ('pass deep_link to render_auth_link', 'on sms there is no deep_link — show sms_message and a non-empty did'), an explicit prohibition ('never hand a qr_text to a link renderer'), and the follow-up step ('poll get_add_phone_status with the session ID'). It also resolves the ambiguity of what the user actually sees, telling the agent to inline the actionable content into its own reply.

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.