Skip to main content
Glama
ProofHoldings

@proof-holdings/mcp-server

Official

wait_for_2fa

Poll a 2FA session until the user completes the challenge, returning 'verified' to proceed or 'expired' to restart. Uses exponential backoff for efficient waiting.

Instructions

Poll a 2FA session until the user completes the challenge. Uses exponential backoff (2s initial, 1.5x, 30s max) with jitter.

Agent usage: Call this after start_2fa with the returned session_id. Terminal states: "verified" (challenge completed — proceed with the protected operation), "expired" (offer to restart with start_2fa). Before polling, present start_2fa's challenge: pass its deep_link to render_auth_link on telegram/whatsapp, or show its sms_message on sms.

ACCESS: needs a Proof account. Set PROOF_API_KEY and restart this server, then call this tool again. start_login does NOT open this tool.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
session_idYes2FA session ID from start_2fa
timeout_secondsNoMaximum wait time in seconds (default: 50, max: 600). Keep it under your MCP client's request timeout (the SDK default is 60 s) — a longer wait is cut off by the client while the server is still polling. On timeout the tool answers status "pending"; call it again with the same identifier.

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.1.0

TDQS

A4.7/5.0
Behavior5/5

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

With no annotations, the description carries the full behavioral burden, and it delivers: backoff algorithm details ('exponential backoff (2s initial, 1.5x, 30s max) with jitter'), terminal states, the 'pending' status on timeout, an ACCESS prerequisite (PROOF_API_KEY, server restart), and a negative behavioral note (start_login does not open it). This is comprehensive behavioral disclosure far beyond what any annotation would have provided.

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?

The description is long but every sentence earns its place, covering purpose, backoff, workflow, terminal-state handling, challenge presentation, and access. It is clearly organized into labeled sections ('Agent usage:', 'ACCESS:') and front-loaded with the core purpose and backoff policy in the first sentence. The density is justified by the actionable operational detail.

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?

Despite lacking an output schema, the description covers all return semantics via terminal states ('verified', 'expired') and the schema covers the 'pending' timeout case. The agent knows the prerequisites, the call sequence, how to render the challenge, and what to do on each outcome. For a two-parameter polling tool, nothing an agent needs to call it correctly is missing.

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 well-documented in the schema, including the timeout_seconds default, max, and timeout edge-case behavior. The description reinforces that session_id comes from start_2fa's return, matching the schema's '2FA session ID from start_2fa.' It adds workflow context but no new semantic information beyond the schema, so the baseline of 3 is appropriate.

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, 'Poll a 2FA session until the user completes the challenge,' uses a specific verb (poll) and resource (2FA session) with a clear goal. It differentiates from siblings like get_2fa_status (a one-shot status check) and verify_2fa (a submission action), and explicitly declares what it is not: 'start_login does NOT open this tool.'

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?

The description gives an explicit workflow: 'Call this after start_2fa with the returned session_id.' It specifies what to do on each terminal state ('verified' → proceed with the protected operation, 'expired' → offer to restart with start_2fa) and how to present the challenge (render_auth_link for deep_link, show sms_message for sms). It even names the alternative that does NOT open this tool, leaving no ambiguity about sequencing.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ProofHoldings/mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server