Skip to main content
Glama

Get payment links

start_checkout

When the user decides to buy and their Simvito account is connected: places the order on their account and returns two payment links to give them exactly as returned, a secure payment page for cards, Apple Pay, Google Pay and local wallets, and PayPal (when available for this order), with the total, any discount and an order number. Nothing is charged until the user pays on one of those pages. Pass items for up to 5 different plans from search_plans or plan_trip (up to 10 eSIMs in all), or plan_id and quantity for one plan. If the account isn't connected, use get_buy_link instead.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "start_checkout"
  }
}

Input Schema

NameRequiredDescriptionDefault
itemsNoThe plans to buy, each with its quantity.
deviceNoWhere the user will open the payment link, if you know: 'phone' or 'computer'
localeNoLanguage of the conversation, as a simvito.com language code ('en', 'ja', 'zh-CN', 'es'…); names and links follow it. Defaults to 'en'.
plan_idNoShorthand for a single plan: plan_id returned by search_plans or plan_trip (instead of items)
currencyNoThe user's currency (ISO 4217) for prices: USD, EUR, GBP, HKD, CNY, SGD, JPY, AUD, NZD, CAD, BRL, IDR, MYR, PHP, THB, KRW, PLN, CHF, SEK, TWD, VND, TRY, SAR, AED, ILS. Defaults to USD.
quantityNoWith plan_id: number of eSIMs (one per traveller). Defaults to 1.
destinationNoThe destination search_plans returned with the plan(s); can also be given on each item.
confirmationsNoCodes from a previous confirmation_required result that the user explicitly agreed to after seeing each text. Never fill these in for the user.
expected_unit_amountNoWith plan_id, only after price_changed: the new unit price the user accepted. Otherwise omit; the quoted price is used.

Output Schema

NameRequiredDescriptionDefault
noteYes
itemsYes
linksNo
totalNo
couponNo
statusYes
policiesNo
quantityYes
requiredNo
expires_atNo
list_totalNo
checkout_idNo
price_changesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedOutput schema / properties / links / properties / paypal / anyOf
      Previous value: -[
      -  {
      -    "additionalProperties": false,
      -    "properties": {
      -      "order_display_id": {
      -        "type": [
      -          "number",
      -          "null"
      -        ]
      -      },
      -      "url": {
      -        "type": "string"
      -      }
      -    },
      -    "required": [
      -      "url",
      -      "order_display_id"
      -    ],
      -    "type": "object"
      -  },
      -  {
      -    "type": "null"
      -  }
      -]New value: +[
      +  {
      +    "additionalProperties": false,
      +    "properties": {
      +      "url": {
      +        "type": "string"
      +      }
      +    },
      +    "required": [
      +      "url"
      +    ],
      +    "type": "object"
      +  },
      +  {
      +    "type": "null"
      +  }
      +]
    • removedOutput schema / properties / order_display_id
      Removed value: -{
      -  "type": [
      -    "number",
      -    "null"
      -  ]
      -}
  2. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=false, destructiveHint=false, idempotentHint=false and openWorldHint=true; the description adds genuinely new behavior, notably that nothing is charged until the user pays and that links must be relayed exactly as returned. It also flags that PayPal is conditional on the order. It does not warn that repeated calls place repeated orders (relevant given idempotentHint=false), which keeps it below a 5.

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?

Front-loaded with the triggering condition and the outcome, then the input shapes, then the fallback alternative — a sensible ordering with no filler sentences. It is a single dense paragraph with stacked parentheticals, which costs a little readability but no sentence is redundant.

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 an order-creating tool with 9 optional parameters and an output schema, the description covers the precondition, the alternative, the input shapes and the no-charge guarantee. The main omission is the consequence of calling it more than once for the same intent, which matters given the non-idempotent annotation.

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 the schema already documents every parameter including expected_unit_amount and confirmations, making 3 the baseline. The description does add the mutual-exclusivity rule between items and plan_id and the 5-plan/10-eSIM caps, which the schema does not express via oneOf, but it adds nothing about device, locale or currency beyond the schema.

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?

States a concrete verb and resource ('places the order on their account and returns two payment links') plus the concrete artifacts returned: a card/wallet payment page, a PayPal page, total, discount and order number. This is clearly distinguishable from get_buy_link, which is named as the fallback for unconnected accounts.

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 ('when the user decides to buy and their Simvito account is connected') and an explicit alternative with its own condition ('if the account isn't connected, use get_buy_link instead'). It also states the two valid input shapes (items for up to 5 plans, or plan_id + quantity for one plan), which is the guidance an agent needs before composing a call.

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.