MCPツールとしての電話番号の地域情報検索
国際形式の電話番号を入力すると、Googleのlibphonenumberデータをもとに、国、地域、元の通信事業者、番号の種類、現地の現在時刻を表示します。
ツール
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 · 必須Phone 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 code最大32文字languagestring · 任意Language 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 en使える値: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既定値:"en"
入力スキーマ
接続
すべてのリクエストでは、アカウントで作成できるAPIトークンを Authorization ヘッダーでBearerトークンとして送る必要があります。
ウェブサイトで
電話番号の地域情報検索はブラウザーでも使え、AIアシスタントは必要ありません。