Skip to main content
Glama

Rent a number

sms_rental_buy_number
Destructive

Rented SMS numbers. Rent a number for a service+country for a given number of hours, paid from the account balance.

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": {
      "service_id": "<service_id>",
      "country_id": "<country_id>",
      "hours": "<hours>"
    },
    "name": "sms_rental_buy_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
hoursYesRental duration in hours (must match an available interval)
country_idYes
service_idYes

Output Schema

NameRequiredDescriptionDefault

No arguments

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=false and destructiveHint=true, so the write/destructive profile is covered. The description does add genuinely useful context beyond that: the rental is time-bounded and is charged against the account balance. It stops short of disclosing failure modes (no number available), whether the charge is immediate or on delivery, or the follow-on actions (get codes, extend, cancel).

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?

Two short sentences with no padding, and the core operation is stated early. The leading fragment "Rented SMS numbers." is a slightly awkward noun phrase that consumes a sentence slot without adding information an agent needs.

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-value documentation is not needed. For a 3-parameter purchase tool with annotations covering the destructive/write profile, the description supplies the essential economics (balance-funded, time-limited) that an agent must know before invoking it.

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 only 33%: only 'hours' is documented in the schema, and its "must match an available interval" constraint is unexplained. The description partially compensates by mapping service_id and country_id to service/country selection, but it gives no formats, no source of valid IDs, and no reference to sms_rental_list_intervals for the allowed hour values.

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?

The description names a specific verb and resource ("Rent a number") plus the scoping dimensions (service, country, hours) and the payment source. An agent knows what the tool does, but nothing distinguishes it from the sibling sms_activation_buy_number, which is the one confusion an agent is most likely to make in this family.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

There is no explicit when-to-use or when-not-to-use guidance, no mention of the sibling listing tools (sms_rental_list_services, sms_rental_list_countries, sms_rental_list_intervals) that supply the required IDs, and no comparison with the activation flow. Usage is only inferable from the parameter list itself.

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.