Skip to main content
Glama

AskMia.app travel eSIM AI agent

search_packages

Read-onlyIdempotent

Search eSIM data packages by country code. Optionally filter by minimum data size (min_data_gb) and validity window (max_validity_days, validity_days). Pass customer_country (ISO code, e.g. 'DE') to get prices in EUR with VAT note for EU customers. Returns up to limit packages (default 10, max 50) ordered by price, plus total_available for pagination via offset. Each package includes network_count (number of supported networks across the destination region).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNoMax packages to return (default 10, max 50).
offsetNoPagination offset (default 0).
min_data_gbNoMinimum data in GB
country_codeYesDestination ISO country code (e.g. US, FR)
validity_daysNoOnly return plans with exactly this validity in days (e.g. 7, 15, 30). Overrides max_validity_days.
customer_countryNoCustomer's billing/residence ISO country code. Used to pick display currency (EUR for EU-27) and to flag VAT.
max_validity_daysNoOnly return plans whose validity is at most this many days (e.g. 7 for a week-long trip).

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already establish the tool as read-only, idempotent, and non-destructive. The description adds valuable behavior beyond that: results are ordered by price, limited and paginated via limit/offset/total_available, and each package includes network_count. It stops short of stating the ordering direction (ascending vs descending) but still provides substantial transparency.

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?

A four-sentence description with every sentence earning its place: main search action, optional filters, customer_country behavior, and return/pagination contract. It is front-loaded with the most important information and avoids filler or restatement of the schema.

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?

The description covers the required country_code, all optional filters, the customer_country effect, return limits, pagination, total_available, and network_count. Minor gaps remain, such as the exact ordering direction and behavior when customer_country is omitted, but the tool is invocable correctly based on this description alone.

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?

With 100% schema coverage, the baseline is 3, but the description clearly exceeds it by explaining the semantic intent of filters ('validity window'), giving a concrete customer_country example ('DE') with a currency/VAT consequence, and defining network_count as supported networks across the destination region. It adds meaning beyond the raw parameter names.

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 action ('Search') on a specific resource ('eSIM data packages') with a clear primary key ('by country code'). The filtering and return-behavior details make it distinct from siblings like get_package_details or list_countries.

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?

Provides clear context for when the tool is appropriate: searching packages by destination country, optionally narrowing by data/validity, and retrieving EU-specific pricing via customer_country. It does not explicitly name alternatives or exclusion criteria, but the use case is directly and concretely described.

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.2/5.0
Disambiguation5/5

Each tool targets a distinct aspect of the eSIM purchasing workflow: coverage, device compatibility, country listing, package search, package details, checkout creation, and order status. There is no overlap between tools.

Naming Consistency5/5

All tools follow a consistent verb_noun pattern using snake_case (check_, create_, get_, list_, search_). The verbs are specific to the action and nouns describe the resource, creating a predictable pattern.

Tool Count5/5

Seven tools is well within the ideal range for a domain-specific server. Each tool covers a step in the journey from discovery to delivery, with no redundant utilities.

Completeness5/5

The tool set covers the entire eSIM purchase lifecycle: discovery (list_countries, search_packages, get_package_details), compatibility verification (check_device_compatibility), coverage assessment (check_coverage), payment (create_checkout), and order tracking (check_order_status). No obvious gaps exist for the intended use case.

Resources