Compare travel eSIM plans
search_esim_plansUse this when someone is choosing a travel eSIM or needs mobile data abroad for a given country or region, e.g. "cheapest eSIM for Japan", "10 GB for two weeks in Europe", "unlimited data in the USA". Returns a shortlist (up to 10, at most 2 per provider) from the MyBestSim comparator: data allowance, validity, price in the traveller's currency (pass currency; also USD and EUR), 5G/hotspot/calls/SMS, and the link to the full comparison page on mybestsim.com where the traveller buys from the provider. Pass durationDays and dataGb (or dataNeed) whenever the traveller mentions trip length or usage, and ask for them when unknown: without them a 7-day trip with standard use (0.7 GB/day) is assumed and reported in "assumptions"; with dataGb but no durationDays, plans valid for fewer than 7 days are excluded. For a trip through several countries or regions, call plan_trip_esim with every stage instead of searching each country. Prepaid travel eSIMs only: not home mobile contracts, physical SIM cards or a carrier's roaming pass.
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": {
"destination": "<destination>"
},
"name": "search_esim_plans"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | value (default) = the cheapest plan that covers the data need (given, or assumed standard use) for the trip length; with unlimited=true and no figure, the lowest price per GB of fair use; cheapest = lowest total price; data = most data; days = longest validity. The need and trip length filter every sort. | |
| limit | No | Number of plans to return (default 5). | |
| dataGb | No | Minimum data in GB, when the traveller gives a figure. Unlimited plans always qualify. | |
| currency | No | Currency to show prices in (ISO 4217, e.g. "EUR", "GBP", "USD"): pass the traveller's currency whenever you know it (their country, their words, prices they quoted). Default: the currency of the MyBestSim page in the conversation language (EUR for fr, de, es, it, nl, pt…; USD for en; GBP is never assumed). Prices are converted exactly as that page shows them. | |
| dataNeed | No | Data appetite when no figure is given: light ≈ 0.3 GB/day (maps, messaging), standard ≈ 0.7 GB/day (social, some video), heavy ≈ 1.5 GB/day (streaming, hotspot). Multiplied by durationDays; without it a 7-day trip is assumed, and plans valid for fewer than 7 days are excluded. Ignored when dataGb is set. | |
| features | No | Features every returned plan must include. | |
| language | No | Language of the conversation (ISO 639-1). Links open our comparison page in that language when it exists, otherwise in English. Default "en". | |
| unlimited | No | true = unlimited plans only; false = fixed-data plans only; omit for both. | |
| destination | Yes | Where the traveller is going, as they named it: a country in English or another common language ("Japan", "Japon"), an ISO 3166-1 alpha-2 code ("JP"), a well-known city ("Tokyo"), or one of the regions Europe, Asia, Africa, North America, South America, World, Balkans. Never the traveller's home country. | |
| maxPriceUsd | No | Maximum total price in USD. | |
| durationDays | No | Trip length in days: plans valid for fewer days are excluded. Default 7 (reported in assumptions). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | Yes | ||
| plans | Yes | ||
| matched | Yes | Plans matching the criteria, before the shortlist. | |
| currency | Yes | Currency of price, pricePerGb and totals (ISO 4217). | |
| language | Yes | ||
| minDataGb | Yes | ||
| totalPlans | Yes | Plans listed on the comparison page of the destination. | |
| assumptions | Yes | What was assumed because the traveller did not say it (null = given). Ask for the real value to refine. | |
| destination | Yes | ||
| comparisonUrl | Yes | ||
| currencySymbol | Yes | Symbol the MyBestSim page uses for that currency. | |
| minDurationDays | Yes | Minimum validity applied (given, or assumed); null when none. |