Skip to main content
Glama

Get a phone number

ringkit_provision_number
DestructiveIdempotent

Step 7: Get a phone number. Order a phone number for the business ($1.99 a month, billed daily from the wallet). Needs $2 of paid credit available (promotional credit covers calls only); no human sign-in. On 402 funding_required call ringkit_top_up, ask the human to pay the checkoutUrl, then retry. Identical requests are deduplicated for 24 hours; use a new idempotencyKey only to deliberately repeat the action.

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": {
      "number": "<number>"
    },
    "name": "ringkit_provision_number"
  }
}

Input Schema

NameRequiredDescriptionDefault
numberYes
businessIdNoDefaults to the business of the API key in the Authorization header.
idempotencyKeyNoOptional. Retries of the same call should reuse it (the stored result comes back); a new value deliberately repeats an identical call. The MCP POST's Idempotency-Key header takes precedence.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say destructive/idempotent/openWorld; the description supplies the operational substance behind them: the $1.99 monthly cost billed daily, the $2 paid-credit prerequisite with the caveat that promotional credit covers calls only, no human sign-in required, the 402 recovery flow, and 24-hour deduplication of identical requests. All of this is consistent with destructiveHint=true and idempotentHint=true, and none of it is recoverable from the structured fields.

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?

Front-loaded and information-dense: cost, prerequisite, failure routing, and idempotency semantics each appear once in roughly four sentences. The 'Step 7:' prefix is mildly odd in isolation but usefully signals workflow ordering. A few clauses run together in one sentence, which slightly hurts scanability but wastes nothing.

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 paid, destructive provisioning call with three parameters and no output schema, the description covers cost, funding prerequisite, auth model, error recovery, and idempotency — everything needed to call it correctly. The one gap is return behavior: it does not say what the successful response contains (e.g., the provisioned number record), which matters since no output schema exists.

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

Parameters5/5

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

Schema coverage is 67%, but the description adds real semantics the schema does not: the 24-hour identical-request dedup window and the rule that a new idempotencyKey deliberately repeats the action. That explains the actual consequence of the idempotencyKey parameter rather than restating its type. The required 'number' parameter's E.164 shape is left to the schema pattern, which is adequate.

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 moves past the title's generic 'Get a phone number' with a concrete verb and scope: 'Order a phone number for the business ($1.99 a month, billed daily from the wallet).' The pricing and billing detail makes clear this is a purchasing/provisioning action rather than a lookup, which separates it from ringkit_list_numbers or ringkit_release_number. It stops short of naming a sibling alternative, so it earns a 4 rather than a 5.

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 gives explicit routing for the main failure path: 'On 402 funding_required call ringkit_top_up, ask the human to pay the checkoutUrl, then retry' — a named alternative plus the condition that selects it. It also constrains idempotencyKey reuse ('use a new idempotencyKey only to deliberately repeat the action'). There is no explicit when-not-to-use guidance (e.g., if a number already exists, list first), so it falls short of a 5.

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.

Resources