Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
ESIMFLY_BASE_URLNoOverride the API base URL
ESIMFLY_SECRET_KEYYesAPI secret key (sk_…)
ESIMFLY_ACCESS_CODEYesAPI access code (esf_…)
ESIMFLY_MCP_ALLOW_WRITESNoSet to 'true' to register write tools

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

Tools for the eSIMfly Business API (wholesale eSIM data plans for 200+ countries). Package codes are opaque strings: pass them back exactly as returned. Prices (cost) are the partner buy price in the account currency. get_esim_usage is cheap; get_esim_live_status and get_network_events query the mobile network live — use them for diagnosis, not routinely. This server is read-only: ordering, top-ups, cancel, suspend, SMS and webhook changes are disabled (start with ESIMFLY_MCP_ALLOW_WRITES=true to enable). Documentation: https://docs.esimfly.net

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}
prompts
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
search_packagesA

Find eSIM data packages you can sell, with your wholesale price. Filter by destination name (search), type (local / regional / global) and page. Returns compact rows; use limit up to 100.

get_balanceA

Current prepaid balance (or enterprise balance) and currency.

list_esimsB

eSIMs on the account with status, data left and validity. Search by ICCID, package name or code; filter by status.

get_esim_usageA

Stored data usage and validity for one eSIM (cheap; fresh as of the last sync). Identify by ICCID or order reference.

get_esim_live_statusA

LIVE status straight from the mobile network: lifecycle status, profile install state, last network (operator, country, MCC/MNC, 4G/5G), device model and IMEI, activation and last-usage dates, data used. Expensive — use for diagnosis ("no data", "is it installed?"), not routinely.

get_network_eventsA

Attach and data-session events for one eSIM, newest first, each flagged is_allowed. wrong_network_count > 0 means the device latched onto a network outside the plan — the usual cause of "connected but no data" (fix: airplane-mode toggle or manual network selection).

get_usage_reportA

Daily data usage for one eSIM over the last N days (default 7, max 90) with per-country and per-operator breakdown.

list_ordersB

Order history with filters (status, date range ISO 8601, search by reference / package) and a revenue summary.

get_orderA

One order by reference, including its eSIM (ICCID, install links, pending state).

get_topup_packagesB

Top-up options for ONE eSIM (they depend on its provider and location), with your price. Returns ESIM_NOT_TOPPABLE when the eSIM state does not allow top-ups.

get_topupA

Status of one top-up by the orderReference that topup_esim returned. A completed top-up includes its package, amount and payment status.

get_webhook_settingsB

Configured webhook URL, subscribed events, available events and the last deliveries.

Prompts

Interactive templates invoked by user choice

NameDescription
esimfly_integration_guideThe complete, always-current prompt for building an eSIMfly integration (all endpoints, recommended architecture, webhooks, SDK). Fetched from docs.esimfly.net.
diagnose_esimWalks through the live status, network events and usage of one eSIM and explains what the customer should do.

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.6/5.0

Scored across 12 tools

Disambiguation4/5

The four eSIM telemetry tools (get_esim_usage, get_esim_live_status, get_usage_report, get_network_events) overlap in theme, but the descriptions draw clear lines between cheap stored usage, expensive live diagnosis, daily breakdowns, and event logs. get_topup vs get_topup_packages is likewise clarified (status of a past top-up vs available options for one eSIM). Only minor confusion risk remains for an agent choosing between get_esim_usage and get_usage_report.

Naming Consistency5/5

All twelve tools are snake_case with a predictable verb_noun shape (get_*, list_*, search_*), and resource names are used consistently (esim, order, topup, usage). No camelCase or vague bare-verb names appear.

Tool Count5/5

Twelve tools is well within a healthy range for an eSIM reseller API and each tool maps to a distinct resource: packages, eSIMs, orders, top-ups, balance, webhooks. Nothing looks like filler or a duplicate wrapper.

Completeness2/5

The surface is almost entirely read-only: orders, packages, eSIMs and usage can be inspected, but there is no tool to create an order or execute a top-up — get_topup even references 'the orderReference that topup_esim returned', a tool that is absent from this set, which is a hard dead end. get_webhook_settings likewise has no counterpart to configure a webhook, leaving several obvious transactional gaps.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues