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

@proof-holdings/mcp-server

Official

create_account

Create an account-bootstrap session for agent-driven onboarding. Public endpoint (no API key required). Returns a session id, channel-specific instructions, and — FOR TELEGRAM AND WHATSAPP ONLY — deep_link, qr_code (base64 PNG) and qr_text…

Instructions

Create an account-bootstrap session for agent-driven onboarding. Public endpoint (no API key required). Returns a session id, channel-specific instructions, and — FOR TELEGRAM AND WHATSAPP ONLY — deep_link, qr_code (base64 PNG) and qr_text (UTF-8 text QR).

The endpoint is safe to call regardless of whether the submitted identity is new: completing verification transparently creates a User when none exists, or logs the user in when one already does. The response is intentionally uniform — the server does NOT reveal whether the identity is already registered (this would be a user-enumeration oracle). If the agent needs to distinguish new-vs-returning users, call get_current_user after verification and inspect the user's created_at.

EMAIL CHANNEL SENDS NOTHING HERE. The response carries email_sent=false and send_required=true: confirm with the user that the address is theirs, then call send_account_email. The other channels dispatch nothing either way — the user sends the first message themselves (reverse OTP).

Agent usage: (1) Call create_account with the user's chosen channel. (2) For email, confirm with the user and call send_account_email. On telegram/whatsapp pass deep_link to render_auth_link, which returns the clickable link with a QR code beneath it to you. On sms deep_link is an EMPTY STRING and render_auth_link will reject it — show sms_message, which is what the user sends; this response carries no destination number, so do not invent one. Do not hand qr_text to a link renderer either — it is the link already rendered as QR art; print it verbatim inside a fenced code block if a real terminal needs the QR. (3) Once your reply shows the user the challenge, call wait_for_account_creation with the session id until verification completes. On email the user must press "Sign in the browser that requested this" on the link's page — "Sign in here" signs in the browser they clicked from, and the wait then ends with "completed_elsewhere". (4) On verified, JWT + refresh cookies are set; proceed with whatever follow-up the agent was asked to do.

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.

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": "create_account"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoEmail address. Required for email channel.
channelYesAuthentication channel the user will verify through
phone_numberNoE.164 phone number. Required for SMS channel (determines DID routing).

Output Schema

NameRequiredDescriptionDefault
idNo
typeNoOutcome of an account-session creation. `account_creation` means a new User will be written on verification. `login` indicates the submitted identity matched an existing User and the session will log them in.
emailNo
statusNoStatus of an auth session. `completed_elsewhere` (terminal, no cookies): an email sign-in the person completed in ANOTHER browser by pressing "Sign in here" on the link's page — this session will never become `verified`. `account_access_off` (terminal, no cookies): a WhatsApp, Telegram or SMS sign-in from a number whose account has turned its Account access off — the number signs in to nothing and no account is created for it. An email sign-in never reads it: that session simply expires, so the page discloses nothing about the address.
channelNoAuthentication channel
qr_codeNoBase64-encoded PNG QR code for the deep link
qr_textNoUTF-8 text QR for terminal/agent rendering
user_idNo
sms_codeNoShort code for SMS-channel reverse-OTP
deep_linkNo
created_atNo
email_sentNo
expires_atNo
email_errorNo
sms_messageNo
verified_atNo
instructionsNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv1.12.0
    • changedOutput schema / properties / status / description
      Previous value: -"Status of an auth session. `completed_elsewhere` (terminal, no cookies): an email sign-in the person completed in ANOTHER browser by pressing \"Sign in here\" on the link's page — this session will never become `verified`."New value: +"Status of an auth session. `completed_elsewhere` (terminal, no cookies): an email sign-in the person completed in ANOTHER browser by pressing \"Sign in here\" on the link's page — this session will never become `verified`. `account_access_off` (terminal, no cookies): a WhatsApp, Telegram or SMS sign-in from a number whose account has turned its Account access off — the number signs in to nothing and no account is created for it. An email sign-in never reads it: that session simply expires, so the page discloses nothing about the address."
  2. Changed3 schema fields changedv1.7.2
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / email / pattern
      Added value: +"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "channel": {
      +      "description": "Authentication channel"
      +    },
      +    "created_at": {},
      +    "deep_link": {},
      +    "email": {},
      +    "email_error": {},
      +    "email_sent": {},
      +    "expires_at": {},
      +    "id": {},
      +    "instructions": {},
      +    "qr_code": {
      +      "description": "Base64-encoded PNG QR code for the deep link"
      +    },
      +    "qr_text": {
      +      "description": "UTF-8 text QR for terminal/agent rendering"
      +    },
      +    "sms_code": {
      +      "description": "Short code for SMS-channel reverse-OTP"
      +    },
      +    "sms_message": {},
      +    "status": {
      +      "description": "Status of an auth session. `completed_elsewhere` (terminal, no cookies): an email sign-in the person completed in ANOTHER browser by pressing \"Sign in here\" on the link's page — this session will never become `verified`."
      +    },
      +    "type": {
      +      "description": "Outcome of an account-session creation. `account_creation` means a new User will be written on verification. `login` indicates the submitted identity matched an existing User and the session will log them in."
      +    },
      +    "user_id": {},
      +    "verified_at": {}
      +  },
      +  "type": "object"
      +}
  3. 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 no API key is required, that the response is deliberately uniform to avoid a user-enumeration oracle, that email dispatches nothing here (email_sent=false, send_required=true) while telegram/whatsapp/sms follow a reverse-OTP model, that verification sets JWT and refresh cookies, and that clients fold tool results away from the user.

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 one-sentence purpose, then organized into behavior, per-channel mechanics, and a numbered agent sequence. It is long, but the length is largely justified by a genuinely multi-step orchestration; a few clauses (the enumeration-oracle rationale, the qr_text rendering caveat) could be tightened without loss.

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?

For a multi-step, multi-channel onboarding tool with side effects, the definition covers prerequisites (public endpoint), sequencing, per-channel divergence, failure modes ('completed_elsewhere' when the wrong sign-in button is used), and post-verification state. An output schema exists, yet the description still surfaces the fields the agent must act on, which is the right emphasis.

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 baseline is 3, but the description adds real meaning to the channel enum by spelling out distinct downstream behavior for each value (email requires a confirmation plus send_account_email; telegram/whatsapp return a usable deep_link and QR; sms returns an empty deep_link and a sms_message with no destination number). It adds little on email/phone_number beyond what the schema already documents, which keeps it from a 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?

States a specific verb and resource ('Create an account-bootstrap session for agent-driven onboarding') and immediately qualifies scope with 'public endpoint (no API key required)' and the channel-dependent payload. It names the exact siblings it hands off to (send_account_email, render_auth_link, wait_for_account_creation), so an agent can place this tool in the onboarding flow without opening any other 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 an explicit numbered 4-step sequence covering when to call it, which channel to pass, what to do per channel, and what to call next. It also names concrete exclusions: do not pass an empty sms deep_link to render_auth_link, do not hand qr_text to a link renderer, do not invent a destination number, and use get_current_user rather than inferring new-vs-returning from the response.

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