Skip to main content
Glama

SimplySIM travel eSIMs

Remove a basket line

remove_from_basket
Destructive

Removes one line (one eSIM) from the basket. Use the line_id from get_basket.

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>",
      "line_id": "<line_id>"
    },
    "name": "remove_from_basket"
  }
}

Input Schema

NameRequiredDescriptionDefault
line_idYesline_id from get_basket.
basket_tokenYesThe basket_token returned by create_basket. Keep it private.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior3/5

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

Annotations already declare destructiveHint=true, readOnlyHint=false and idempotentHint=false, so the safety profile is covered elsewhere. The description adds useful granularity (exactly one line/eSIM per call) but says nothing about failure behavior for an unknown or stale line_id, or what state the basket is left in.

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?

Two short sentences, front-loaded with the action and immediately followed by the sourcing instruction. Nothing extraneous.

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 simple two-parameter mutation with full schema coverage and rich annotations, the description covers what is removed and where the identifier comes from. It does not indicate what the call returns (updated basket vs. confirmation) and there is no output schema to fall back on, which is the only remaining gap.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters5/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Both parameters are fully documented in the schema (100% coverage), including the basket_token hex pattern and the privacy note. The description's 'line_id from get_basket' matches the schema and reinforces the provenance, without adding new syntax — appropriate given the schema already carries the detail.

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 specific verb and resource ('Removes one line (one eSIM) from the basket') and clarifies the unit of removal, which distinguishes it from add_to_basket and from whole-basket operations. An agent can tell exactly what this does without opening the schema.

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?

Gives a clear prerequisite — obtain line_id from get_basket — which is the key context for correct invocation. It stops short of stating when not to use it (e.g., removing a promo code via remove_code), so the guidance is clear but not exhaustive.

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