Skip to main content
Glama

sinoconnection-esim-mcp

get_plan_details

Read-only

Full details for a specific plan by id — call this WHENEVER the customer selects or shows interest in a plan; do NOT just quote a bare price. Returns coverage, networks, activation window and fair-usage detail PLUS whats_included (concrete selling points: instant QR delivery, keep-your-own-number data-only eSIM, buy-now/travel-later install window, easy Wi-Fi setup, bilingual English/中文 support, and China no-VPN where applicable) and a positive unlimited_note for unlimited plans. Present the 3–5 most relevant selling points together with the price (and any discount) to help the customer decide, THEN confirm eSIM compatibility + carrier-unlock before offering the checkout link. Use before create_checkout_link.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
idYesPackage id from search_esim_plans

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
planNo
errorNo
currencyNo
coverage_countNo
unlimited_noteNo
whats_includedNoFact-based selling points to present to the customer

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / plan / properties / flag
      Added value: +{
      +  "description": "Destination flag emoji to lead the plan with",
      +  "type": "string"
      +}
    • addedOutput schema / properties / plan / properties / highlight
      Added value: +{
      +  "description": "Compact one-line value pitch to relay to the customer",
      +  "type": "string"
      +}
  2. Changed3 schema fields changed
    • addedOutput schema / properties / coverage_count
      Added value: +{
      +  "type": "integer"
      +}
    • addedOutput schema / properties / unlimited_note
      Added value: +{
      +  "type": [
      +    "string",
      +    "null"
      +  ]
      +}
    • addedOutput schema / properties / whats_included
      Added value: +{
      +  "description": "Fact-based selling points to present to the customer",
      +  "items": {
      +    "type": "string"
      +  },
      +  "type": "array"
      +}
  3. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "properties": {
      +    "currency": {
      +      "type": "string"
      +    },
      +    "error": {
      +      "type": "string"
      +    },
      +    "plan": {
      +      "properties": {
      +        "activation_policy": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "china_open_internet": {
      +          "description": "Open/uncensored internet in China without a VPN",
      +          "type": "boolean"
      +        },
      +        "coverage_codes": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "data_amount": {
      +          "type": "string"
      +        },
      +        "discount_pct": {
      +          "type": "number"
      +        },
      +        "fair_usage_policy": {
      +          "type": [
      +            "string",
      +            "null"
      +          ]
      +        },
      +        "id": {
      +          "type": "string"
      +        },
      +        "install_window_days": {
      +          "type": [
      +            "integer",
      +            "null"
      +          ]
      +        },
      +        "is_fair_usage_policy": {
      +          "type": "boolean"
      +        },
      +        "is_unlimited": {
      +          "type": "boolean"
      +        },
      +        "list_price_usd": {
      +          "description": "Original price before discount",
      +          "type": "number"
      +        },
      +        "networks": {
      +          "items": {
      +            "type": "string"
      +          },
      +          "type": "array"
      +        },
      +        "on_sale": {
      +          "type": "boolean"
      +        },
      +        "price_usd": {
      +          "description": "Price the customer pays (current discount applied)",
      +          "type": "number"
      +        },
      +        "title": {
      +          "type": "string"
      +        },
      +        "validity_days": {
      +          "type": "integer"
      +        }
      +      },
      +      "type": "object"
      +    }
      +  },
      +  "type": "object"
      +}
  4. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already provide readOnlyHint=true and openWorldHint=true. Description adds concrete details on return contents (coverage, networks, selling points) and instructs on presentational behavior, enhancing transparency without contradicting annotations.

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?

The description is front-loaded with core purpose and usage, but includes lengthy instructions (e.g., presentational guidance) that could be trimmed. Still well-structured and every sentence serves a purpose.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

Given the presence of output schema, complete input schema coverage, and annotations, the description adds essential integration guidance (e.g., use before checkout, what to present). It covers all necessary context for correct invocation.

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% with a clear description ('Package id from search_esim_plans'). The description mentions 'by id' but adds minimal value beyond the schema, meeting the baseline.

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?

Clearly states 'Full details for a specific plan by id' and provides explicit usage context: 'call this WHENEVER the customer selects or shows interest in a plan'. Distinguishes from siblings by advising against just quoting a bare price and positioning it before create_checkout_link.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly states when to use ('whenever customer selects or shows interest'), what not to do ('do NOT just quote a bare price'), and downstream actions ('confirm eSIM compatibility + carrier-unlock before offering checkout link'). Effectively guides the AI on when to invoke this tool over alternatives.

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.