Skip to main content
Glama
@proof-holdings/mcp-server

@proof-holdings/mcp-server

Official

start_add_phone

Start a reverse-OTP flow to add a phone number: choose telegram, whatsapp, or sms, get a session ID plus channel instructions, then poll status until verification completes.

Instructions

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. An API key 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. Changed2 schema fields changedv1.7.2
    • removedInput schema / additionalProperties
      Removed value: -false
    • 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. First observedv1.1.0

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only say readOnlyHint=false and destructiveHint=false; the description goes far beyond by disclosing that nothing is sent before the user acts, what each channel returns, and that sms has no deep_link and may have empty did entries per region. The auth prerequisite and the warning that clients fold away tool results are behavioral facts an agent cannot infer from structured fields.

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?

Dense but front-loaded: the mechanism comes first, then per-channel returns, then agent usage, then auth. The 'Agent usage' paragraph repeats some of the return-field details from the preceding paragraph, which costs a little efficiency, but nearly every sentence carries operational information.

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?

Even though an output schema exists, the description supplies the parts schema cannot convey: which fields matter per channel, what the user must be told because tool results get folded, and the re-invocation requirement after login. Nothing needed to call this correctly and hand off to rendering/polling is missing.

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% so the enum values are already documented, but the description adds real meaning by mapping each channel value to a distinct output shape and downstream rendering path. It stops short of explaining constraints on the channel choice itself (e.g. availability per account), which keeps it below 5.

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 and resource: 'Start adding a new phone number by reverse OTP', and immediately explains the mechanism (user initiates, nothing is sent first). It is clearly distinguishable from start_add_email and from the later-stage get_add_phone_status by naming the session-ID handoff.

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: on telegram/whatsapp pass deep_link to render_auth_link, on sms show sms_message plus a non-empty did, never feed qr_text to a link renderer, then poll get_add_phone_status with the session ID. It also states the prerequisite auth sequence (start_login, show challenge, wait_for_login, retry) and that an API key alone is insufficient.

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

Deploy Server

Other Tools