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

@proof-holdings/mcp-server

Official

set_email_account_access

Destructive

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

Instructions

Turn Account access on or off for one of the account's email addresses: whether it signs in to the account and confirms its sensitive actions (2FA step-ups). Every new email address 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 address 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_email_account_access"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesEmail address 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.8/5.0
Behavior5/5

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

Annotations only say non-read-only and destructive; the description goes far beyond by disclosing that turning access off terminates sessions opened by that address within 15 minutes at next renewal, that no other device is signed out, and that MCP sign-ins and API keys are exempt. It also spells out the full auth sequence (start_login, wait_for_login, retry) and that an API key alone is insufficient.

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?

Front-loaded with purpose, then mechanics, then side effects, then auth — a sensible order. Sentences are dense and long, and the 2FA target syntax is repeated twice ('act:access_on'/'act:access_off'), which costs a little tightness without obscuring anything.

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 mutation with a small schema, everything an agent needs is present: prerequisites, exact 2FA invocation, failure codes, and blast radius. Return values need no explanation because an output schema exists.

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?

Schema coverage is 100%, so baseline is 3; the description adds meaning by restating that account_access=true means it signs in and confirms sensitive actions, and by showing how the id is spliced into the 2FA target string. The 'one code' requirement is described but has no corresponding parameter, leaving a small ambiguity about how the code is conveyed.

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 ('Turn Account access on or off for one of the account's email addresses') and immediately defines what that means (sign-in plus 2FA step-up confirmation). The email-address scoping cleanly separates it from the sibling set_phone_account_access without needing to name it.

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?

Gives explicit direction both ways: start_2fa_for_action with action_type account_access and the exact targets for on vs. off, plus what happens without the code (403 2fa_required). It also names the blocked case (409 last_account_access), so the agent knows when the call will refuse.

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