Skip to main content
Glama

start_add_email

Start adding a new email address. Sends an OTP code to the email. Returns a session ID: when the user has the code, pass it with that session ID to verify_email_otp (resend_email_otp if it did not arrive; get_add_email_status reads the session).

ACCESS: needs a Proof account, signed in: call start_login, show the user its challenge, then wait_for_login, then call this tool again. Authenticating this client 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": {
      "email": "<email>"
    },
    "name": "start_add_email"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailYesEmail address to add

Output Schema

NameRequiredDescriptionDefault
emailYes
statusYes
channelYes
email_sentYesWhether the code went out; the session is started either way
expires_atYes
session_idYes
email_errorNoWhy the code did not go out; present only when `email_sent` is false
instructionsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": {},
      +  "description": "An email-add session: a code was emailed to the address",
      +  "properties": {
      +    "channel": {
      +      "type": "string"
      +    },
      +    "email": {
      +      "type": "string"
      +    },
      +    "email_error": {
      +      "description": "Why the code did not go out; present only when `email_sent` is false",
      +      "type": "string"
      +    },
      +    "email_sent": {
      +      "description": "Whether the code went out; the session is started either way",
      +      "type": "boolean"
      +    },
      +    "expires_at": {
      +      "type": "string"
      +    },
      +    "instructions": {
      +      "type": "string"
      +    },
      +    "session_id": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "session_id",
      +    "email",
      +    "channel",
      +    "status",
      +    "expires_at",
      +    "instructions",
      +    "email_sent"
      +  ],
      +  "type": "object"
      +}
  2. Changed2 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / email / pattern
      Added value: +"^(?:[A-Za-z0-9_'+\\-]+\\.)*[A-Za-z0-9_'+\\-]*[A-Za-z0-9_+-]@(?:[A-Za-z0-9][A-Za-z0-9\\-]*\\.)+[A-Za-z]{2,}$"
  3. First observed

TDQS

A4.8/5.0
Behavior5/5

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

Annotations only declare readOnlyHint=false and destructiveHint=false; the description adds the meaningful behavior beyond them: the tool sends an OTP email (an outward side effect), returns a session ID needed by downstream calls, and requires an authenticated Proof account obtained via the login challenge flow. That auth-gating detail is exactly what an agent would otherwise get wrong.

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-loads the action and return value, then adds a compact routing sentence and an ACCESS block. The ACCESS paragraph is slightly wordy and its last sentence is emphatic rather than informative, but everything present is relevant to correct invocation.

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?

Given a single required parameter, existing output schema, and a mutation-adjacent flow, the description covers purpose, error/resend path, status check, and authentication prerequisites. An agent has everything needed to call it and handle the follow-on steps.

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?

Only one parameter (email) and schema description coverage is 100%, so the schema already defines it. The description still adds a bit of meaning by framing the email as the recipient of the OTP code, which clarifies validation expectations, though it adds no format or edge-case guidance.

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+resource ("Start adding a new email address"), plus the immediate side effect (sends an OTP) and the return value (session ID). It clearly distinguishes this tool from verify_email_otp, resend_email_otp, and get_add_email_status by naming each and its role.

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 an explicit ordered flow: call this, then when the user has the code pass it with the session ID to verify_email_otp, use resend_email_otp if it didn't arrive, and get_add_email_status to read the session. It also spells out the prerequisite login sequence (start_login, wait_for_login, call again), leaving nothing to inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.