Skip to main content
Glama

Withdraw from a phone number purchase

revoke_phone_number
Destructive

IRREVERSIBLE: Withdraw from a phone number purchase

Uses the withdrawal right for a purchased number: the number leaves your account at once and is taken off its agent. This cannot be undone. Only numbers of your own account.

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": {
      "phoneNumberId": "<phoneNumberId>"
    },
    "name": "revoke_phone_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
confirmNoLeave out on the first call. EchoCall then answers with a confirmation value. Ask the user for a clear yes, then repeat the call with the same arguments and this value.
phoneNumberIdYesphoneNumberId

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare destructiveHint=true and idempotentHint=false, so the description's job is mostly covered; it still adds value by spelling out that the number is removed immediately, is detached from its agent, and that the action cannot be undone. It does not mention billing/refund consequences of a withdrawal, which is the main remaining unknown for a destructive purchase reversal.

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 irreversibility warning is front-loaded in caps and the mechanics follow in two tight sentences. Minor redundancy between the warning header and the title/premise, but nothing is wasted.

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

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter destructive tool with a fully described schema and no output schema, the description supplies the essentials: irreversibility, immediate effect, agent detachment, and account ownership. The notable omission is how this differs from cancel_phone_number, which matters given the sibling set.

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 confirm parameter already documents the two-step confirmation handshake thoroughly, so the baseline is 3. The description's only added parameter meaning is the ownership restriction on phoneNumberId; it adds nothing about identifier format or where to obtain the ID.

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?

Names a specific verb and resource ('Withdraw from a phone number purchase') and describes the concrete effect: the number leaves the account and is detached from its agent. It does not differentiate itself from the similarly-scoped sibling cancel_phone_number, leaving the agent to infer which one applies.

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?

Gives one real eligibility constraint ('Only numbers of your own account') but no explicit when-to-use framing and no named alternative for the adjacent cancel/revoke semantics. Usage is implied rather than routed.

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.