Skip to main content
Glama

SimplySIM travel eSIMs

Show the basket

get_basket
Read-onlyIdempotent

Shows the basket: lines (each one eSIM), subtotal, code discount, total and currency. Prices include VAT. answers holds the checkout answers saved so far (usage_type, travel_date, device; null until get_checkout_link) to confirm back to the user.

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": {
      "basket_token": "<basket_token>"
    },
    "name": "get_basket"
  }
}

Input Schema

NameRequiredDescriptionDefault
basket_tokenYesThe basket_token returned by create_basket. Keep it private.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false, and openWorldHint=false, so safety is covered. The description adds genuinely non-obvious behavior beyond the annotations: prices include VAT, and the answers field holds partial checkout state that is null before get_checkout_link. Only error behavior or empty-basket behavior is left undisclosed.

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 the purpose and then the return contents, with no filler. The final clause about confirming answers back to the user is compact, though the parenthetical enumeration of answer fields is slightly dense.

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?

No output schema exists, so the description must convey return shape, and it does so by listing every basket field including currency and the answers sub-state. For a single-parameter read tool with full annotations, this is nearly complete; only edge-case behavior (empty basket, invalid token) is unaddressed.

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?

There is a single parameter with 100% schema description coverage, including the pattern and the warning to keep the token private, so the schema does the heavy lifting. The description adds no additional meaning about basket_token, which matches the baseline 3 for high-coverage single-parameter tools.

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 resource ('Shows the basket') and immediately enumerates what the basket contains: lines (each one eSIM), subtotal, code discount, total, and currency. It also names the 'answers' field, which lets an agent distinguish this read tool from mutation siblings like add_to_basket or remove_from_basket.

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 rather than stated: the note that answers is 'null until get_checkout_link' and should be used 'to confirm back to the user' hints at reading the basket before/after checkout. There is no explicit 'use this when…' or 'do not use this for…' statement, and no direct routing away from alternative siblings.

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