Skip to main content
Glama

Renew an expired phone number

renew_phone_number

COSTS MONEY: Renew an expired phone number

Pays the open monthly fee of an expired number from your balance and makes it reachable again, like the renew button on the billing page. Only numbers of your own account with status expired.

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": "renew_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

A4.2/5.0
Behavior4/5

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

Annotations already flag a non-read-only, non-destructive, non-idempotent operation, and the description adds the crucial facts those annotations cannot convey: the call spends money, draws the open monthly fee from balance, and restores reachability. It does not warn that repeated invocations may charge again despite idempotentHint=false, which is the one behavior an agent still has to infer.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The cost warning is front-loaded as a lead-in, followed by two tight sentences covering mechanism and eligibility. Nothing is redundant with the schema and every clause earns its place.

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 billed mutation tool with no output schema, the definition covers cost, effect, and eligibility, and the schema covers the confirmation handshake. Only the return value and failure modes (e.g. insufficient balance, non-expired number) are left unstated, which is a minor gap given the annotations.

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 carries a thorough two-step confirmation explanation, so the description need not repeat it. It adds no parameter-level meaning of its own, which meets the baseline for fully documented schemas.

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?

The description gives a specific verb (renew) and resource (an expired phone number), then immediately explains the mechanism: paying the open monthly fee from balance to make the number reachable again. That framing cleanly separates it from provisioning siblings such as purchase_phone_number or buy_instant_phone_number.

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?

It states a concrete precondition — only numbers on your own account with status `expired` — and notes it acts like the renew button on the billing page, which is a clear usage analogue. It stops short of naming an explicit alternative for non-expired numbers (e.g. update_phone_number or purchase paths), so it is strong but not fully 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.