Skip to main content
Glama

Tanod Util

utilpeek: look up a phone number prefix (country, line type, original network)

lookup_phone_prefix
Read-onlyIdempotent

utilpeek: Look up a phone number prefix: country, line type and original network, with ambiguity. Returns look up a phone number prefix (0917, +63917, 0063917): country, line type, original network, time zones and E.164 prefix, with ambiguous and candidates when it spans networks; list + region lists a country's mobile prefixes by network. Input: prefix, optional region to read a national form such as 0917; or list: true with region and no prefix. Original range holder, not the current network (number portability); offline metadata; a national form without region lists candidate countries. Bad input is a 422 (not charged). Typically under 0.1 s. Price: USD 0.001. Free: 10 utilpeek calls per IP per UTC day. Tanod does not log or store the submitted text; it is processed in memory for this answer. Docs: https://tanod.dev/learn/phone-number-prefix-lookup-api.html

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
listNoWith `region` (and no prefix): return every mobile prefix of that country at the 4-digit national level (e.g. 0905, 0917), grouped by network.
prefixNoThe leading digits of a number, in any form: 0917, 917, +63917, 0063917 or 63917 (digits with an optional leading + or 00; separators space - . ( ) are ignored). Without `region` a national form (0917) is read in every country and the reply lists the candidate `countries`. Omit with `list`.
regionNoISO 3166-1 alpha-2 country (PH, US, GB, ...): reads a national prefix and selects the country for `list`.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNo
typeNo
errorNoOnly on an error result: an object {code, message}, or the reason string of an x402 PaymentRequired object.
levelNo
mixedNo
probeNo
blocksNo
detailNo
regionNo
sourceNo
carrierNo
countryNo
regionsNo
networksNo
possibleNo
ambiguityNo
ambiguousNo
countriesNo
timezonesNo
candidatesNo
other_shareNo
prefix_e164No
trunk_prefixNo
interpreted_asNo
total_prefixesNo
countries_countNo
country_calling_codeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

Score is being calculated.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources