Skip to main content
Glama

Get mobile top-up options

get_topup_plans
Read-onlyIdempotent

Mobile recharge (top-up, recarga, recharge, شحن رصيد, रिचार्ज, load): detects the operator of a mobile number and returns the live recharge and top-up options for it (airtime, data packs and plans): what the recipient receives, validity where it applies, and the price in USD. Works for numbers in 100+ countries, for example Jio, Airtel and Vi in India, Telcel, Bait and AT&T in Mexico, Vodafone, Orange and Etisalat in Egypt, Maroc Telecom and inwi in Morocco, Mobilis in Algeria, Jazz and Zong in Pakistan, MTN, Claro, Tigo, Globe and Smart. The number must include the country code, e.g. +911234567890.

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": {
      "phone": "<phone>"
    },
    "name": "get_topup_plans"
  }
}

Input Schema

NameRequiredDescriptionDefault
phoneYesFull international mobile number with country code

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety bar is low. The description adds genuinely new behavior: the operator is auto-detected from the number, results are live prices in USD, coverage spans 100+ countries, and validity is included only where applicable — details not derivable from the annotations.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core purpose is front-loaded and the multilingual synonyms (recarga, recharge, شحن رصيد, रिचार्ज, load) genuinely aid intent matching. But the long enumeration of carriers and countries (Jio, Airtel, Vi, Telcel, Bait, AT&T, Vodafone, Orange, Etisalat, ...) is largely redundant after '100+ countries' and bloats a single-sentence description.

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?

With no output schema, the description must carry the return contract, and it does specify what the recipient gets, validity and USD pricing. It covers the required input format and geographic scope; the only real gap is that it does not describe result structure or whether an operator name is echoed back.

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% for the single parameter, so the baseline is 3. The description still adds value by restating the country-code requirement with a concrete literal example (+911234567890), which reduces formatting errors beyond what the schema's 'Full international mobile number with country code' conveys.

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?

The description states a concrete verb chain (detect operator, return live recharge/top-up options) and enumerates the returned fields (airtime, data packs, validity, USD price). It is clearly distinguishable from siblings such as get_esim_plans or get_topup_operators because the resource is top-up plans for an existing number, not eSIMs or operator lists.

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 implied rather than stated: the agent can infer this is the tool for pricing an existing mobile number, and the country-code prerequisite is given. However, there is no explicit when-to-use/when-not, and no sibling is named as an alternative (e.g. get_topup_operators for a plain operator lookup), so routing must be inferred.

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