Skip to main content
Glama

Get the link to buy a plan

create_checkout_link
Read-onlyIdempotent

Use this when the traveler has picked a plan and wants to buy it. Pass the plan id. Returns a simabroad.com link; the traveler opens it and pays there (card, Apple Pay or Google Pay). This tool charges nothing and needs no personal details.

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
plan_idYesPlan id from search_esim_plans.
languageNoLanguage of the simabroad.com page the link opens. Default en.

Output Schema

NameRequiredDescriptionDefault
urlNo
planNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.5/5.0
Behavior5/5

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

Beyond the readOnly/idempotent/non-destructive annotations, the description discloses the things an agent most needs to know: the tool itself charges nothing, it requires no personal details, and payment happens off-tool via card, Apple Pay or Google Pay. That pre-empts the reasonable but wrong inference that calling this initiates or authorizes a payment, a genuine addition over the structured hints.

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, front-loaded with the trigger condition, then the required input, then what happens downstream. Every clause carries information the agent cannot get from the schema or annotations.

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 two-parameter link generator with an output schema and full annotation coverage, the description closes the remaining gaps: no charge, no PII, off-site payment flow. Nothing an agent needs in order to call this correctly is missing.

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's format and provenance ('Plan id from search_esim_plans') are already documented. The description only restates 'Pass the plan id' and says nothing about the optional language parameter, so it adds essentially no meaning 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?

The description names a specific action (produce a checkout link) and resource (a plan to buy), and states exactly what the output is: a simabroad.com link the traveler opens to pay. The lifecycle framing ('the traveler has picked a plan and wants to buy it') separates it from the discovery tools like search_esim_plans without naming them.

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?

'Use this when the traveler has picked a plan and wants to buy it' gives a clear trigger condition tied to a user state, and 'Pass the plan id' tells the agent the prerequisite input. There is no explicit when-not or named alternative, which keeps it below a 5, but the preconditions are unambiguous.

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