Skip to main content
Glama

Buy a phone number

buy_number

Buy a number: $3/month from prepaid credits (first month charged now). Default is a crew line, and a crew member is put on it right away; for:"me" makes it your person's own caller ID instead. Admin or manager only. Confirm with your person before buying.

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": {
      "e164": "<e164>"
    },
    "name": "buy_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
forNocrew (default) or me.
e164YesNumber from search_numbers, E.164.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • addedInput schema / properties / for
      Added value: +{
      +  "description": "crew (default) or me.",
      +  "enum": [
      +    "crew",
      +    "me"
      +  ],
      +  "type": "string"
      +}
  2. Added

TDQS

A4.3/5.0
Behavior4/5

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

Annotations only say this is not read-only and not destructive; the description goes well beyond them by disclosing the $3/month price with first month charged immediately, that a crew line is provisioned and staffed right away by default, and the admin/manager permission gate. The one material gap is reversibility — it never says whether a purchase can be cancelled, refunded, or released.

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?

A single dense sentence with the price and default behavior front-loaded, and no filler. The nested quoting around for:"me" reads awkwardly enough to risk a momentary parse stumble, 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, money-spending action with no output schema, the description covers cost, timing of charge, default provisioning consequence, and permissions. Only the post-purchase result (what handle or confirmation comes back) and reversibility are unaddressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the mechanical definitions are already covered, but the description adds real semantics for "for": the default crew line gets a crew member assigned immediately, whereas "me" only changes the person's own caller ID. That consequence-level meaning is not derivable from the enum values alone.

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?

Opens with a specific verb+resource ("Buy a number") and immediately differentiates itself from the sibling search_numbers, which supplies the e164 input rather than performing the purchase. The cost line and the crew-vs-me distinction make the scope unmistakable.

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?

States the authorization precondition ("Admin or manager only") and a procedural requirement ("Confirm with your person before buying"), which tells the agent when it may act and what gate to clear first. It stops short of naming an explicit alternative tool to use when the user hasn't picked a number yet, though the e164 schema description points back to search_numbers.

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.