Skip to main content
Glama

preview_phone_removal

Read-only

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

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_phone_removal"
  }
}

Input Schema

NameRequiredDescriptionDefault
idYesPhone 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.4/5.0
Behavior5/5

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

Beyond readOnlyHint=true, the description discloses non-obvious behavior: the preview mirrors the dashboard Remove dialog's counts, can return a refusal reason rather than counts, and requires an end-to-end Proof login sequence. The ACCESS block is especially valuable because it warns that authenticating the MCP client alone is insufficient — a failure mode an agent would otherwise hit blindly.

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 first sentence is front-loaded with the purpose and the key no-side-effects guarantee, and the access block is cleanly separated. There is minor redundancy between "Needs a signed-in session, like remove_phone" and the subsequent ACCESS paragraph restating the login requirement, but nothing is padded or off-topic.

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?

An output schema exists, so return values need no narration, and the description still tells the agent what the response conceptually is (counts or refusal reason). Combined with the explicit multi-step authentication path and the one-parameter surface, an agent has everything needed to invoke this correctly on the first attempt.

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?

There is a single required parameter and the schema already documents it fully (24-hex pattern plus description), so the baseline is 3. The description adds nothing about the id beyond "one phone," leaving the schema to carry all parameter meaning.

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_phone would do to one phone") and immediately scopes the difference from the sibling: it changes nothing. The clause about the counts shown in the dashboard Remove dialog and the refusal reason makes the preview's output contract explicit enough to distinguish it from remove_phone without inspecting either schema.

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?

The description sets the use case clearly — check counts or a refusal reason before committing — and implicitly routes the actual mutation to remove_phone by naming it as the operation being previewed. It does not spell out an explicit "if you want to actually remove, call remove_phone" instruction or any when-not-to-use condition, so it falls short of full alternative routing.

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.