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

@proof-holdings/mcp-server

Official

verify_2fa_magic_link

Verify a 2FA challenge by submitting the magic-link token from the user's verification email—no code entry needed. Requires an authenticated Proof account.

Instructions

Complete a 2FA challenge using a magic link token (received via email). No code submission needed — the token itself is the proof.

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": {
      "token": "<token>"
    },
    "name": "verify_2fa_magic_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
tokenYesMagic link token from the verification email

Output Schema

NameRequiredDescriptionDefault
statusYes
action_typeYesThe action the session was started for: one of `TwoFAActionType` for sessions started through this API; admin-console sessions carry internal values.
verified_atNo
already_verifiedNoPresent (true) when the session had already been verified, by its code or another open of the link; no grant is stored by this call and the grant fields are absent
grant_expires_atNoWhen the grant this step-up stored stops being accepted
grant_single_useNoWhether the grant is spent by the first act it allows

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": "The step-up is complete",
      +  "properties": {
      +    "action_type": {
      +      "description": "The action the session was started for: one of `TwoFAActionType` for sessions started through this API; admin-console sessions carry internal values.",
      +      "type": "string"
      +    },
      +    "already_verified": {
      +      "description": "Present (true) when the session had already been verified, by its code or another open of the link; no grant is stored by this call and the grant fields are absent",
      +      "type": "boolean"
      +    },
      +    "grant_expires_at": {
      +      "description": "When the grant this step-up stored stops being accepted",
      +      "type": "string"
      +    },
      +    "grant_single_use": {
      +      "description": "Whether the grant is spent by the first act it allows",
      +      "type": "boolean"
      +    },
      +    "status": {
      +      "type": "string"
      +    },
      +    "verified_at": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status",
      +    "action_type"
      +  ],
      +  "type": "object"
      +}
  2. First observedv1.1.0

TDQS

A3.9/5.0
Behavior4/5

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

The description goes meaningfully beyond the annotations by disclosing the auth requirement (a signed-in Proof account), the multi-step login flow, and the notable constraint that an API key alone does not grant access. It doesn't state token lifetime/single-use behavior, but annotations already signal this is a non-destructive, non-read-only operation.

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?

Two short, front-loaded paragraphs: the mechanism first, the access requirements second, with no filler. 'Then call this tool again' is slightly awkward phrasing for a first-time caller but not wasteful.

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?

For a single-parameter verification tool with an output schema, the description covers the mechanism and the prerequisite auth flow, which is what an agent needs to invoke it correctly. Only edge cases like token expiry or reuse would add further value.

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?

With one parameter and 100% schema description coverage, the schema already fully documents the token. The description only adds the provenance hint (received via email) and the notion that the token is self-sufficient proof, which is marginal added meaning — baseline 3 applies.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description opens with a specific verb and resource: completing a 2FA challenge via a magic-link token, and clarifies the mechanism ('the token itself is the proof'). This implicitly distinguishes it from a code-based verify_2fa sibling through 'No code submission needed', though it never names the sibling explicitly.

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 gives an explicit prerequisite sequence — start_login, present the challenge, wait_for_login, then this tool — which is real when-to-use guidance an agent can act on. It stops short of naming a code-based alternative and saying when that one should be chosen instead.

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