Skip to main content
Glama

validate_e164_number

Validate an E.164 number's format and reachability hints. ($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": "validate_e164_number"
  }
}

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.1/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It usefully discloses the $2.00 cost and that 'reachability hints' are produced, but it never clarifies whether reachability implies a live network lookup, what the hints contain, or how invalid input is handled; the payment_required behavior is only visible in the schema's payment field, not the description.

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 the core action front-loaded and the cost appended. The parenthetical price is a bit orphaned but still earns its place as a usage signal; nothing is padded.

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

Completeness2/5

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

For a paid validation tool with no annotations and no output schema, the definition is thin: it does not describe the shape of the validation result (valid/invalid, reason codes, what a reachability hint looks like) or the payment flow. The agent knows what the tool does but not what it will get back or how to satisfy the paid call.

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 50%: the payment parameter is documented in the schema while the required e164 parameter has no schema description. The description partially compensates by naming E.164 as the expected format, but it gives no example, no normalization rules, and no explanation of how the payment payload relates to the stated price.

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 ('Validate an E.164 number') and adds scope ('format and reachability hints'), so the operation is unmistakable. It does not, however, contrast itself with nearby siblings such as verify_pco_badge_format or check_sms_sender_rules, so the boundary is left to the agent.

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 statement of when to use this tool versus alternatives, no preconditions, and no exclusions. The only contextual hint is the price suffix, which tells the agent it costs money but not when spending that money is appropriate.

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