Skip to main content
Glama

Plan eSIMs for a multi-country trip

plan_trip_esim
Read-onlyIdempotent

Use this when one trip visits SEVERAL countries or regions, e.g. "Japan then China", "two weeks in France, Italy and Spain", "Thailand, Vietnam and Cambodia in March". Pass EVERY stage in travel order, with the days spent in each when known (or totalDurationDays), and the data need. Compares, at the real total price, every way to cover the trip: (a) one eSIM for every stage (regional or worldwide plan; coverage is checked country by country against the MyBestSim catalogue, never guessed from a plan name), (b) one plan per stage, and combinations (a regional plan for some stages, other plans for the rest; several regional plans). A plan is only proposed for stages it covers, for their whole duration and data need. Recommends the cheapest total; prefers fewer eSIMs unless installing more saves at least $2 per extra eSIM, and says so. Gives the reason, the number of eSIMs, total price, data and validity, and links to the MyBestSim pages where the traveller buys. List the countries themselves as stages: a region stage (Europe, Asia…) only matches plans listed on that region page. Ask how long they stay and how much data they use when they have not said: without it a 7-day trip with standard use is assumed and reported in "assumptions". Prepaid travel eSIMs only.

Input Schema

NameRequiredDescriptionDefault
dataGbNoData for the WHOLE trip in GB, when the traveller gives a figure (spread over the stages by days). Unlimited plans always qualify.
currencyNoCurrency 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.
dataNeedNoData appetite when no figure is given: light ≈ 0.3 GB/day, standard ≈ 0.7 GB/day, heavy ≈ 1.5 GB/day. Default standard. Ignored when dataGb is set.
featuresNoFeatures every proposed plan must include.
languageNoLanguage of the conversation (ISO 639-1). Links open our comparison page in that language when it exists, otherwise in English. Default "en".
itineraryYesThe stages of the trip in travel order (1 to 8). A stage is a country, a well-known city or one of the regions (Europe, Asia…).
unlimitedNotrue = unlimited plans only; false = fixed-data plans only; omit for both.
totalDurationDaysNoWhole trip length in days, when the stages are not dated one by one (a single plan must last this long).

Output Schema

NameRequiredDescriptionDefault
kindYes
dataGbYesData needed for the whole trip; null for unlimited-only.
stagesYes
currencyYesCurrency of price, pricePerGb and totals (ISO 4217).
languageYes
perStageYes
totalDaysYes
singlePlanYes
assumptionsYesWhat was assumed because the traveller did not say it (null = given). Ask for the real value to refine.
combinationYes
currencySymbolYesSymbol the MyBestSim page uses for that currency.
recommendationYes
optionsByEsimCountYesCheapest real total for each possible number of eSIMs (every split of the stages compared), to show what one more or one fewer eSIM costs.
plansCoveringAllStagesYesPlans proven to cover every stage (listed on the page of each stage, or with a catalogue line in each country of the trip), before the length/data/feature criteria.
singlePlanAlternativesYesOther single plans covering every stage (up to 2).

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed13 schema fields changed
    • addedInput schema / properties / currency
      Added value: +{
      +  "description": "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.",
      +  "enum": [
      +    "USD",
      +    "EUR",
      +    "GBP",
      +    "CAD",
      +    "AUD",
      +    "JPY",
      +    "CNY",
      +    "KRW",
      +    "INR",
      +    "THB",
      +    "IDR",
      +    "MYR",
      +    "SGD",
      +    "PHP",
      +    "VND",
      +    "PKR",
      +    "BDT",
      +    "LKR",
      +    "AED",
      +    "SAR",
      +    "ILS",
      +    "TRY",
      +    "ZAR",
      +    "KES",
      +    "NGN",
      +    "EGP",
      +    "MAD",
      +    "BRL",
      +    "MXN",
      +    "COP",
      +    "CLP",
      +    "PEN",
      +    "NZD",
      +    "CHF",
      +    "SEK",
      +    "NOK",
      +    "DKK",
      +    "PLN",
      +    "CZK",
      +    "HUF",
      +    "RON",
      +    "BGN",
      +    "RUB"
      +  ],
      +  "type": "string"
      +}
    • changedOutput schema / properties / combination / anyOf
      Previous value: -[
      -  {
      -    "description": "Mix (a plan for some stages, other plans for the rest): the recommended mix, or the cheapest mix when it costs less than (a) and (b); null otherwise.",
      -    "properties": {
      -      "esimCount": {
      -        "type": "integer"
      -      },
      -      "links": {
      -        "description": "MyBestSim pages to open, each listing the plan it is given for: the region page when it lists the plan covering several stages, else the country pages that list it.",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "segments": {
      -        "items": {
      -          "description": "One eSIM and the stages it covers.",
      -          "properties": {
      -            "dataGb": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "days": {
      -              "description": "Validity needed.",
      -              "type": "integer"
      -            },
      -            "pageUrl": {
      -              "description": "MyBestSim page to compare and buy, which lists the plan: the region page when the plan covers several stages and that page lists it, else the page of a stage that lists it.",
      -              "type": "string"
      -            },
      -            "plan": {
      -              "properties": {
      -                "calls": {
      -                  "type": "boolean"
      -                },
      -                "countryCount": {
      -                  "type": "integer"
      -                },
      -                "coverage": {
      -                  "enum": [
      -                    "country",
      -                    "regional",
      -                    "global"
      -                  ],
      -                  "type": "string"
      -                },
      -                "dataGb": {
      -                  "description": "Total data in GB; null when unlimited.",
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "dataLabel": {
      -                  "type": "string"
      -                },
      -                "durationDays": {
      -                  "type": "integer"
      -                },
      -                "fiveG": {
      -                  "type": "boolean"
      -                },
      -                "hotspot": {
      -                  "type": "boolean"
      -                },
      -                "planId": {
      -                  "description": "Identifier to pass to get_esim_plan.",
      -                  "type": "string"
      -                },
      -                "priceEur": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "pricePerGbUsd": {
      -                  "description": "Null when unlimited.",
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "priceUsd": {
      -                  "type": "number"
      -                },
      -                "provider": {
      -                  "type": "string"
      -                },
      -                "providerSlug": {
      -                  "type": "string"
      -                },
      -                "regionName": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "sms": {
      -                  "type": "boolean"
      -                },
      -                "unlimited": {
      -                  "description": "True for an unlimited-data plan. Its fair-use policy is not published here: present it as \"Unlimited\" without inventing a cap.",
      -                  "type": "boolean"
      -                },
      -                "url": {
      -                  "description": "MyBestSim comparison page that lists this plan.",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "planId",
      -                "provider",
      -                "providerSlug",
      -                "unlimited",
      -                "dataGb",
      -                "dataLabel",
      -                "durationDays",
      -                "priceUsd",
      -                "priceEur",
      -                "pricePerGbUsd",
      -                "coverage",
      -                "regionName",
      -                "countryCount",
      -                "fiveG",
      -                "hotspot",
      -                "calls",
      -                "sms",
      -                "url"
      -              ],
      -              "type": "object"
      -            },
      -            "stages": {
      -              "description": "Indexes (0-based) of the stages covered, in travel order.",
      -              "items": {
      -                "type": "integer"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "stages",
      -            "days",
      -            "dataGb",
      -            "plan",
      -            "pageUrl"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "totalEur": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "totalUsd": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "totalUsd",
      -      "totalEur",
      -      "esimCount",
      -      "segments",
      -      "links"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "Mix (a plan for some stages, other plans for the rest): the recommended mix, or the cheapest mix when it costs less than (a) and (b); null otherwise.",
      +    "properties": {
      +      "esimCount": {
      +        "type": "integer"
      +      },
      +      "links": {
      +        "description": "MyBestSim pages to open, each listing the plan it is given for: the region page when it lists the plan covering several stages, else the country pages that list it.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "segments": {
      +        "items": {
      +          "description": "One eSIM and the stages it covers.",
      +          "properties": {
      +            "dataGb": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "days": {
      +              "description": "Validity needed.",
      +              "type": "integer"
      +            },
      +            "pageUrl": {
      +              "description": "MyBestSim page to compare and buy, which lists the plan: the region page when the plan covers several stages and that page lists it, else the page of a stage that lists it.",
      +              "type": "string"
      +            },
      +            "plan": {
      +              "properties": {
      +                "calls": {
      +                  "type": "boolean"
      +                },
      +                "countryCount": {
      +                  "type": "integer"
      +                },
      +                "coverage": {
      +                  "enum": [
      +                    "country",
      +                    "regional",
      +                    "global"
      +                  ],
      +                  "type": "string"
      +                },
      +                "dataGb": {
      +                  "description": "Total data in GB; null when unlimited.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "dataLabel": {
      +                  "type": "string"
      +                },
      +                "durationDays": {
      +                  "type": "integer"
      +                },
      +                "fiveG": {
      +                  "type": "boolean"
      +                },
      +                "hotspot": {
      +                  "type": "boolean"
      +                },
      +                "planId": {
      +                  "description": "Identifier to pass to get_esim_plan.",
      +                  "type": "string"
      +                },
      +                "price": {
      +                  "description": "Price in the response currency, as the MyBestSim page shows it.",
      +                  "type": "number"
      +                },
      +                "priceEur": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "pricePerGb": {
      +                  "description": "Price per GB in the response currency; null when unlimited.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "pricePerGbUsd": {
      +                  "description": "Null when unlimited.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "priceUsd": {
      +                  "type": "number"
      +                },
      +                "provider": {
      +                  "type": "string"
      +                },
      +                "providerSlug": {
      +                  "type": "string"
      +                },
      +                "regionName": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "sms": {
      +                  "type": "boolean"
      +                },
      +                "unlimited": {
      +                  "description": "True for an unlimited-data plan. Its fair-use policy is not published here: present it as \"Unlimited\" without inventing a cap.",
      +                  "type": "boolean"
      +                },
      +                "url": {
      +                  "description": "MyBestSim comparison page that lists this plan.",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "planId",
      +                "provider",
      +                "providerSlug",
      +                "unlimited",
      +                "dataGb",
      +                "dataLabel",
      +                "durationDays",
      +                "price",
      +                "pricePerGb",
      +                "priceUsd",
      +                "priceEur",
      +                "pricePerGbUsd",
      +                "coverage",
      +                "regionName",
      +                "countryCount",
      +                "fiveG",
      +                "hotspot",
      +                "calls",
      +                "sms",
      +                "url"
      +              ],
      +              "type": "object"
      +            },
      +            "stages": {
      +              "description": "Indexes (0-based) of the stages covered, in travel order.",
      +              "items": {
      +                "type": "integer"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "stages",
      +            "days",
      +            "dataGb",
      +            "plan",
      +            "pageUrl"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "total": {
      +        "description": "Sum of the plan prices in the response currency.",
      +        "type": "number"
      +      },
      +      "totalEur": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "totalUsd": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "total",
      +      "totalUsd",
      +      "totalEur",
      +      "esimCount",
      +      "segments",
      +      "links"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / currency / description
      Added value: +"Currency of price, pricePerGb and totals (ISO 4217)."
    • addedOutput schema / properties / currencySymbol
      Added value: +{
      +  "description": "Symbol the MyBestSim page uses for that currency.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / optionsByEsimCount / items / properties / total
      Added value: +{
      +  "description": "In the response currency.",
      +  "type": "number"
      +}
    • changedOutput schema / properties / optionsByEsimCount / items / required
      Previous value: -[
      -  "esimCount",
      -  "totalUsd",
      -  "stageGroups"
      -]New value: +[
      +  "esimCount",
      +  "total",
      +  "totalUsd",
      +  "stageGroups"
      +]
    • changedOutput schema / properties / perStage / anyOf
      Previous value: -[
      -  {
      -    "description": "(b) The best plan for each stage; null when a stage has no qualifying plan.",
      -    "properties": {
      -      "esimCount": {
      -        "type": "integer"
      -      },
      -      "links": {
      -        "description": "MyBestSim pages to open, each listing the plan it is given for: the region page when it lists the plan covering several stages, else the country pages that list it.",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "segments": {
      -        "items": {
      -          "description": "One eSIM and the stages it covers.",
      -          "properties": {
      -            "dataGb": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "days": {
      -              "description": "Validity needed.",
      -              "type": "integer"
      -            },
      -            "pageUrl": {
      -              "description": "MyBestSim page to compare and buy, which lists the plan: the region page when the plan covers several stages and that page lists it, else the page of a stage that lists it.",
      -              "type": "string"
      -            },
      -            "plan": {
      -              "properties": {
      -                "calls": {
      -                  "type": "boolean"
      -                },
      -                "countryCount": {
      -                  "type": "integer"
      -                },
      -                "coverage": {
      -                  "enum": [
      -                    "country",
      -                    "regional",
      -                    "global"
      -                  ],
      -                  "type": "string"
      -                },
      -                "dataGb": {
      -                  "description": "Total data in GB; null when unlimited.",
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "dataLabel": {
      -                  "type": "string"
      -                },
      -                "durationDays": {
      -                  "type": "integer"
      -                },
      -                "fiveG": {
      -                  "type": "boolean"
      -                },
      -                "hotspot": {
      -                  "type": "boolean"
      -                },
      -                "planId": {
      -                  "description": "Identifier to pass to get_esim_plan.",
      -                  "type": "string"
      -                },
      -                "priceEur": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "pricePerGbUsd": {
      -                  "description": "Null when unlimited.",
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "priceUsd": {
      -                  "type": "number"
      -                },
      -                "provider": {
      -                  "type": "string"
      -                },
      -                "providerSlug": {
      -                  "type": "string"
      -                },
      -                "regionName": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "sms": {
      -                  "type": "boolean"
      -                },
      -                "unlimited": {
      -                  "description": "True for an unlimited-data plan. Its fair-use policy is not published here: present it as \"Unlimited\" without inventing a cap.",
      -                  "type": "boolean"
      -                },
      -                "url": {
      -                  "description": "MyBestSim comparison page that lists this plan.",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "planId",
      -                "provider",
      -                "providerSlug",
      -                "unlimited",
      -                "dataGb",
      -                "dataLabel",
      -                "durationDays",
      -                "priceUsd",
      -                "priceEur",
      -                "pricePerGbUsd",
      -                "coverage",
      -                "regionName",
      -                "countryCount",
      -                "fiveG",
      -                "hotspot",
      -                "calls",
      -                "sms",
      -                "url"
      -              ],
      -              "type": "object"
      -            },
      -            "stages": {
      -              "description": "Indexes (0-based) of the stages covered, in travel order.",
      -              "items": {
      -                "type": "integer"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "stages",
      -            "days",
      -            "dataGb",
      -            "plan",
      -            "pageUrl"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "totalEur": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "totalUsd": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "totalUsd",
      -      "totalEur",
      -      "esimCount",
      -      "segments",
      -      "links"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "(b) The best plan for each stage; null when a stage has no qualifying plan.",
      +    "properties": {
      +      "esimCount": {
      +        "type": "integer"
      +      },
      +      "links": {
      +        "description": "MyBestSim pages to open, each listing the plan it is given for: the region page when it lists the plan covering several stages, else the country pages that list it.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "segments": {
      +        "items": {
      +          "description": "One eSIM and the stages it covers.",
      +          "properties": {
      +            "dataGb": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "days": {
      +              "description": "Validity needed.",
      +              "type": "integer"
      +            },
      +            "pageUrl": {
      +              "description": "MyBestSim page to compare and buy, which lists the plan: the region page when the plan covers several stages and that page lists it, else the page of a stage that lists it.",
      +              "type": "string"
      +            },
      +            "plan": {
      +              "properties": {
      +                "calls": {
      +                  "type": "boolean"
      +                },
      +                "countryCount": {
      +                  "type": "integer"
      +                },
      +                "coverage": {
      +                  "enum": [
      +                    "country",
      +                    "regional",
      +                    "global"
      +                  ],
      +                  "type": "string"
      +                },
      +                "dataGb": {
      +                  "description": "Total data in GB; null when unlimited.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "dataLabel": {
      +                  "type": "string"
      +                },
      +                "durationDays": {
      +                  "type": "integer"
      +                },
      +                "fiveG": {
      +                  "type": "boolean"
      +                },
      +                "hotspot": {
      +                  "type": "boolean"
      +                },
      +                "planId": {
      +                  "description": "Identifier to pass to get_esim_plan.",
      +                  "type": "string"
      +                },
      +                "price": {
      +                  "description": "Price in the response currency, as the MyBestSim page shows it.",
      +                  "type": "number"
      +                },
      +                "priceEur": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "pricePerGb": {
      +                  "description": "Price per GB in the response currency; null when unlimited.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "pricePerGbUsd": {
      +                  "description": "Null when unlimited.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "priceUsd": {
      +                  "type": "number"
      +                },
      +                "provider": {
      +                  "type": "string"
      +                },
      +                "providerSlug": {
      +                  "type": "string"
      +                },
      +                "regionName": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "sms": {
      +                  "type": "boolean"
      +                },
      +                "unlimited": {
      +                  "description": "True for an unlimited-data plan. Its fair-use policy is not published here: present it as \"Unlimited\" without inventing a cap.",
      +                  "type": "boolean"
      +                },
      +                "url": {
      +                  "description": "MyBestSim comparison page that lists this plan.",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "planId",
      +                "provider",
      +                "providerSlug",
      +                "unlimited",
      +                "dataGb",
      +                "dataLabel",
      +                "durationDays",
      +                "price",
      +                "pricePerGb",
      +                "priceUsd",
      +                "priceEur",
      +                "pricePerGbUsd",
      +                "coverage",
      +                "regionName",
      +                "countryCount",
      +                "fiveG",
      +                "hotspot",
      +                "calls",
      +                "sms",
      +                "url"
      +              ],
      +              "type": "object"
      +            },
      +            "stages": {
      +              "description": "Indexes (0-based) of the stages covered, in travel order.",
      +              "items": {
      +                "type": "integer"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "stages",
      +            "days",
      +            "dataGb",
      +            "plan",
      +            "pageUrl"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "total": {
      +        "description": "Sum of the plan prices in the response currency.",
      +        "type": "number"
      +      },
      +      "totalEur": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "totalUsd": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "total",
      +      "totalUsd",
      +      "totalEur",
      +      "esimCount",
      +      "segments",
      +      "links"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / recommendation / anyOf
      Previous value: -[
      -  {
      -    "properties": {
      -      "links": {
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "reason": {
      -        "type": "string"
      -      },
      -      "strategy": {
      -        "enum": [
      -          "single",
      -          "perStage",
      -          "combination"
      -        ],
      -        "type": "string"
      -      },
      -      "totalUsd": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "strategy",
      -      "reason",
      -      "totalUsd",
      -      "links"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "properties": {
      +      "links": {
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "reason": {
      +        "type": "string"
      +      },
      +      "strategy": {
      +        "enum": [
      +          "single",
      +          "perStage",
      +          "combination"
      +        ],
      +        "type": "string"
      +      },
      +      "total": {
      +        "type": "number"
      +      },
      +      "totalUsd": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "strategy",
      +      "reason",
      +      "total",
      +      "totalUsd",
      +      "links"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / singlePlan / anyOf
      Previous value: -[
      -  {
      -    "description": "(a) One eSIM covering every stage; null when none qualifies.",
      -    "properties": {
      -      "esimCount": {
      -        "type": "integer"
      -      },
      -      "links": {
      -        "description": "MyBestSim pages to open, each listing the plan it is given for: the region page when it lists the plan covering several stages, else the country pages that list it.",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "segments": {
      -        "items": {
      -          "description": "One eSIM and the stages it covers.",
      -          "properties": {
      -            "dataGb": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "days": {
      -              "description": "Validity needed.",
      -              "type": "integer"
      -            },
      -            "pageUrl": {
      -              "description": "MyBestSim page to compare and buy, which lists the plan: the region page when the plan covers several stages and that page lists it, else the page of a stage that lists it.",
      -              "type": "string"
      -            },
      -            "plan": {
      -              "properties": {
      -                "calls": {
      -                  "type": "boolean"
      -                },
      -                "countryCount": {
      -                  "type": "integer"
      -                },
      -                "coverage": {
      -                  "enum": [
      -                    "country",
      -                    "regional",
      -                    "global"
      -                  ],
      -                  "type": "string"
      -                },
      -                "dataGb": {
      -                  "description": "Total data in GB; null when unlimited.",
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "dataLabel": {
      -                  "type": "string"
      -                },
      -                "durationDays": {
      -                  "type": "integer"
      -                },
      -                "fiveG": {
      -                  "type": "boolean"
      -                },
      -                "hotspot": {
      -                  "type": "boolean"
      -                },
      -                "planId": {
      -                  "description": "Identifier to pass to get_esim_plan.",
      -                  "type": "string"
      -                },
      -                "priceEur": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "pricePerGbUsd": {
      -                  "description": "Null when unlimited.",
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "priceUsd": {
      -                  "type": "number"
      -                },
      -                "provider": {
      -                  "type": "string"
      -                },
      -                "providerSlug": {
      -                  "type": "string"
      -                },
      -                "regionName": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "sms": {
      -                  "type": "boolean"
      -                },
      -                "unlimited": {
      -                  "description": "True for an unlimited-data plan. Its fair-use policy is not published here: present it as \"Unlimited\" without inventing a cap.",
      -                  "type": "boolean"
      -                },
      -                "url": {
      -                  "description": "MyBestSim comparison page that lists this plan.",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "planId",
      -                "provider",
      -                "providerSlug",
      -                "unlimited",
      -                "dataGb",
      -                "dataLabel",
      -                "durationDays",
      -                "priceUsd",
      -                "priceEur",
      -                "pricePerGbUsd",
      -                "coverage",
      -                "regionName",
      -                "countryCount",
      -                "fiveG",
      -                "hotspot",
      -                "calls",
      -                "sms",
      -                "url"
      -              ],
      -              "type": "object"
      -            },
      -            "stages": {
      -              "description": "Indexes (0-based) of the stages covered, in travel order.",
      -              "items": {
      -                "type": "integer"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "stages",
      -            "days",
      -            "dataGb",
      -            "plan",
      -            "pageUrl"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "totalEur": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "totalUsd": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "totalUsd",
      -      "totalEur",
      -      "esimCount",
      -      "segments",
      -      "links"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "(a) One eSIM covering every stage; null when none qualifies.",
      +    "properties": {
      +      "esimCount": {
      +        "type": "integer"
      +      },
      +      "links": {
      +        "description": "MyBestSim pages to open, each listing the plan it is given for: the region page when it lists the plan covering several stages, else the country pages that list it.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "segments": {
      +        "items": {
      +          "description": "One eSIM and the stages it covers.",
      +          "properties": {
      +            "dataGb": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "days": {
      +              "description": "Validity needed.",
      +              "type": "integer"
      +            },
      +            "pageUrl": {
      +              "description": "MyBestSim page to compare and buy, which lists the plan: the region page when the plan covers several stages and that page lists it, else the page of a stage that lists it.",
      +              "type": "string"
      +            },
      +            "plan": {
      +              "properties": {
      +                "calls": {
      +                  "type": "boolean"
      +                },
      +                "countryCount": {
      +                  "type": "integer"
      +                },
      +                "coverage": {
      +                  "enum": [
      +                    "country",
      +                    "regional",
      +                    "global"
      +                  ],
      +                  "type": "string"
      +                },
      +                "dataGb": {
      +                  "description": "Total data in GB; null when unlimited.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "dataLabel": {
      +                  "type": "string"
      +                },
      +                "durationDays": {
      +                  "type": "integer"
      +                },
      +                "fiveG": {
      +                  "type": "boolean"
      +                },
      +                "hotspot": {
      +                  "type": "boolean"
      +                },
      +                "planId": {
      +                  "description": "Identifier to pass to get_esim_plan.",
      +                  "type": "string"
      +                },
      +                "price": {
      +                  "description": "Price in the response currency, as the MyBestSim page shows it.",
      +                  "type": "number"
      +                },
      +                "priceEur": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "pricePerGb": {
      +                  "description": "Price per GB in the response currency; null when unlimited.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "pricePerGbUsd": {
      +                  "description": "Null when unlimited.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "priceUsd": {
      +                  "type": "number"
      +                },
      +                "provider": {
      +                  "type": "string"
      +                },
      +                "providerSlug": {
      +                  "type": "string"
      +                },
      +                "regionName": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "sms": {
      +                  "type": "boolean"
      +                },
      +                "unlimited": {
      +                  "description": "True for an unlimited-data plan. Its fair-use policy is not published here: present it as \"Unlimited\" without inventing a cap.",
      +                  "type": "boolean"
      +                },
      +                "url": {
      +                  "description": "MyBestSim comparison page that lists this plan.",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "planId",
      +                "provider",
      +                "providerSlug",
      +                "unlimited",
      +                "dataGb",
      +                "dataLabel",
      +                "durationDays",
      +                "price",
      +                "pricePerGb",
      +                "priceUsd",
      +                "priceEur",
      +                "pricePerGbUsd",
      +                "coverage",
      +                "regionName",
      +                "countryCount",
      +                "fiveG",
      +                "hotspot",
      +                "calls",
      +                "sms",
      +                "url"
      +              ],
      +              "type": "object"
      +            },
      +            "stages": {
      +              "description": "Indexes (0-based) of the stages covered, in travel order.",
      +              "items": {
      +                "type": "integer"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "stages",
      +            "days",
      +            "dataGb",
      +            "plan",
      +            "pageUrl"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "total": {
      +        "description": "Sum of the plan prices in the response currency.",
      +        "type": "number"
      +      },
      +      "totalEur": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "totalUsd": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "total",
      +      "totalUsd",
      +      "totalEur",
      +      "esimCount",
      +      "segments",
      +      "links"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • addedOutput schema / properties / singlePlanAlternatives / items / properties / price
      Added value: +{
      +  "description": "Price in the response currency, as the MyBestSim page shows it.",
      +  "type": "number"
      +}
    • addedOutput schema / properties / singlePlanAlternatives / items / properties / pricePerGb
      Added value: +{
      +  "description": "Price per GB in the response currency; null when unlimited.",
      +  "type": [
      +    "number",
      +    "null"
      +  ]
      +}
    • changedOutput schema / properties / singlePlanAlternatives / items / required
      Previous value: -[
      -  "planId",
      -  "provider",
      -  "providerSlug",
      -  "unlimited",
      -  "dataGb",
      -  "dataLabel",
      -  "durationDays",
      -  "priceUsd",
      -  "priceEur",
      -  "pricePerGbUsd",
      -  "coverage",
      -  "regionName",
      -  "countryCount",
      -  "fiveG",
      -  "hotspot",
      -  "calls",
      -  "sms",
      -  "url"
      -]New value: +[
      +  "planId",
      +  "provider",
      +  "providerSlug",
      +  "unlimited",
      +  "dataGb",
      +  "dataLabel",
      +  "durationDays",
      +  "price",
      +  "pricePerGb",
      +  "priceUsd",
      +  "priceEur",
      +  "pricePerGbUsd",
      +  "coverage",
      +  "regionName",
      +  "countryCount",
      +  "fiveG",
      +  "hotspot",
      +  "calls",
      +  "sms",
      +  "url"
      +]
    • changedOutput schema / required
      Previous value: -[
      -  "kind",
      -  "language",
      -  "currency",
      -  "totalDays",
      -  "dataGb",
      -  "assumptions",
      -  "stages",
      -  "singlePlan",
      -  "singlePlanAlternatives",
      -  "plansCoveringAllStages",
      -  "perStage",
      -  "optionsByEsimCount",
      -  "combination",
      -  "recommendation"
      -]New value: +[
      +  "kind",
      +  "language",
      +  "currency",
      +  "currencySymbol",
      +  "totalDays",
      +  "dataGb",
      +  "assumptions",
      +  "stages",
      +  "singlePlan",
      +  "singlePlanAlternatives",
      +  "plansCoveringAllStages",
      +  "perStage",
      +  "optionsByEsimCount",
      +  "combination",
      +  "recommendation"
      +]
  2. Changed6 schema fields changed
    • changedOutput schema / properties / combination / anyOf
      Previous value: -[
      -  {
      -    "description": "Mix (a plan for some stages, other plans for the rest): the recommended mix, or the cheapest mix when it costs less than (a) and (b); null otherwise.",
      -    "properties": {
      -      "esimCount": {
      -        "type": "integer"
      -      },
      -      "links": {
      -        "description": "MyBestSim pages to open: the region page if one plan covers everything, else one page per country.",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "segments": {
      -        "items": {
      -          "description": "One eSIM and the stages it covers.",
      -          "properties": {
      -            "dataGb": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "days": {
      -              "description": "Validity needed.",
      -              "type": "integer"
      -            },
      -            "listedOnPage": {
      -              "description": "True when plan.url opens a page that lists this exact plan. False for a multi-country plan that the comparison pages of these stages replace with a similar offer: the plan exists and covers the stages, but the traveller will not see it listed there.",
      -              "type": "boolean"
      -            },
      -            "pageUrl": {
      -              "description": "MyBestSim page to compare and buy: the region page when the plan covers several stages and one exists, else the page of a stage.",
      -              "type": "string"
      -            },
      -            "plan": {
      -              "properties": {
      -                "calls": {
      -                  "type": "boolean"
      -                },
      -                "countryCount": {
      -                  "type": "integer"
      -                },
      -                "coverage": {
      -                  "enum": [
      -                    "country",
      -                    "regional",
      -                    "global"
      -                  ],
      -                  "type": "string"
      -                },
      -                "dataGb": {
      -                  "description": "Total data in GB; null when unlimited.",
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "dataLabel": {
      -                  "type": "string"
      -                },
      -                "durationDays": {
      -                  "type": "integer"
      -                },
      -                "fiveG": {
      -                  "type": "boolean"
      -                },
      -                "hotspot": {
      -                  "type": "boolean"
      -                },
      -                "listedOnPage": {
      -                  "description": "True when url opens a MyBestSim page that lists this exact plan. False when that page shows a similar offer instead: the plan exists at the provider and is compared here, but the traveller will not see it listed on the page. Say so when recommending it.",
      -                  "type": "boolean"
      -                },
      -                "planId": {
      -                  "description": "Identifier to pass to get_esim_plan.",
      -                  "type": "string"
      -                },
      -                "priceEur": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "pricePerGbUsd": {
      -                  "description": "Null when unlimited.",
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "priceUsd": {
      -                  "type": "number"
      -                },
      -                "provider": {
      -                  "type": "string"
      -                },
      -                "providerSlug": {
      -                  "type": "string"
      -                },
      -                "regionName": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "sms": {
      -                  "type": "boolean"
      -                },
      -                "unlimited": {
      -                  "description": "True for an unlimited-data plan. Its fair-use policy is not published here: present it as \"Unlimited\" without inventing a cap.",
      -                  "type": "boolean"
      -                },
      -                "url": {
      -                  "description": "MyBestSim comparison page for the destination.",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "planId",
      -                "provider",
      -                "providerSlug",
      -                "unlimited",
      -                "dataGb",
      -                "dataLabel",
      -                "durationDays",
      -                "priceUsd",
      -                "priceEur",
      -                "pricePerGbUsd",
      -                "coverage",
      -                "regionName",
      -                "countryCount",
      -                "fiveG",
      -                "hotspot",
      -                "calls",
      -                "sms",
      -                "url",
      -                "listedOnPage"
      -              ],
      -              "type": "object"
      -            },
      -            "stages": {
      -              "description": "Indexes (0-based) of the stages covered, in travel order.",
      -              "items": {
      -                "type": "integer"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "stages",
      -            "days",
      -            "dataGb",
      -            "plan",
      -            "pageUrl",
      -            "listedOnPage"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "totalEur": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "totalUsd": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "totalUsd",
      -      "totalEur",
      -      "esimCount",
      -      "segments",
      -      "links"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "Mix (a plan for some stages, other plans for the rest): the recommended mix, or the cheapest mix when it costs less than (a) and (b); null otherwise.",
      +    "properties": {
      +      "esimCount": {
      +        "type": "integer"
      +      },
      +      "links": {
      +        "description": "MyBestSim pages to open, each listing the plan it is given for: the region page when it lists the plan covering several stages, else the country pages that list it.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "segments": {
      +        "items": {
      +          "description": "One eSIM and the stages it covers.",
      +          "properties": {
      +            "dataGb": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "days": {
      +              "description": "Validity needed.",
      +              "type": "integer"
      +            },
      +            "pageUrl": {
      +              "description": "MyBestSim page to compare and buy, which lists the plan: the region page when the plan covers several stages and that page lists it, else the page of a stage that lists it.",
      +              "type": "string"
      +            },
      +            "plan": {
      +              "properties": {
      +                "calls": {
      +                  "type": "boolean"
      +                },
      +                "countryCount": {
      +                  "type": "integer"
      +                },
      +                "coverage": {
      +                  "enum": [
      +                    "country",
      +                    "regional",
      +                    "global"
      +                  ],
      +                  "type": "string"
      +                },
      +                "dataGb": {
      +                  "description": "Total data in GB; null when unlimited.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "dataLabel": {
      +                  "type": "string"
      +                },
      +                "durationDays": {
      +                  "type": "integer"
      +                },
      +                "fiveG": {
      +                  "type": "boolean"
      +                },
      +                "hotspot": {
      +                  "type": "boolean"
      +                },
      +                "planId": {
      +                  "description": "Identifier to pass to get_esim_plan.",
      +                  "type": "string"
      +                },
      +                "priceEur": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "pricePerGbUsd": {
      +                  "description": "Null when unlimited.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "priceUsd": {
      +                  "type": "number"
      +                },
      +                "provider": {
      +                  "type": "string"
      +                },
      +                "providerSlug": {
      +                  "type": "string"
      +                },
      +                "regionName": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "sms": {
      +                  "type": "boolean"
      +                },
      +                "unlimited": {
      +                  "description": "True for an unlimited-data plan. Its fair-use policy is not published here: present it as \"Unlimited\" without inventing a cap.",
      +                  "type": "boolean"
      +                },
      +                "url": {
      +                  "description": "MyBestSim comparison page that lists this plan.",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "planId",
      +                "provider",
      +                "providerSlug",
      +                "unlimited",
      +                "dataGb",
      +                "dataLabel",
      +                "durationDays",
      +                "priceUsd",
      +                "priceEur",
      +                "pricePerGbUsd",
      +                "coverage",
      +                "regionName",
      +                "countryCount",
      +                "fiveG",
      +                "hotspot",
      +                "calls",
      +                "sms",
      +                "url"
      +              ],
      +              "type": "object"
      +            },
      +            "stages": {
      +              "description": "Indexes (0-based) of the stages covered, in travel order.",
      +              "items": {
      +                "type": "integer"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "stages",
      +            "days",
      +            "dataGb",
      +            "plan",
      +            "pageUrl"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "totalEur": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "totalUsd": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "totalUsd",
      +      "totalEur",
      +      "esimCount",
      +      "segments",
      +      "links"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / perStage / anyOf
      Previous value: -[
      -  {
      -    "description": "(b) The best plan for each stage; null when a stage has no qualifying plan.",
      -    "properties": {
      -      "esimCount": {
      -        "type": "integer"
      -      },
      -      "links": {
      -        "description": "MyBestSim pages to open: the region page if one plan covers everything, else one page per country.",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "segments": {
      -        "items": {
      -          "description": "One eSIM and the stages it covers.",
      -          "properties": {
      -            "dataGb": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "days": {
      -              "description": "Validity needed.",
      -              "type": "integer"
      -            },
      -            "listedOnPage": {
      -              "description": "True when plan.url opens a page that lists this exact plan. False for a multi-country plan that the comparison pages of these stages replace with a similar offer: the plan exists and covers the stages, but the traveller will not see it listed there.",
      -              "type": "boolean"
      -            },
      -            "pageUrl": {
      -              "description": "MyBestSim page to compare and buy: the region page when the plan covers several stages and one exists, else the page of a stage.",
      -              "type": "string"
      -            },
      -            "plan": {
      -              "properties": {
      -                "calls": {
      -                  "type": "boolean"
      -                },
      -                "countryCount": {
      -                  "type": "integer"
      -                },
      -                "coverage": {
      -                  "enum": [
      -                    "country",
      -                    "regional",
      -                    "global"
      -                  ],
      -                  "type": "string"
      -                },
      -                "dataGb": {
      -                  "description": "Total data in GB; null when unlimited.",
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "dataLabel": {
      -                  "type": "string"
      -                },
      -                "durationDays": {
      -                  "type": "integer"
      -                },
      -                "fiveG": {
      -                  "type": "boolean"
      -                },
      -                "hotspot": {
      -                  "type": "boolean"
      -                },
      -                "listedOnPage": {
      -                  "description": "True when url opens a MyBestSim page that lists this exact plan. False when that page shows a similar offer instead: the plan exists at the provider and is compared here, but the traveller will not see it listed on the page. Say so when recommending it.",
      -                  "type": "boolean"
      -                },
      -                "planId": {
      -                  "description": "Identifier to pass to get_esim_plan.",
      -                  "type": "string"
      -                },
      -                "priceEur": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "pricePerGbUsd": {
      -                  "description": "Null when unlimited.",
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "priceUsd": {
      -                  "type": "number"
      -                },
      -                "provider": {
      -                  "type": "string"
      -                },
      -                "providerSlug": {
      -                  "type": "string"
      -                },
      -                "regionName": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "sms": {
      -                  "type": "boolean"
      -                },
      -                "unlimited": {
      -                  "description": "True for an unlimited-data plan. Its fair-use policy is not published here: present it as \"Unlimited\" without inventing a cap.",
      -                  "type": "boolean"
      -                },
      -                "url": {
      -                  "description": "MyBestSim comparison page for the destination.",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "planId",
      -                "provider",
      -                "providerSlug",
      -                "unlimited",
      -                "dataGb",
      -                "dataLabel",
      -                "durationDays",
      -                "priceUsd",
      -                "priceEur",
      -                "pricePerGbUsd",
      -                "coverage",
      -                "regionName",
      -                "countryCount",
      -                "fiveG",
      -                "hotspot",
      -                "calls",
      -                "sms",
      -                "url",
      -                "listedOnPage"
      -              ],
      -              "type": "object"
      -            },
      -            "stages": {
      -              "description": "Indexes (0-based) of the stages covered, in travel order.",
      -              "items": {
      -                "type": "integer"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "stages",
      -            "days",
      -            "dataGb",
      -            "plan",
      -            "pageUrl",
      -            "listedOnPage"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "totalEur": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "totalUsd": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "totalUsd",
      -      "totalEur",
      -      "esimCount",
      -      "segments",
      -      "links"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "(b) The best plan for each stage; null when a stage has no qualifying plan.",
      +    "properties": {
      +      "esimCount": {
      +        "type": "integer"
      +      },
      +      "links": {
      +        "description": "MyBestSim pages to open, each listing the plan it is given for: the region page when it lists the plan covering several stages, else the country pages that list it.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "segments": {
      +        "items": {
      +          "description": "One eSIM and the stages it covers.",
      +          "properties": {
      +            "dataGb": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "days": {
      +              "description": "Validity needed.",
      +              "type": "integer"
      +            },
      +            "pageUrl": {
      +              "description": "MyBestSim page to compare and buy, which lists the plan: the region page when the plan covers several stages and that page lists it, else the page of a stage that lists it.",
      +              "type": "string"
      +            },
      +            "plan": {
      +              "properties": {
      +                "calls": {
      +                  "type": "boolean"
      +                },
      +                "countryCount": {
      +                  "type": "integer"
      +                },
      +                "coverage": {
      +                  "enum": [
      +                    "country",
      +                    "regional",
      +                    "global"
      +                  ],
      +                  "type": "string"
      +                },
      +                "dataGb": {
      +                  "description": "Total data in GB; null when unlimited.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "dataLabel": {
      +                  "type": "string"
      +                },
      +                "durationDays": {
      +                  "type": "integer"
      +                },
      +                "fiveG": {
      +                  "type": "boolean"
      +                },
      +                "hotspot": {
      +                  "type": "boolean"
      +                },
      +                "planId": {
      +                  "description": "Identifier to pass to get_esim_plan.",
      +                  "type": "string"
      +                },
      +                "priceEur": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "pricePerGbUsd": {
      +                  "description": "Null when unlimited.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "priceUsd": {
      +                  "type": "number"
      +                },
      +                "provider": {
      +                  "type": "string"
      +                },
      +                "providerSlug": {
      +                  "type": "string"
      +                },
      +                "regionName": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "sms": {
      +                  "type": "boolean"
      +                },
      +                "unlimited": {
      +                  "description": "True for an unlimited-data plan. Its fair-use policy is not published here: present it as \"Unlimited\" without inventing a cap.",
      +                  "type": "boolean"
      +                },
      +                "url": {
      +                  "description": "MyBestSim comparison page that lists this plan.",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "planId",
      +                "provider",
      +                "providerSlug",
      +                "unlimited",
      +                "dataGb",
      +                "dataLabel",
      +                "durationDays",
      +                "priceUsd",
      +                "priceEur",
      +                "pricePerGbUsd",
      +                "coverage",
      +                "regionName",
      +                "countryCount",
      +                "fiveG",
      +                "hotspot",
      +                "calls",
      +                "sms",
      +                "url"
      +              ],
      +              "type": "object"
      +            },
      +            "stages": {
      +              "description": "Indexes (0-based) of the stages covered, in travel order.",
      +              "items": {
      +                "type": "integer"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "stages",
      +            "days",
      +            "dataGb",
      +            "plan",
      +            "pageUrl"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "totalEur": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "totalUsd": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "totalUsd",
      +      "totalEur",
      +      "esimCount",
      +      "segments",
      +      "links"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • changedOutput schema / properties / singlePlan / anyOf
      Previous value: -[
      -  {
      -    "description": "(a) One eSIM covering every stage; null when none qualifies.",
      -    "properties": {
      -      "esimCount": {
      -        "type": "integer"
      -      },
      -      "links": {
      -        "description": "MyBestSim pages to open: the region page if one plan covers everything, else one page per country.",
      -        "items": {
      -          "type": "string"
      -        },
      -        "type": "array"
      -      },
      -      "segments": {
      -        "items": {
      -          "description": "One eSIM and the stages it covers.",
      -          "properties": {
      -            "dataGb": {
      -              "type": [
      -                "number",
      -                "null"
      -              ]
      -            },
      -            "days": {
      -              "description": "Validity needed.",
      -              "type": "integer"
      -            },
      -            "listedOnPage": {
      -              "description": "True when plan.url opens a page that lists this exact plan. False for a multi-country plan that the comparison pages of these stages replace with a similar offer: the plan exists and covers the stages, but the traveller will not see it listed there.",
      -              "type": "boolean"
      -            },
      -            "pageUrl": {
      -              "description": "MyBestSim page to compare and buy: the region page when the plan covers several stages and one exists, else the page of a stage.",
      -              "type": "string"
      -            },
      -            "plan": {
      -              "properties": {
      -                "calls": {
      -                  "type": "boolean"
      -                },
      -                "countryCount": {
      -                  "type": "integer"
      -                },
      -                "coverage": {
      -                  "enum": [
      -                    "country",
      -                    "regional",
      -                    "global"
      -                  ],
      -                  "type": "string"
      -                },
      -                "dataGb": {
      -                  "description": "Total data in GB; null when unlimited.",
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "dataLabel": {
      -                  "type": "string"
      -                },
      -                "durationDays": {
      -                  "type": "integer"
      -                },
      -                "fiveG": {
      -                  "type": "boolean"
      -                },
      -                "hotspot": {
      -                  "type": "boolean"
      -                },
      -                "listedOnPage": {
      -                  "description": "True when url opens a MyBestSim page that lists this exact plan. False when that page shows a similar offer instead: the plan exists at the provider and is compared here, but the traveller will not see it listed on the page. Say so when recommending it.",
      -                  "type": "boolean"
      -                },
      -                "planId": {
      -                  "description": "Identifier to pass to get_esim_plan.",
      -                  "type": "string"
      -                },
      -                "priceEur": {
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "pricePerGbUsd": {
      -                  "description": "Null when unlimited.",
      -                  "type": [
      -                    "number",
      -                    "null"
      -                  ]
      -                },
      -                "priceUsd": {
      -                  "type": "number"
      -                },
      -                "provider": {
      -                  "type": "string"
      -                },
      -                "providerSlug": {
      -                  "type": "string"
      -                },
      -                "regionName": {
      -                  "type": [
      -                    "string",
      -                    "null"
      -                  ]
      -                },
      -                "sms": {
      -                  "type": "boolean"
      -                },
      -                "unlimited": {
      -                  "description": "True for an unlimited-data plan. Its fair-use policy is not published here: present it as \"Unlimited\" without inventing a cap.",
      -                  "type": "boolean"
      -                },
      -                "url": {
      -                  "description": "MyBestSim comparison page for the destination.",
      -                  "type": "string"
      -                }
      -              },
      -              "required": [
      -                "planId",
      -                "provider",
      -                "providerSlug",
      -                "unlimited",
      -                "dataGb",
      -                "dataLabel",
      -                "durationDays",
      -                "priceUsd",
      -                "priceEur",
      -                "pricePerGbUsd",
      -                "coverage",
      -                "regionName",
      -                "countryCount",
      -                "fiveG",
      -                "hotspot",
      -                "calls",
      -                "sms",
      -                "url",
      -                "listedOnPage"
      -              ],
      -              "type": "object"
      -            },
      -            "stages": {
      -              "description": "Indexes (0-based) of the stages covered, in travel order.",
      -              "items": {
      -                "type": "integer"
      -              },
      -              "type": "array"
      -            }
      -          },
      -          "required": [
      -            "stages",
      -            "days",
      -            "dataGb",
      -            "plan",
      -            "pageUrl",
      -            "listedOnPage"
      -          ],
      -          "type": "object"
      -        },
      -        "type": "array"
      -      },
      -      "totalEur": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "totalUsd": {
      -        "type": "number"
      -      }
      -    },
      -    "required": [
      -      "totalUsd",
      -      "totalEur",
      -      "esimCount",
      -      "segments",
      -      "links"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "description": "(a) One eSIM covering every stage; null when none qualifies.",
      +    "properties": {
      +      "esimCount": {
      +        "type": "integer"
      +      },
      +      "links": {
      +        "description": "MyBestSim pages to open, each listing the plan it is given for: the region page when it lists the plan covering several stages, else the country pages that list it.",
      +        "items": {
      +          "type": "string"
      +        },
      +        "type": "array"
      +      },
      +      "segments": {
      +        "items": {
      +          "description": "One eSIM and the stages it covers.",
      +          "properties": {
      +            "dataGb": {
      +              "type": [
      +                "number",
      +                "null"
      +              ]
      +            },
      +            "days": {
      +              "description": "Validity needed.",
      +              "type": "integer"
      +            },
      +            "pageUrl": {
      +              "description": "MyBestSim page to compare and buy, which lists the plan: the region page when the plan covers several stages and that page lists it, else the page of a stage that lists it.",
      +              "type": "string"
      +            },
      +            "plan": {
      +              "properties": {
      +                "calls": {
      +                  "type": "boolean"
      +                },
      +                "countryCount": {
      +                  "type": "integer"
      +                },
      +                "coverage": {
      +                  "enum": [
      +                    "country",
      +                    "regional",
      +                    "global"
      +                  ],
      +                  "type": "string"
      +                },
      +                "dataGb": {
      +                  "description": "Total data in GB; null when unlimited.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "dataLabel": {
      +                  "type": "string"
      +                },
      +                "durationDays": {
      +                  "type": "integer"
      +                },
      +                "fiveG": {
      +                  "type": "boolean"
      +                },
      +                "hotspot": {
      +                  "type": "boolean"
      +                },
      +                "planId": {
      +                  "description": "Identifier to pass to get_esim_plan.",
      +                  "type": "string"
      +                },
      +                "priceEur": {
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "pricePerGbUsd": {
      +                  "description": "Null when unlimited.",
      +                  "type": [
      +                    "number",
      +                    "null"
      +                  ]
      +                },
      +                "priceUsd": {
      +                  "type": "number"
      +                },
      +                "provider": {
      +                  "type": "string"
      +                },
      +                "providerSlug": {
      +                  "type": "string"
      +                },
      +                "regionName": {
      +                  "type": [
      +                    "string",
      +                    "null"
      +                  ]
      +                },
      +                "sms": {
      +                  "type": "boolean"
      +                },
      +                "unlimited": {
      +                  "description": "True for an unlimited-data plan. Its fair-use policy is not published here: present it as \"Unlimited\" without inventing a cap.",
      +                  "type": "boolean"
      +                },
      +                "url": {
      +                  "description": "MyBestSim comparison page that lists this plan.",
      +                  "type": "string"
      +                }
      +              },
      +              "required": [
      +                "planId",
      +                "provider",
      +                "providerSlug",
      +                "unlimited",
      +                "dataGb",
      +                "dataLabel",
      +                "durationDays",
      +                "priceUsd",
      +                "priceEur",
      +                "pricePerGbUsd",
      +                "coverage",
      +                "regionName",
      +                "countryCount",
      +                "fiveG",
      +                "hotspot",
      +                "calls",
      +                "sms",
      +                "url"
      +              ],
      +              "type": "object"
      +            },
      +            "stages": {
      +              "description": "Indexes (0-based) of the stages covered, in travel order.",
      +              "items": {
      +                "type": "integer"
      +              },
      +              "type": "array"
      +            }
      +          },
      +          "required": [
      +            "stages",
      +            "days",
      +            "dataGb",
      +            "plan",
      +            "pageUrl"
      +          ],
      +          "type": "object"
      +        },
      +        "type": "array"
      +      },
      +      "totalEur": {
      +        "type": [
      +          "number",
      +          "null"
      +        ]
      +      },
      +      "totalUsd": {
      +        "type": "number"
      +      }
      +    },
      +    "required": [
      +      "totalUsd",
      +      "totalEur",
      +      "esimCount",
      +      "segments",
      +      "links"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / singlePlanAlternatives / items / properties / listedOnPage
      Removed value: -{
      -  "description": "True when url opens a MyBestSim page that lists this exact plan. False when that page shows a similar offer instead: the plan exists at the provider and is compared here, but the traveller will not see it listed on the page. Say so when recommending it.",
      -  "type": "boolean"
      -}
    • changedOutput schema / properties / singlePlanAlternatives / items / properties / url / description
      Previous value: -"MyBestSim comparison page for the destination."New value: +"MyBestSim comparison page that lists this plan."
    • changedOutput schema / properties / singlePlanAlternatives / items / required
      Previous value: -[
      -  "planId",
      -  "provider",
      -  "providerSlug",
      -  "unlimited",
      -  "dataGb",
      -  "dataLabel",
      -  "durationDays",
      -  "priceUsd",
      -  "priceEur",
      -  "pricePerGbUsd",
      -  "coverage",
      -  "regionName",
      -  "countryCount",
      -  "fiveG",
      -  "hotspot",
      -  "calls",
      -  "sms",
      -  "url",
      -  "listedOnPage"
      -]New value: +[
      +  "planId",
      +  "provider",
      +  "providerSlug",
      +  "unlimited",
      +  "dataGb",
      +  "dataLabel",
      +  "durationDays",
      +  "priceUsd",
      +  "priceEur",
      +  "pricePerGbUsd",
      +  "coverage",
      +  "regionName",
      +  "countryCount",
      +  "fiveG",
      +  "hotspot",
      +  "calls",
      +  "sms",
      +  "url"
      +]
  3. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Despite annotations already covering the safety profile (readOnly/idempotent/non-destructive), the description discloses substantive behavior: coverage is verified country-by-country against the catalogue rather than inferred from plan names, a tie-break rule (prefer fewer eSIMs unless saving ≥$2 per extra eSIM), fallback assumptions (7-day standard-use trip reported in 'assumptions'), and what the answer contains (reason, eSIM count, total price, data, validity, buy links).

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?

Front-loads the trigger and is information-dense with little filler, but it is delivered as one long paragraph mixing trigger, algorithm, tie-break rule, and data-collection instructions. Bullets or sentence breaks would make the same content easier to scan without losing anything.

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?

For an 8-parameter comparison tool with a nested itinerary and an output schema, the description covers the remaining burden well: defaults for unspecified data/duration, the assumptions mechanism, the selection algorithm, and the tie-break policy. Nothing an agent needs to invoke it correctly is missing.

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 coverage is 100%, so the baseline is 3, but the description adds real meaning beyond it: stages must be passed in travel order, each stage should be the country itself rather than a region label (a region stage only matches plans on that region page), and days-or-totalDurationDays may substitute for per-stage durations. This is genuine guidance the schema alone does not convey.

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 precise verb+resource+scope: planning eSIM coverage for a trip that visits SEVERAL countries/regions, with concrete examples ('Japan then China'). The multi-stage comparison framing cleanly separates it from single-plan siblings like search_esim_plans and get_esim_plan, so an agent can route without opening any schema.

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

Usage Guidelines4/5

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

Gives an explicit trigger condition ('Use this when one trip visits SEVERAL countries or regions') plus illustrative itineraries, and adds procedural guidance (ask for duration/data when unspecified; list countries as stages). It never names an alternative tool or states an explicit when-not case, so it falls short of full routing guidance.

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