Skip to main content
Glama

Get checkout link

get_checkout_link
Read-onlyIdempotent

Get the link to buy one plan. It opens the plan on the store's own checkout page, where the traveller enters an e-mail and pays; no payment happens in the chat. After payment the store shows the eSIM (QR code or one-tap install) and e-mails it.

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

Input Schema

NameRequiredDescriptionDefault
plan_idYesplan_id from list_plans.
currencyNoISO 4217 code of the currency the traveller wants to pay in (e.g. "BRL", "KZT", "EUR"). Used when buyer_country is not known.
destinationYesDestination id from find_destination.
buyer_countryNoISO 3166-1 alpha-2 code of the country where the traveller lives or pays from (e.g. "BR", "AE", "KZ", "RU", "US"). Picks the store, currency and payment methods.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

The annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds genuine context beyond them: the link hands off to an external store checkout, no payment occurs in the chat, and post-payment fulfillment happens on the store side with e-mail delivery. It does not say whether links expire or are single-use, which is the remaining behavioral gap.

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?

Two sentences, front-loaded with what the tool returns, followed by the flow it initiates. The eSIM delivery detail is useful rather than padding, though the sentence could be tightened slightly.

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?

For a read-only link generator with fully documented parameters and no output schema, the description covers the essential flow: what the link points to, where payment happens, and what the traveller receives afterward. Missing only link lifetime/expiry information, which is a modest gap.

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 100%, so plan_id, destination, currency, and buyer_country are already fully documented with formats and sources. The description adds only the notion that exactly one plan is involved, which is marginal. Baseline 3 applies.

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?

States a specific verb and resource ('Get the link to buy one plan') and clarifies the scope is a single plan. It does not name a sibling it replaces, but no sibling overlaps this function, so an agent can still distinguish it from list_plans, list_stores, or get_order_status.

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

Usage Guidelines3/5

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

Usage is implied through the purchase flow narrative (traveller opens the store checkout, pays there, receives the eSIM), but there is no explicit 'use this when…' statement, no prerequisites such as calling list_plans or find_destination first (that hint lives only in the schema), and no stated exclusions.

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