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

@proof-holdings/mcp-server

Official

set_primary_phone

Destructive

Sets a specified phone record as the account’s primary phone; requires a completed phone_primary 2FA action or returns 403.

Instructions

Set a phone number as the primary phone for the account. Always requires one code: start_2fa_for_action with action_type phone_primary (no targets); without it the call answers 403 2fa_required.

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

Input Schema

NameRequiredDescriptionDefault
idYesPhone record ID to set as primary

Output Schema

NameRequiredDescriptionDefault
messageNo
successYes

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": "Generic success response",
      +  "properties": {
      +    "message": {
      +      "type": "string"
      +    },
      +    "success": {
      +      "type": "boolean"
      +    }
      +  },
      +  "required": [
      +    "success"
      +  ],
      +  "type": "object"
      +}
  2. First observedv1.1.0

TDQS

A4.2/5.0
Behavior3/5

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

Annotations already flag readOnlyHint=false and destructiveHint=true, and the description adds real value on top with the 2FA gate, the exact 403 error, and the login-challenge flow. However, it never says what the destructive side effect actually is — e.g. whether the previously primary number is demoted, replaced, or left untouched — which is the key risk given destructiveHint=true. Auth and error behavior are covered; the mutation semantics are not.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two short blocks: the action plus its hard prerequisite first, then the access requirements. Every clause is load-bearing — the action_type value, the 'no targets' detail, and the 403 code are all things an agent must know before calling.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

An output schema exists, so return values need not be described, and the auth/2FA prerequisites are unusually well covered. The remaining gap is the effect on the existing primary phone and any downstream consequences, which matters for a destructive-flagged tool.

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

Parameters3/5

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

One parameter with 100% schema description coverage ('Phone record ID to set as primary'), so the schema already carries the meaning. The description adds nothing about the ID format, where to obtain it (e.g. get_add_phone_status), or what an invalid ID does, so baseline 3 applies.

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: set a phone number as the primary phone for the account. The resource ('phone') cleanly separates it from the set_primary_email / set_primary_profile / set_primary_sub_account 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 Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly names the prerequisite tool (start_2fa_for_action with action_type phone_primary and no targets) and the fallback failure mode (403 2fa_required). The ACCESS block spells out the required session sequence (start_login, user challenge, wait_for_login, retry) and states the negative case: an API key alone does not open the tool.

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