Skip to main content
Glama

Create eSIM checkout link

create_checkout_link

Create a secure payment link on siima.online for a Siima eSIM plan (Stripe-powered, but hosted on our own site — never a redirect to checkout.stripe.com). Give the returned url to the user to complete payment. Optionally pass the buyer's email to pre-fill the checkout form. The buyer confirms it with a 6-digit code we email them, then pays — nothing is ordered until they do. After payment the buyer is emailed a link to their eSIM within a minute; opening it on their phone gives a one-tap install, the QR code and manual installation codes. No account or signup is required.

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": {
      "plan_id": "<plan_id>"
    },
    "name": "create_checkout_link"
  }
}

Input Schema

NameRequiredDescriptionDefault
emailNoBuyer email to pre-fill at checkout (they verify it before paying; the eSIM is delivered there)
plan_idYesPlan id from search_esim_plans
currencyNoCurrency for prices: "usd", "eur", or "gbp". Defaults to "usd".usd

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / email / description
      Previous value: -"Buyer email to pre-fill at checkout (eSIM is delivered to this address)"New value: +"Buyer email to pre-fill at checkout (they verify it before paying; the eSIM is delivered there)"
  2. Changed1 schema field changed
    • addedInput schema / properties / currency
      Added value: +{
      +  "default": "usd",
      +  "description": "Currency for prices: \"usd\", \"eur\", or \"gbp\". Defaults to \"usd\".",
      +  "enum": [
      +    "usd",
      +    "eur",
      +    "gbp"
      +  ],
      +  "type": "string"
      +}
  3. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations only say this is a non-readonly, non-destructive, non-idempotent, closed-world write. The description goes well beyond that: no Stripe redirect, buyer must confirm a 6-digit emailed code, nothing is ordered until then, delivery email arrives within a minute, and no account is needed. That is exactly the pre-call context an agent needs before telling a user to pay.

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 action and the "give the url to the user" instruction are front-loaded, which is the right order. The closing sentences on post-payment eSIM delivery are useful for setting user expectations but are slightly longer than strictly needed for invoking the tool.

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?

With three simple parameters, full schema coverage, and no output schema, the description still names the return value ("the returned url") and describes the end-to-end flow. An agent can call this and explain the outcome to a user without guessing.

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 coverage is 100%, so all three parameters are already documented, including the email pre-fill and the plan_id source. The description only restates the email behavior and says nothing about currency or the uuid constraint, so it adds little beyond the schema. Baseline 3 applies.

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?

"Create a secure payment link on siima.online for a Siima eSIM plan" gives a specific verb, resource, and hosting domain. It explicitly distinguishes itself from a Stripe-hosted redirect, and it is obviously the only write tool among read-only siblings like search_esim_plans and get_esim_plan.

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?

The description tells the agent what to do with the result ("Give the returned url to the user to complete payment") and when email matters (pre-fill). It does not explicitly name a prerequisite step or an alternative tool, though the flow implies it follows plan lookup.

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