# ONE HEART eSIM

> 一心eSIM商品目錄查詢與下單服務：查詢各國eSIM上網方案的即時價格與庫存、依旅遊天數與用量推薦方案、協助建立訂單並取得LinePay或ECPay付款連結。

- name: com.oneheartesim.mcp/esim
- version: 1.0.0
- connection class: R0 (autonomous)
- trust: 77/100 flags: no-repository
- quality: 79/100 (good)
- owner: not claimed
- descriptor: https://api.protogrid.dev/v1/servers/com.oneheartesim.mcp%2Fesim
- tools: https://api.protogrid.dev/v1/servers/com.oneheartesim.mcp%2Fesim/tools

**An agent can connect right now, no human step.** Remote endpoint, no authentication, reachable on the last probe.

## Connection (mcpServers)

```json
{
  "mcpServers": {
    "esim": {
      "type": "http",
      "url": "https://mcp.oneheartesim.com/"
    }
  }
}
```


## Trust

- hygiene: 80
- liveness: 100
- freshness: 85
- provenance: 45
- drivers: +dns-namespace +reachable +uptime-100% ~updated-86d-ago -no-repository
- Derived from observable signals (official registry feed and our own credential-free probes); no code audit performed.

## Quality 79/100 (good)

### protocol: 75 (weight 25)

- warn `protocol.modern`: newest supported version is 2025-11-25; 2026-07-28 not supported, older versions are deprecated until 2027-07-28
- n/a `protocol.stateless`: only applies to 2026-07-28 servers
- pass `protocol.transport`: streamable HTTP
- n/a `protocol.list_ttl`: only applies to 2026-07-28 servers

### authorization: n/a (weight 15)

- n/a `auth.prm`, `auth.as_metadata`, `auth.cimd`: no remote uses OAuth
- n/a `auth.secret_in_url`: no templated URL

### tool hygiene: 71 (weight 30)

- pass `tools.descriptions`: every tool has a description
- pass `tools.description_length`: descriptions are concise
- pass `tools.schemas`: every tool has an object input schema
- fail `tools.annotations`: no tool declares readOnlyHint or destructiveHint, so clients cannot tell safe calls from risky ones
- fail `tools.directory_hints`: no tool declares all four of readOnlyHint, destructiveHint, idempotentHint and openWorldHint; missing: list_esim_countries (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); create_esim_order (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); recommend_esim_plan (readOnlyHint, destructiveHint, idempotentHint, openWorldHint); …
- pass `tools.token_cost`: about 750 tokens to load every tool
- pass `tools.api_dump`: tools are not a one-to-one API dump

### stability: 100 (weight 15)

- pass `stability.changes`: no tool changes in 30 days
- pass `stability.rug_pull`: no tool changed its meaning under the same name

### dependencies: n/a (weight 15)

- n/a `deps.known_vulns`, `deps.mcp_sdk_version`, `deps.resolvable`: no npm or PyPI package

- tools: 5, about 750 tokens to load them all
- tool set hash: a4c9866f8af61dc5843bc1bb248541de
- badge: [![protogrid quality](https://protogrid.dev/badge/com.oneheartesim.mcp/esim.svg)](https://protogrid.dev/servers/com.oneheartesim.mcp/esim)
- Checks run on what our credential-free, read-only probes observe; tools are never called and no code audit is performed.

### Tool changes

_No tool definition changes recorded._

## Remotes

- https://mcp.oneheartesim.com/ (streamable-http, auth none, reachable true, uptime30d 1)

## Packages

_none_

## Tools (5)

- `create_esim_order`: 建立一筆真實的一心eSIM訂單，並取得真實的付款連結（LinePay或ECPay綠界，二擇一）。
這是會實際寫入正式訂單、串真實金流的動作，不是模擬或試算。

呼叫前必須先完成：
1. 已用search_esim_plans/recommend_esim_plan/get_esim_plan_detail取得正確的productId、
   spec，不要自己編造或憑記憶帶入。
2. 已把商品名稱、規格、數量、單價與總金額，跟使用者逐一覆誦確認過，並取得使用者明確
   同意下單（不能因為使用者說「好」「幫我訂」等籠統回應就自行猜數量或規格）。
3. 已取得使用者的email與稱呼/姓名（兩者都必填：email用於辨識訂單歸屬與寄送購買憑證/
   eSIM QR碼；姓名是訂單聯絡資料的必要欄位，不能留空或代填）。手機可選填。
4. 已詢問使用者想用LinePay還是ECPay綠界付款（留空預設LinePay，但有得選的情況下應該
   主動問，不要自己幫使用者決定）。

回傳的paymentUrl要完整、原樣提供給使用者（不要摘要或改寫），並提醒使用者付款完成前
訂單不會出貨。若ok=false，訂單可能已建立但取得付款連結失敗，要把error/note內容如實
告知使用者，不要自行重試建立第二筆訂單。
- `get_esim_plan_detail`: 取得單一方案的完整詳情，包含商品說明（安裝/啟用步驟等）、各規格庫存、購買連結。
適用情境：使用者對某個已知方案想進一步了解安裝方式、使用細節、或確認庫存時。
需要先從search_esim_plans或recommend_esim_plan的結果取得productId，不要自己編造。
- `list_esim_countries`: 列出一心eSIM目前販售方案覆蓋的所有國家/地區（英文與中文名稱對照，含各國方案數量）。
適用情境：使用者問「你們支援哪些國家」「有賣OO地區的eSIM嗎」；或你準備呼叫
search_esim_plans/recommend_esim_plan，但不確定某國家在系統裡該用什麼名稱表示時，
先呼叫這個工具確認，比用猜的準確。
- `recommend_esim_plan`: 依旅遊天數與上網用量習慣，推薦最合適的1-3個eSIM方案，並附上購買連結，
是「幫使用者選方案」最好用的工具。
適用情境：使用者詢問出國上網卡、各國eSIM方案、即時發卡服務，並描述了
「要去OO玩幾天」「想找適合的上網方案/漫遊卡」「幫我推薦/挑選eSIM」時優先使用這個，
而不是自己呼叫search_esim_plans後用猜的。
- `search_esim_plans`: 依國家、方案類型、關鍵字搜尋一心eSIM的商品清單，一次回傳多筆結果讓使用者自己比較。
適用情境：使用者想瀏覽/比較某國家的多個方案，或已經明確講出要哪種類型
（例如指定「總量型」或「每日定量型」）。
如果使用者是描述旅遊情境（去哪個國家玩幾天、上網習慣如何）要你直接建議選哪個，
改用recommend_esim_plan讓它幫忙評分挑選，不要自己從這個工具的結果裡用猜的。
