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

@proof-holdings/mcp-server

Official

set_phone_account_access

Destructive

Turn Account access on or off for one of the account's phone numbers: whether it signs in to the account and confirms its sensitive actions (2FA step-ups). Every new phone number starts on.

Instructions

Turn Account access on or off for one of the account's phone numbers: whether it signs in to the account and confirms its sensitive actions (2FA step-ups). Every new phone number starts on. Either direction requires one code: start_2fa_for_action with action_type account_access and targets ["act:access_on", ""] to turn it on or ["act:access_off", ""] to turn it off; without it the call answers 403 2fa_required. Turning off the last way into the account answers 409 last_account_access. Turning it off ends the sign-in sessions this number opened within 15 minutes (at their next renewal) and signs out no other device; MCP sign-ins and API keys are not sessions and are not affected.

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>",
      "account_access": "<account_access>"
    },
    "name": "set_phone_account_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPhone number record ID
account_accessYestrue: it signs in and confirms sensitive actions; false: it does neither

Output Schema

NameRequiredDescriptionDefault
idNoMongoDB ObjectId
typeNo
account_accessNoThe switch as it now stands.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv1.12.0

TDQS

A4.6/5.0
Behavior5/5

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

Annotations only flag destructive=true; the description goes far beyond them by spelling out the blast radius: sign-in sessions opened by that number end within 15 minutes at next renewal, no other device is signed out, and MCP sign-ins and API keys are unaffected. It also documents the auth requirement (a Proof account signed in via start_login/wait_for_login, API key alone insufficient) and the 403/409 responses, which annotations cannot convey.

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?

It is front-loaded with the purpose and then follows a logical order: precondition, error states, side effects on sessions, then auth. Dense but largely earned; the session/device caveat is slightly wordy yet justified for a destructive toggle.

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 2-parameter destructive toggle with an output schema present, nothing material is missing — the agent knows what it does, how to authorize it, what it destroys, and what errors to expect. Return values need not be explained since an output schema exists.

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?

Schema coverage is 100% and both parameters are already documented there, including the true/false meaning of account_access, so the schema does the heavy lifting. The description reinforces the semantics with consequences ('turning it off ends the sign-in sessions...') but adds little parameter detail the schema lacks, which is the expected baseline.

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 names a specific verb (turn on/off) and a precisely scoped resource (Account access for one of the account's phone numbers), then defines what 'access' means behaviorally: signing in and confirming sensitive actions. That wording also separates it from the email counterpart implied by sibling names, without needing the agent to open either 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?

It states the precondition explicitly — one code from start_2fa_for_action with action_type account_access and the exact target strings for each direction — and names the failure mode (403 2fa_required) if that step is skipped. It also names the blocking condition (409 last_account_access) so the agent knows when the off direction will be refused.

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