Skip to main content
Glama

SwiftPesa African Money Data

Mobile money charges

get_mobile_money_fees
Read-onlyIdempotent

Use for "how much does it cost to send/withdraw/pay" questions: mobile money charges (M-Pesa, MTN MoMo, Airtel Money, EcoCash, Orange Money, Mixx by Yas and others) for one amount in one country. Returns every transaction type's fee for that amount and a one-sentence summary. For bank transfers (PesaLink) use run_calculator with pesalink-charges-calculator.

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": {
      "country": "<country>",
      "amount": "<amount>"
    },
    "name": "get_mobile_money_fees"
  }
}

Input Schema

NameRequiredDescriptionDefault
amountYesAmount sent or withdrawn, in local currency.
countryYesCountry name or ISO code, e.g. "Kenya", "ke", "South Africa", "ng".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare this is a read-only, idempotent, non-destructive, closed-world operation, so the bar is lower. The description still adds real value by describing the shape of the result (fees for every transaction type plus a one-sentence summary) and the scoping constraint (one amount, one country), though it says nothing about missing-provider or unsupported-amount handling.

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?

Two sentences, front-loaded with the usage trigger and followed by an explicit alternative. The provider enumeration is somewhat long but earns its place as matching surface for user-mentioned brand names; no filler sentences remain.

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?

For a two-parameter read-only lookup with full schema documentation and annotations, the description covers trigger conditions, scope, the form of the returned results, and the correct alternative tool. Nothing an agent needs to select or invoke it correctly is missing.

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 both parameters documented including accepted country name/ISO-code formats and local-currency amounts. The description only echoes the 'one amount in one country' scoping, adding little syntax or format detail beyond the schema, so the baseline 3 applies.

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 specific verb+resource: it returns mobile money charges (M-Pesa, MTN MoMo, Airtel Money, etc.) for one amount in one country, and explicitly notes it returns every transaction type's fee plus a one-sentence summary. It also differentiates itself from run_calculator by naming the PesaLink/bank-transfer case as belonging elsewhere.

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?

It gives an explicit trigger phrase ('how much does it cost to send/withdraw/pay' questions) and an explicit exclusion routing to run_calculator with pesalink-charges-calculator for bank transfers. Both the when-to-use and when-not-to-use cases are stated.

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