Skip to main content
Glama

preview_email_removal

Read-only

Preview what remove_email would do to one email address, without changing anything: the counts the dashboard Remove dialog shows, or the reason removal would be refused. Needs a signed-in session, like remove_email.

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": {
      "id": "<id>"
    },
    "name": "preview_email_removal"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesEmail record ID (24 hex characters)

Output Schema

NameRequiredDescriptionDefault
typeNo
proofsNoActive proofs of this identifier that would be revoked.
allowedNoFalse when a guard refuses the removal; the dialog shows `blocked.message` in its disabled state.
blockedNo
circlesNoPhones only: active Proof of Me circles, which follow the primary phone.
notice_toNoWhere the notice would go — captured before the row is gone.
identifierNoMasked.
is_primaryNo
new_primaryNoThe row that becomes (or became) primary when the removed one was; null otherwise.
authorizationsNoApproval consents naming it that would be revoked.
lookalike_watchNoEmails only: what happens to the Lookalike Watch notification address.
hitl_configs_without_approverNoApproval setups whose only approver channel this is; their pending requests would be declined.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds meaningful context: the preview returns dashboard-equivalent counts or a refusal reason, and it requires an authenticated Proof session via start_login and wait_for_login. It does not discuss rate limits or other session edge cases, but it covers the important behavior.

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?

The purpose is front-loaded and the authentication steps are clearly separated. There is minor redundancy between 'Needs a signed-in session, like remove_email' and the ACCESS block, but no substantial wasted wording.

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?

Complete for this tool: it explains the no-side-effect preview behavior, the expected output content, and the non-obvious multi-step authentication flow. An output schema exists, so return structure need not be explained further.

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% for the single id parameter, so the schema already carries the syntax and format. The description identifies the target as one email address, but does not add parameter-level meaning beyond what the schema provides.

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: preview what remove_email would do to one email address, including the counts shown by the dashboard Remove dialog or the reason removal would be refused. This clearly distinguishes it from the destructive remove_email action.

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?

Explains the preview-before-removal use case and explicitly contrasts it with remove_email by saying it changes nothing. It does not spell out when removal should proceed instead, but the practical guidance is clear.

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.