Consulta de información de números de teléfono como herramienta MCP
Introduce un número de teléfono en formato internacional para consultar el país, la zona, el operador original, el tipo de número y la hora local actual, según los datos de libphonenumber de Google.
Herramienta
phone_number_area_lookupLooks up where a phone number is from with Google's libphonenumber data (its number metadata, geocoding, carrier and time zone files, bundled with the site): the number isn't sent to any outside service, and nothing tells whether it's in use. phoneNumber is the number in international format, starting with + and the country calling code; language (default en) picks the language of the place and carrier names, falling back to English. Returns phoneNumber (E.164), countryCallingCode (digits, such as 1 or 44), country (ISO 3166-1 alpha-2 code of the region the number belongs to; null for global numbers such as +800), valid (whether the number matches its region's numbering plan), numberType (libphonenumber's type: FIXED_LINE, MOBILE, FIXED_LINE_OR_MOBILE, TOLL_FREE, PREMIUM_RATE, SHARED_COST, VOIP, PERSONAL_NUMBER, PAGER, UAN or VOICEMAIL; null when unknown), internationalFormat (the number grouped as dialed from abroad), location (the area the number's prefix is assigned to, such as a city or region; null when the data has none, as for most mobile and toll-free numbers), carrier (the carrier the number's mobile range was first assigned to; numbers can be ported to another carrier since, so it's not proof of the current one; null for non-mobile numbers or when unknown) and timeZones (IANA time zone names for the number's prefix; a country-wide number can list many). Location, carrier and time zones are only looked up for valid numbers. Fails when the number can't be read as an international number, or when the site's data can't be read.
phoneNumberstring · ObligatorioPhone number in international format: + and the country calling code, then the number. Spaces, dots, hyphens and parentheses are ignored; without the leading +, the number is still read as starting with its country calling codeHasta 32 caractereslanguagestring · OpcionalLanguage of the location and carrier names, one of ar, be, bg, bs, de, el, en, es, fa, fi, fr, hr, hu, hy, id, it, iw, ja, ko, nl, pl, pt, ro, ru, sq, sr, sv, th, tr, uk, vi, zh, zh_Hant (iw is Hebrew, zh_Hant traditional Chinese); English when the data has no name in it. Default enValores permitidos:ar,be,bg,bs,de,el,en,es,fa,fi,fr,hr,hu,hy,id,it,iw,ja,ko,nl,pl,pt,ro,ru,sq,sr,sv,th,tr,uk,vi,zh,zh_HantPredeterminado:"en"
Esquema de entrada
Conexión
Cada solicitud necesita un token de API, que puedes crear en tu cuenta y enviar como token Bearer en el encabezado Authorization.
En el sitio web
Consulta de información de números de teléfono también funciona en tu navegador, sin asistente de IA.