Skip to main content
Glama

create_verification

Create a new identity verification. Initiates a verification flow for an asset identifier (phone number, email, domain, social handle, wallet address, account, or Telegram bot).

Agent usage: pass the asset type, the delivery channel, and the identifier (e.g. type "phone", channel "sms", identifier "+37060000000"; or type "email", channel "email", identifier "user@example.com"). The response carries a challenge object with the instruction for the chosen channel — except a telegram_bot verification made with a LIVE key, which the server completes on the spot and answers with status: verified plus a proof token and no challenge at all; with a pk_test_ key that same call stays pending and does carry a challenge. On the messenger channels it also carries challenge.deep_link — pass THAT to render_auth_link to give the user a clickable link and a QR code. This endpoint returns no qr_text at all. For OTP-based flows (sms/email), the user receives a code — poll get_verification or use wait_for_verification to track completion. For Telegram/WhatsApp, the user clicks the deep link to verify.

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. Authenticate this client (Claude Code: /mcp → Authenticate), then call this tool again. start_login 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": {
      "type": "<type>",
      "channel": "<channel>",
      "identifier": "<identifier>"
    },
    "name": "create_verification"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeYesAsset type being verified
channelYesVerification channel (must match the asset type, e.g. sms/whatsapp/telegram for phone)
bot_tokenNoTelegram bot token (required for channel "telegram_bot_token")
identifierYesThe asset identifier to verify (E.164 phone, email address, domain, handle, wallet address, ...)
own_domainNoFor type "domain" only: true when the domain is your own, so once verified it is added to your account's domains as pending (it is verified there by its own record, a connected DNS provider or an email code). Leave it out when verifying a domain for one of your users.
profile_idNoThe sub-account (24 hex characters) this is for; omitted, the key's own sub-account, else the primary. Its branding and templates are used for every message.
dns_providerNoDNS provider credentials (required for channel "auto")
email_prefixNoMailbox prefix for domain email verification
client_metadataNoCustom key-value metadata
external_user_idNoYour application user ID for grouping verifications
proof_expiry_daysNoPer-request proof expiry override in days (1-365)

Output Schema

NameRequiredDescriptionDefault
idNoMongoDB ObjectId
typeNoType of asset being verified. Not yet available — no channel of theirs can be completed, so a create or start answers 400 `channel_not_available`: social, wallet, account.
proofNoProof token after successful verification
statusNoCurrent status of the verification
channelNoChannel used for verification. Not yet available — a create or start naming one answers 400 `channel_not_available`: github, google, facebook, x, linkedin, instagram, youtube, tiktok, ethereum, solana, bitcoin, coinbase, kraken.
attemptsNo
challengeNoChallenge details for verification
created_atNo
identifierNoThe identifier being verified; absent for an identifier-free phone verification, whose number is learned only when the person completes it
updated_atNo
environmentNoWhether the verification was made with a live or a test key.
verified_atNo
max_attemptsNo
external_user_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedOutput schema / properties / environment
      Added value: +{
      +  "description": "Whether the verification was made with a live or a test key."
      +}
  2. Changed1 schema field changed
    • addedInput schema / properties / own_domain
      Added value: +{
      +  "description": "For type \"domain\" only: true when the domain is your own, so once verified it is added to your account's domains as pending (it is verified there by its own record, a connected DNS provider or an email code). Leave it out when verifying a domain for one of your users.",
      +  "type": "boolean"
      +}
  3. Changed2 schema fields changed
    • addedInput schema / properties / profile_id
      Added value: +{
      +  "description": "The sub-account (24 hex characters) this is for; omitted, the key's own sub-account, else the primary. Its branding and templates are used for every message.",
      +  "pattern": "^[0-9a-fA-F]{24}$",
      +  "type": "string"
      +}
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "properties": {
      +    "attempts": {},
      +    "challenge": {
      +      "description": "Challenge details for verification"
      +    },
      +    "channel": {
      +      "description": "Channel used for verification. Not yet available — a create or start naming one answers 400 `channel_not_available`: github, google, facebook, x, linkedin, instagram, youtube, tiktok, ethereum, solana, bitcoin, coinbase, kraken."
      +    },
      +    "created_at": {},
      +    "external_user_id": {},
      +    "id": {
      +      "description": "MongoDB ObjectId"
      +    },
      +    "identifier": {
      +      "description": "The identifier being verified; absent for an identifier-free phone verification, whose number is learned only when the person completes it"
      +    },
      +    "max_attempts": {},
      +    "proof": {
      +      "description": "Proof token after successful verification"
      +    },
      +    "status": {
      +      "description": "Current status of the verification"
      +    },
      +    "type": {
      +      "description": "Type of asset being verified. Not yet available — no channel of theirs can be completed, so a create or start answers 400 `channel_not_available`: social, wallet, account."
      +    },
      +    "updated_at": {},
      +    "verified_at": {}
      +  },
      +  "type": "object"
      +}
  4. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / client_metadata / propertyNames
      Added value: +{
      +  "type": "string"
      +}
    • addedInput schema / properties / dns_provider / propertyNames
      Added value: +{
      +  "type": "string"
      +}
  5. First observed

TDQS

A4.6/5.0
Behavior5/5

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

With only readOnlyHint/destructiveHint supplied, the description carries real weight and delivers: a telegram_bot verification with a LIVE key completes inline and returns status: verified plus a proof token and no challenge, while the same call with a pk_test_ key stays pending with a challenge. It also documents the auth prerequisite and warns that start_login does nothing for this tool, which are non-obvious failure modes.

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 critical facts — what it creates, the three required args, and the live-vs-test telegram_bot asymmetry — are front-loaded before the routing advice. The closing paragraph on clients folding away tool results is long but earns its place as an operational constraint, though the section overall could be trimmed slightly.

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 an 11-parameter mutation with a nested dns_provider object and an output schema, the description covers the behavior the schema cannot: the conditional challenge/no-challenge outcome, the test-vs-live key divergence, which follow-up tools to call, and that the user may not see the result and needs the link or code echoed into the reply. Nothing an agent needs to invoke it correctly 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 already 100%, so the baseline is 3; the description earns above that by pairing type/channel/identifier into worked examples ("type 'phone', channel 'sms', identifier '+37060000000'") that show the required correspondence between the two enum fields. It also surfaces challenge.deep_link as an output field used as an input to render_auth_link.

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?

The first sentence names a specific verb and resource ("Create a new identity verification") and immediately scopes it to a single asset identifier with an enumerated list (phone, email, domain, social handle, wallet, account, Telegram bot). That single-asset framing is what separates it from multi-channel and request-style siblings without needing to name them.

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?

The 'Agent usage' block gives concrete call patterns plus explicit routing: poll get_verification or wait_for_verification for OTP flows, and hand challenge.deep_link to render_auth_link for messenger channels. It never states a when-not case (e.g. when a multi-channel or verification-request tool is the better fit), so it stops short of full alternative coverage.

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.