Skip to main content
Glama

Lookup Kit

phone_check

Read-only

Phone number validation, phone number lookup and formatting API. Check whether a phone number is valid and get it in standard formats (E.164, international, national), its country and line type (mobile, fixed line, toll free...). Works offline with Google's libphonenumber rules; the number is not called, stored or logged. Send country (2 letters) when the number has no + prefix. Price: $0.001 per call (x402, USDC on Base).

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

Input Schema

NameRequiredDescriptionDefault
numberYes
countryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Goes well beyond the supplied readOnlyHint/openWorldHint annotations by disclosing that validation runs offline against libphonenumber rules, that the number is not called, stored or logged, and that each call costs $0.001 via x402/USDC on Base. Those privacy and billing details materially affect whether and how an agent invokes it, though latency, rate limits and failure modes are not covered.

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?

Three sentences, front-loaded with the purpose, then behavior, then the pricing footnote in a logical order with no filler. Slightly dense in the middle sentence where return fields, offline behavior and privacy guarantees are packed together, but nothing is wasteful.

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?

With no output schema, the description does the work of explaining what comes back (formats, country, line type), and it also covers the offline/no-logging behavior and per-call price. For a two-parameter validation tool, an agent has everything needed to call it correctly.

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 description coverage is 0%, so the description has to carry the meaning, and it explains the key one: country is a 2-letter code required only when the number lacks a + prefix. The 'number' parameter is only implicitly explained (a phone number of up to 40 chars), but the country conditional logic compensates for most of the schema gap.

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?

States a specific verb and resource ('Phone number validation, phone number lookup and formatting'), then enumerates the concrete outputs: E.164/international/national formats, country, and line type. That framing is clearly distinct from the other *_check siblings such as email_check or iban_check.

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

Usage Guidelines3/5

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

Usage is implied by the purpose rather than stated: there is no explicit 'use this when' or comparison against an alternative tool. The one actionable rule given ('Send country (2 letters) when the number has no + prefix') is a conditional input rule, not a when-to-use guideline.

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