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

@proof-holdings/mcp-server

Official

set_primary_email

Destructive

Designate an email address as the primary email for an account by providing its record ID; requires an authenticated Proof account session.

Instructions

Set an email address as the primary email for the account.

ACCESS: needs a Proof account. Set PROOF_API_KEY and restart this server, or sign in with start_login — a session opens this tool — then call this tool again.

Input Schema

NameRequiredDescriptionDefault
idYesEmail 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

B3.4/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true and readOnlyHint=false, so the mutation risk is signaled structurally. The description adds genuine value with the authentication/session requirement, but it does not disclose what the destructive change actually entails — whether the previous primary is demoted or dropped, and whether the target address must be verified first.

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 sentences with the core action front-loaded and the access requirement second; no filler. The ACCESS sentence is somewhat dense with two alternative authentication paths, but every clause is actionable.

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

Completeness3/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 explained, and the auth prerequisite is covered. For a destructive account-level mutation, though, the definition leaves out key preconditions and side effects (verification state of the address, fate of the prior primary), which an agent needs before invoking it.

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 the single parameter 'id' is documented as 'Email record ID to set as primary.' The description adds nothing about the identifier format or how to obtain it (e.g., from list_emails), so the baseline 3 applies when the schema carries the parameter semantics.

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 states a specific verb and resource: 'Set an email address as the primary email for the account.' An agent can immediately tell this is a mutation of the primary-email designation. It does not distinguish itself from nearby siblings such as list_emails, start_add_email, or set_primary_phone, so it stops short of a 5.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

The ACCESS sentence gives a real precondition (a Proof account plus either PROOF_API_KEY or a session via start_login), which is useful when-to-use context. However, it never says when to prefer this over start_add_email or verify_email_otp, nor what state the email must already be in, so the alternative-selection guidance is only implied.

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