Skip to main content
Glama

check_number_portability

Check whether a phone number can be ported to a new carrier. ($2.00)

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": "check_number_portability"
  }
}

Input Schema

NameRequiredDescriptionDefault
e164Yes
paymentNoOptional payment: x402 base64 payment payload, or MPP voucher (mpp.v1...). Without it, the tool returns a payment_required challenge.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

B3/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden but does add real behavioral value: the explicit "$2.00" price and, via the schema, the payment_required challenge when no payment payload is supplied. It does not say whether a non-portable result is still billed, whether the call has side effects, or what the response contains, which are the gaps that matter for a paid lookup.

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 clauses, front-loaded with the operation and capped by the price. Nothing is redundant, though the parenthetical price could be folded more naturally into the sentence.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a two-parameter paid lookup with no annotations and no output schema, the definition covers purpose and cost but leaves return semantics and input format unstated. An agent can select it correctly but must guess what a result looks like and how the number must be formatted.

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

Parameters2/5

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

Schema coverage is only 50%: the payment parameter is documented inline, but e164 has no description. The description says nothing about the number parameter at all, so it fails to compensate for the undocumented half — the required input's expected E.164 format has to be inferred from the parameter name.

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?

"Check whether a phone number can be ported to a new carrier" names a specific verb (check) and resource (number portability) with the decision it answers. It is unambiguous on its own, but it never contrasts itself with nearby siblings such as validate_e164_number or check_sms_sender_rules, so an agent must infer the boundary.

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?

The description states the domain of the check but gives no when-to-use guidance, no prerequisites (e.g., that the number must already be in E.164 form), and no alternatives to prefer when the caller only needs format validation. The scenario is implied by the purpose sentence rather than articulated as guidance.

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