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

@proof-holdings/mcp-server

Official

remove_phone

Destructive

Remove a phone number from a Proof account, revoke its proofs and consents, decline pending confirmations, and sign out other devices. Requires 2FA approval and cannot be undone.

Instructions

Remove a phone number from the account. Always requires one code: start_2fa_for_action with action_type phone_remove and targets [this phone id]. Revokes every proof of the number and your own consents naming it, declines pending confirmations waiting on it, flags approval setups left with no approver, deletes the record and its messenger links, signs out your other devices, and names the new primary phone — your Proof of Me circles then reach you there. Refused for the number you signed in with, for your only way to sign in, and for your last phone while circles are active (circles_need_phone: add another phone first, or archive the circles). Cannot be undone.

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": {
      "id": "<id>"
    },
    "name": "remove_phone"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPhone record ID

Output Schema

NameRequiredDescriptionDefault
typeNo
noticeNo
successNoAlways `true`. The 1.x Go, PHP and Python SDK types carry it as a string, as released; it is typed boolean in the next major.
identifierNoMasked.
removed_idNo
new_primaryNoThe row that becomes (or became) primary when the removed one was; null otherwise.
proofs_revokedNo
lookalike_watchNo
circles_repointedNoPhones only: circles that now reach the owner at `new_primary`; 0 for an email.
sessions_signed_outNoEvery other device was signed out, idle ones included; the calling session stays. False when that could not be done — the removal itself still happened.
sessions_invalidatedNoOther listed devices signed out, idle ones included; the calling session stays. A device missing from the list — signed in before the list held idle devices, or one whose listing could not be recorded — is not counted, so read `sessions_signed_out` for whether every other device was signed out.
authorizations_revokedNo
hitl_configs_without_approverNo

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": {},
      +  "properties": {
      +    "authorizations_revoked": {},
      +    "circles_repointed": {
      +      "description": "Phones only: circles that now reach the owner at `new_primary`; 0 for an email."
      +    },
      +    "hitl_configs_without_approver": {},
      +    "identifier": {
      +      "description": "Masked."
      +    },
      +    "lookalike_watch": {},
      +    "new_primary": {
      +      "description": "The row that becomes (or became) primary when the removed one was; null otherwise."
      +    },
      +    "notice": {},
      +    "proofs_revoked": {},
      +    "removed_id": {},
      +    "sessions_invalidated": {
      +      "description": "Other listed devices signed out, idle ones included; the calling session stays. A device missing from the list — signed in before the list held idle devices, or one whose listing could not be recorded — is not counted, so read `sessions_signed_out` for whether every other device was signed out."
      +    },
      +    "sessions_signed_out": {
      +      "description": "Every other device was signed out, idle ones included; the calling session stays. False when that could not be done — the removal itself still happened."
      +    },
      +    "success": {
      +      "description": "Always `true`. The 1.x Go, PHP and Python SDK types carry it as a string, as released; it is typed boolean in the next major."
      +    },
      +    "type": {}
      +  },
      +  "type": "object"
      +}
  2. First observedv1.1.0

TDQS

A4.6/5.0
Behavior5/5

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

Well beyond the destructiveHint=true annotation, it details the full cascade: revoked proofs and consents, declined pending confirmations, flagged approver-less approval setups, deleted record and messenger links, sign-out of other devices, and primary-phone reassignment. It also states irreversibility and the auth requirement (Proof account plus start_login/wait_for_login flow, with the explicit note that an API key alone is insufficient). This is consistent with the annotations and adds substantial operational context.

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 structure is front-loaded and logical: action, prerequisite, consequences, refusals, auth. The sentences are dense but each carries distinct information. Minor cost is length — the cascade sentence packs many clauses together — but nothing is padded or redundant.

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 destructive single-parameter tool this is complete: prerequisites, side effects, refusal cases, irreversibility, and the authentication dance are all covered. An output schema exists, so the absence of return-value description is not a gap.

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?

With a single parameter at 100% schema coverage the baseline is 3, but the description adds real meaning by explaining that the phone id is the value fed into start_2fa_for_action's targets, and by clarifying which phone numbers are ineligible. That connects the parameter to a required workflow step rather than just restating 'Phone record ID'.

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 opening sentence gives a specific verb and resource ('Remove a phone number from the account'), which is immediately distinguishable from siblings like remove_email or set_primary_phone. The scope ('from the account') and the object ('phone number') leave no ambiguity about what is being operated on.

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 sequence explicitly (start_2fa_for_action with action_type phone_remove targeting this phone id) and enumerates three concrete refusal conditions — the sign-in number, the only sign-in method, and the last phone while circles are active — plus a remediation path (add another phone or archive circles). It does not, however, point at the sibling preview_phone_removal as a dry-run alternative, which would have made the when-to-use guidance exhaustive.

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