Skip to main content
Glama

SimplySIM travel eSIMs

Get the payment link

get_checkout_link

Final step. Before calling, ask the user (never guess): is the trip for leisure or business; what date they need the eSIM from; and which phone they will use. Check the phone with check_device and confirm compatibility with the user. Ask the user to confirm their phone is eSIM-compatible and network-unlocked (list: https://simplysim.co.uk/device-compatibility) and set device_compatible to true only if they confirm. A device not on the list is refused with device_not_found and suggestions; only if the user has checked their phone's Settings for an eSIM option and it is unlocked, call again with device_unlisted_confirmed: true. Returns a secure Stripe checkout_url for the user to open and pay in their own browser, where they enter their own email address. The eSIM and installation instructions are emailed to that address. Calling again returns the same link while it is still open and the basket is unchanged. Do not pay on the user's behalf.

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": {
      "basket_token": "<basket_token>",
      "usage_type": "<usage_type>",
      "travel_date": "<travel_date>",
      "device": "<device>",
      "device_compatible": "<device_compatible>"
    },
    "name": "get_checkout_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
deviceYesThe phone the user will use, exactly as check_device lists the model, e.g. "iPhone 15".
usage_typeYesThe user's answer to: is this trip for leisure or business?
travel_dateYesThe date the user needs the eSIM from, YYYY-MM-DD, today or later (UK time).
basket_tokenYesThe basket_token returned by create_basket. Keep it private.
device_compatibleYestrue only when the user has confirmed their phone supports eSIM and is network-unlocked.
device_unlisted_confirmedNoOptional. true only when the phone is not on the compatibility list and the user has confirmed in their phone's Settings that it can add an eSIM. The device text is then saved as given.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Beyond the annotations, it discloses the failure mode (device_not_found with suggestions), the escalation path for unlisted-but-confirmed devices, where PII is entered (the user's own browser, their own email), and the downstream side effect that the eSIM and instructions are emailed to that address. It also nuances the idempotency behavior despite idempotentHint=false, clarifying that repeat calls return the same link only while the link is open and the basket unchanged. This is exactly the context annotations cannot carry.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The content is valuable but the structure is weak: long semicolon-chained sentences and visible redundancy in restating the compatibility confirmation twice ("Check the phone with check_device and confirm compatibility" then "Ask the user to confirm their phone is eSIM-compatible..."). The most important fact — that it returns a Stripe checkout_url — is not front-loaded.

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 a six-parameter, open-world, mutating-adjacent tool with no output schema, the description covers the return value (checkout_url), the error path, the retry semantics, the privacy model, and the post-payment fulfillment. Nothing an agent needs in order 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 operational meaning the schema cannot: device_compatible must be gated on explicit user confirmation, and device_unlisted_confirmed is only legitimate after a Settings check on an unlocked phone. It does not add format or validation detail beyond the schema, so it stops short of 5.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description states the outcome clearly: it "Returns a secure Stripe checkout_url for the user to open and pay in their own browser," which identifies both the resource (checkout link) and the boundary (payment happens in the user's browser, not here). It distinguishes itself from basket-building siblings. It loses a point because the operative sentence is buried mid-paragraph behind a long prerequisite list, so an agent skimming the opening ("Final step. Before calling, ask the user...") must read several sentences before learning what the tool actually does.

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?

It gives explicit when-to-use and when-not-to guidance: ask the user rather than guessing, verify the phone via check_device first, set device_compatible only on explicit confirmation, and only re-call with device_unlisted_confirmed after the user has checked Settings. It also names an explicit prohibition — "Do not pay on the user's behalf" — and explains the repeat-call condition (same link while open and basket unchanged).

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