Skip to main content
Glama

Create checkout link

create_checkout_link
Read-onlyIdempotent

Returns a slashtel.com link with the chosen eSIM plan or top-up already selected. Share it with the user: they enter their email and pay on the site. For type 'esim' pass plan_id. For type 'topup' pass phone, operator_code and option_id from get_topup_plans.

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

Input Schema

NameRequiredDescriptionDefault
typeYes
phoneNoTop-up: the full international number
plan_idNoeSIM plan_id from get_esim_plans
languageNoOptional. The sender's language (the language they are writing in). The top-up link opens the Slashtel page in that language for their route where one exists (for example Malayalam for India from the UAE, Bengali for Bangladesh from Saudi Arabia), otherwise the English page.
option_idNoTop-up: option_id of the chosen option from get_topup_plans
send_valueNoDeprecated, use option_id. Still accepted for older conversations.
operator_codeNoTop-up: operator_code from get_topup_plans
sender_countryNoOptional. ISO-2 country the sender is in, e.g. US, FR, SA. Helps pick the matching page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / language / enum
      Previous value: -[
      -  "en",
      -  "es",
      -  "fr",
      -  "it",
      -  "pt",
      -  "ar",
      -  "hi",
      -  "ur",
      -  "bn",
      -  "tl",
      -  "vi",
      -  "pl",
      -  "ro",
      -  "zh-hant",
      -  "ml",
      -  "ta",
      -  "te",
      -  "si",
      -  "tr",
      -  "zh-hans",
      -  "my"
      -]New value: +[
      +  "en",
      +  "es",
      +  "fr",
      +  "it",
      +  "pt",
      +  "ar",
      +  "ko",
      +  "hi",
      +  "ur",
      +  "bn",
      +  "tl",
      +  "vi",
      +  "pl",
      +  "ro",
      +  "zh-hant",
      +  "ml",
      +  "ta",
      +  "te",
      +  "si",
      +  "tr",
      +  "zh-hans",
      +  "my"
      +]
  2. Changed2 schema fields changed
    • changedInput schema / properties / language / description
      Previous value: -"Optional. The sender's language. The top-up link opens the Slashtel page in that language where one exists, otherwise the English page."New value: +"Optional. The sender's language (the language they are writing in). The top-up link opens the Slashtel page in that language for their route where one exists (for example Malayalam for India from the UAE, Bengali for Bangladesh from Saudi Arabia), otherwise the English page."
    • changedInput schema / properties / language / enum
      Previous value: -[
      -  "en",
      -  "es",
      -  "fr",
      -  "ar"
      -]New value: +[
      +  "en",
      +  "es",
      +  "fr",
      +  "it",
      +  "pt",
      +  "ar",
      +  "hi",
      +  "ur",
      +  "bn",
      +  "tl",
      +  "vi",
      +  "pl",
      +  "ro",
      +  "zh-hant",
      +  "ml",
      +  "ta",
      +  "te",
      +  "si",
      +  "tr",
      +  "zh-hans",
      +  "my"
      +]
  3. Changed2 schema fields changed
    • addedInput schema / properties / option_id
      Added value: +{
      +  "description": "Top-up: option_id of the chosen option from get_topup_plans",
      +  "type": "string"
      +}
    • changedInput schema / properties / send_value / description
      Previous value: -"Top-up: send_value from get_topup_plans"New value: +"Deprecated, use option_id. Still accepted for older conversations."
  4. Changed2 schema fields changed
    • addedInput schema / properties / language
      Added value: +{
      +  "description": "Optional. The sender's language. The top-up link opens the Slashtel page in that language where one exists, otherwise the English page.",
      +  "enum": [
      +    "en",
      +    "es",
      +    "fr",
      +    "ar"
      +  ],
      +  "type": "string"
      +}
    • addedInput schema / properties / sender_country
      Added value: +{
      +  "description": "Optional. ISO-2 country the sender is in, e.g. US, FR, SA. Helps pick the matching page.",
      +  "type": "string"
      +}
  5. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare this as a read-only, idempotent, non-destructive, closed-world operation, and the description adds genuinely new behavior: the tool only produces a URL and the user completes email entry and payment on the site, so no transaction occurs server-side. That clarifies the agent's role (share the link) rather than executing a purchase. It stops short of stating link expiry or any rate/creation limits.

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

Conciseness5/5

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

Three short sentences: what it returns, what to do with it, then the per-type parameter rules. The highest-value information (the output is a shareable link) is front-loaded, and there is no redundant restatement of the title or schema.

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 link-generation tool with no output schema, the description states the return value (a URL), the required user-facing follow-up, and which parameters pair with each mode. Combined with the high schema coverage and the safety annotations, an agent has enough to invoke it correctly without further context.

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 high at 88%, so the baseline would be 3, but the description adds the conditional dependency between the 'type' enum and which other parameters matter — a relationship the schema's per-field descriptions do not encode. The deprecated send_value field and the language/sender_country routing hints are left to the schema, which is acceptable given its coverage.

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?

The description opens with a specific verb and output: it returns a slashtel.com link with a chosen eSIM plan or top-up pre-selected. The two modes (esim vs topup) are named explicitly, and the reference to get_topup_plans/get_esim_plans makes clear this is the final link-generation step rather than a catalog lookup, distinguishing it from the sibling tools.

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?

It gives conditional usage guidance: pass plan_id for type 'esim', and phone/operator_code/option_id for type 'topup', with the source of those values named (get_topup_plans). It also states the next step ('share it with the user'). It does not address when-not-to-use or name an explicit alternative such as create_price_alert_link, so it falls short of a full 5.

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