Skip to main content
Glama

eSIM plan details

detail_paket
Read-onlyIdempotent

Full details of one plan by slug: live price and sale end, data, validity, every covered country, network, description, device requirements and links to installation and refund policy.

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": {
      "produk": "<produk>"
    },
    "name": "detail_paket"
  }
}

Input Schema

NameRequiredDescriptionDefault
bahasaNoLabel language: id (Indonesian, default) or en.
produkYesPlan slug from cari_paket.

Output Schema

NameRequiredDescriptionDefault
urlYes
namaYes
slugYesUse as `produk` when ordering.
promoNo
tautanNo
berlakuNo
kuotaGbYes
wilayahYes
hargaIdrYesFinal price the user pays now, any sale included. Present this as the price.
hematIdrNoSaving per eSIM in IDR (normal price minus final price). A saving, never the price.
jaringanNo
tersediaYes
deskripsiNo
labelHargaNoReady-to-show price line: final price, normal price, saving in % and IDR, and when the sale ends (WIB, UTC+7).
perHariIdrYes
promoMulaiNo
checkoutUrlNo
hematPersenNoSaving versus the normal price, in percent.
masaAktifHariYes
promoBerakhirNo
hargaNormalIdrNoNormal price before the sale, shown struck through next to the final price. Not what the user pays.
negaraTercakupNo
syaratPerangkatNo
negaraTercakupLengkapNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed5 schema fields changed
    • changedOutput schema / properties / hargaIdr / description
      Previous value: -"Price actually paid now (includes any sale)."New value: +"Final price the user pays now, any sale included. Present this as the price."
    • addedOutput schema / properties / hargaNormalIdr / description
      Added value: +"Normal price before the sale, shown struck through next to the final price. Not what the user pays."
    • addedOutput schema / properties / hematIdr
      Added value: +{
      +  "description": "Saving per eSIM in IDR (normal price minus final price). A saving, never the price.",
      +  "type": "integer"
      +}
    • addedOutput schema / properties / hematPersen / description
      Added value: +"Saving versus the normal price, in percent."
    • addedOutput schema / properties / labelHarga
      Added value: +{
      +  "description": "Ready-to-show price line: final price, normal price, saving in % and IDR, and when the sale ends (WIB, UTC+7).",
      +  "type": "string"
      +}
  2. First observed

TDQS

A3.6/5.0
Behavior3/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 the safety profile is fully covered. The description adds useful content scope (live price, sale end, validity, coverage), but this largely restates what the output schema already defines, and it says nothing about caching, price volatility, or error behavior for a bad slug.

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?

It is a single front-loaded sentence with the key scoping fact ('one plan by slug') first. The trailing list of returned fields is a bit of a laundry list and could be trimmed given the output schema already enumerates them.

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 read tool with full schema coverage, complete annotations, and an output schema, the description covers enough for correct invocation. The only meaningful gap is guidance on when to reach for this versus cari_paket or hitung_harga.

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

Parameters4/5

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

Schema coverage is 100%, so both parameters are already documented with the 'produk' slug source and the 'bahasa' enum default. The description's 'by slug' phrasing adds only light reinforcement, so the baseline-plus level applies rather than strong added meaning.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description gives a specific verb-and-resource pair: 'Full details of one plan by slug', making clear this is a single-record lookup rather than a search. The 'one plan' scoping implicitly separates it from the catalog-searching sibling (cari_paket), though no alternative is named explicitly.

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 only implied: the agent must infer that this tool is called after a search to expand a specific plan, since a slug is required. The tie to cari_paket appears in the schema ('Plan slug from cari_paket'), not in the description itself, and there are no when-not-to-use cues.

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