Skip to main content
Glama

varioroam eSIM configurator

Start secure checkout

start_checkout
Read-onlyIdempotent

Use only once the customer has decided to buy ("I'll take it", "how do I buy?"): the checkout handoff. Returns the buy_url to give the customer, the final price and a ready-to-send checkout block (next_step, payment_methods, delivery) — on the page they press "Get it" and pay securely. No account needed; the eSIM is delivered on screen and by e-mail right after payment. No in-chat order tracking, no discount codes. For prices while the customer is still comparing, use quote_esim.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "destination": "<destination>",
      "gb": "<gb>",
      "days": "<days>"
    },
    "name": "start_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
gbYesData pool in whole GB (1–100).
daysYesValidity days (1–90).
bucketNoOptional language-region bucket the customer shops in, e.g. en-gb, de-de (sets currency and link locale). Defaults from language.
currencyNo
languageNoISO language of the conversation, e.g. en, de, ja. Localizes country names and sets the language/currency of links and prices.
networksNoOptional: operator names (or codes) from get_networks to include. Omit = the cheapest network of the country. A named network brings every network of the country that is not dearer with it (the quote lists them in networks). The dearest included network sets the data price; an eSIM that includes any network dearer than the cheapest one carries one small fee — once per eSIM, however many networks are included.
destinationYesCountry in ANY language or its ISO code, e.g. "Japan", "Japon", "jp". Map a city to its country first. One country per eSIM.

Output Schema

NameRequiredDescriptionDefault
isoNoISO 3166-1 alpha-2, lower case.
daysNoValidity in days, counted from the first connection at the destination.
noteNoPresent when something about the request had to be adjusted — read it to the customer.
priceYesFULL price of this configuration in currency — the amount paid. Not per day, not per GB.
topupNoHow the customer adds data or days to this eSIM later (not through the tools).
buy_urlYesConfigurator pre-set to exactly this configuration. Use verbatim.
data_gbNoTotal data pool for the whole validity (whole GB). Not per day.
hotspotNo
messageNoA ready-to-send line for the customer.
currencyYes
deliveryNoHow and when the eSIM arrives.
networksNoOperator names included in this eSIM.
next_stepYesWhat the customer does now: open buy_url, press "Get it", pay.
destinationNoResolved country name (localized).
price_basisNo
price_is_finalNo
payment_methodsNo
activation_triggerNo
networks_unmatchedNoPresent when a requested network does not exist in this country: those names. The quote then uses the networks listed in networks.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / networks / description
      Previous value: -"Optional: operator names (or codes) from get_networks to include. Omit = the cheapest network of the country. The dearest included network sets the data price and every network beyond the first adds a small fee."New value: +"Optional: operator names (or codes) from get_networks to include. Omit = the cheapest network of the country. A named network brings every network of the country that is not dearer with it (the quote lists them in networks). The dearest included network sets the data price; an eSIM that includes any network dearer than the cheapest one carries one small fee — once per eSIM, however many networks are included."
  2. Changed9 schema fields changed
    • changedInput schema / properties / gb / description
      Previous value: -"Data pool in GB (1–100)."New value: +"Data pool in whole GB (1–100)."
    • addedInput schema / properties / gb / maximum
      Added value: +100
    • addedInput schema / properties / gb / minimum
      Added value: +1
    • changedInput schema / properties / gb / type
      Previous value: -"number"New value: +"integer"
    • changedOutput schema / properties / data_gb / description
      Previous value: -"Total data pool for the whole validity (GB). Not per day."New value: +"Total data pool for the whole validity (whole GB). Not per day."
    • changedOutput schema / properties / data_gb / type
      Previous value: -"number"New value: +"integer"
    • addedOutput schema / properties / networks_unmatched
      Added value: +{
      +  "description": "Present when a requested network does not exist in this country: those names. The quote then uses the networks listed in networks.",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
    • addedOutput schema / properties / note
      Added value: +{
      +  "description": "Present when something about the request had to be adjusted — read it to the customer.",
      +  "type": "string"
      +}
    • addedOutput schema / properties / topup
      Added value: +{
      +  "additionalProperties": true,
      +  "description": "How the customer adds data or days to this eSIM later (not through the tools).",
      +  "properties": {
      +    "how": {
      +      "type": "string"
      +    },
      +    "kind": {
      +      "enum": [
      +        "data_days"
      +      ],
      +      "type": "string"
      +    }
      +  },
      +  "type": "object"
      +}
  3. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Goes well beyond the annotations by describing the downstream flow: the customer lands on a page, presses "Get it", pays securely, and the eSIM is delivered on screen and by e-mail immediately, with no account required. It also discloses the per-eSIM fee behavior for multi-network configs. The readOnlyHint=true annotation is not contradicted, since payment happens on the web page rather than in chat, but the description could be clearer that the tool itself charges nothing.

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?

The trigger condition is front-loaded and every clause carries information (what returns, what happens next, what's excluded, which sibling to use instead). It is dense and parenthetical-heavy, which makes it slightly harder to scan, but there is no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Complete for a 7-parameter tool with an output schema and full annotations: the agent knows the precondition, the returned artifacts, post-payment delivery, and the alternative tool. Missing only edge-case handling, such as what to do if a required destination/GB/day combination is unavailable.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 86%, so the schema already explains destination, gb, days, bucket, language, currency and the networks trade-off in detail. The description adds no parameter-level detail of its own and only indirectly touches on networks via the fee remark. Baseline 3 applies when the schema carries the semantics.

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?

Names a concrete action ("the checkout handoff") and enumerates what it returns: buy_url, final price, and a ready-to-send checkout block with next_step, payment_methods, delivery. This is distinguishable at a glance from the sibling quote_esim, which is explicitly named as the pricing-only alternative.

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

Usage Guidelines5/5

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

Gives an explicit trigger ("Use only once the customer has decided to buy") with concrete customer utterances as examples ("I'll take it", "how do I buy?"), and an explicit routing rule away from it ("For prices while the customer is still comparing, use quote_esim"). It also states exclusions: no in-chat order tracking, no discount codes.

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