Skip to main content
Glama

Buy a phone number at once

buy_instant_phone_number

COSTS MONEY: Buy a phone number at once

Buys a number from GET /phone-numbers/instant and pays the first month plus VAT from your balance, like the instant buy on the billing page. The number joins your account at once; assign it to an agent afterwards.

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": "buy_instant_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?

Goes well beyond the annotations by disclosing the financial consequence (first month plus VAT charged to balance), the immediate effect (number joins the account at once), and the required follow-up (assign to an agent). Annotations only cover the generic mutation/safety profile, so this cost and timing context is genuinely additive; it stops short of saying what happens if the balance is insufficient or whether a failed buy is reversible.

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 cost warning is front-loaded where it will be seen first, and the body is two tight sentences. The lead phrase "COSTS MONEY: Buy a phone number at once" partly duplicates the title, which is minor waste but defensible as emphasis.

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 financial mutation with no output schema, the description covers the essentials: real money spent, source of the number, immediate provisioning, and the follow-up assignment step. Gaps are limited to failure modes and the response shape, which are secondary here.

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 detailed description of the two-step confirmation flow. The prose adds no additional meaning about phoneNumberId or confirm, so the schema is doing all the parameter work.

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?

States a specific verb and resource ("Buy a phone number") and pins the source to the instant inventory (GET /phone-numbers/instant), so the agent knows exactly what is being acquired. It does not, however, differentiate itself from the sibling purchase_phone_number, leaving the agent to guess which buying path 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?

The reference to the instant inventory implies the phoneNumberId must come from list_instant_phone_numbers, and the closing sentence tells the agent what to do afterwards (assign to an agent). But there is no explicit when-to-use versus purchase_phone_number or renew_phone_number, and no stated prerequisites or exclusions.

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.