Skip to main content
Glama

Buy Top-Up

buy_topup

Purchase a top-up data package for an existing eSIM. Returns a Stripe checkout URL.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
iccidYesThe ICCID of the eSIM to top up
session_keyYesSession key from a previous tool call
package_codeYesThe package code from search_topup_packages results

TDQS

A4/5.0
Behavior4/5

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

Annotations already indicate the tool is not read-only and not destructive. The description adds that it returns a Stripe checkout URL, which implies a payment flow and side effect (purchase). This adds meaningful behavioral context beyond annotations. No contradiction.

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?

The description is a single sentence plus a return statement, with no unnecessary words. It is front-loaded with the key action and resource, and every part provides value.

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?

Given the tool has three required parameters, no output schema, and a straightforward purchase action, the description adequately covers purpose and return. However, it could briefly mention that the checkout URL requires redirect or confirmation, but as is it is sufficiently complete for this complexity.

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 coverage is 100% and each parameter already has a clear description in the input schema (iccid, session_key, package_code). The tool description does not add further meaning or constraints beyond what is already documented, so baseline score of 3 is appropriate.

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 clearly states the action ('Purchase'), the resource ('a top-up data package for an existing eSIM'), and the return value ('Returns a Stripe checkout URL'). This distinguishes it well from sibling tools like 'search_topup_packages' (which searches) and 'create_order' (which likely creates a different order type).

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?

The description implies usage after searching for top-up packages, but it does not explicitly state when to use this tool versus alternatives, nor does it provide exclusions or prerequisites. It is adequate but lacks explicit guidance for an AI agent.

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.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: buying top-ups, checking balances, checking order status, creating orders, getting business context, fetching package details, listing eSIMs, searching packages, and searching top-up packages. No overlapping functionality.

Naming Consistency5/5

All tool names follow a consistent verb_noun pattern in snake_case. Verbs like 'get', 'list', 'search', 'create', 'buy', 'check' are used appropriately, making the naming predictable.

Tool Count5/5

With 9 tools, the server is well-scoped for managing eSIMs. It covers browsing packages, ordering, checking status and balance, listing eSIMs, and handling top-ups without being overwhelming.

Completeness4/5

The tool set covers the main lifecycle: search, create order, check order status, list eSIMs, check balance, and top-up. Missing features like cancellation or order history are minor gaps, but the core workflows are well-supported.

Resources