Skip to main content
Glama

SwiftPesa African Money Data

List calculators

list_calculators
Read-onlyIdempotent

Use to find a calculator's slug before get_calculator_rules or run_calculator: lists calculators with open rules (PAYE, mobile money tariffs, bank fees, loans, savings, SACCO dividends), optionally filtered by country and type. To see which countries are covered at all, use list_countries.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "list_calculators"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNo
countryNoCountry name or ISO code, e.g. "Kenya", "ke", "South Africa", "ng".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior4/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 safety is covered. The description adds non-structured behavior: only calculators with *open* rules are returned, and it enumerates the domain categories that populate the result set. It does not discuss result size, ordering, or whether an empty filter combination returns an empty list, which keeps it from a 5.

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

Conciseness5/5

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

Two sentences, front-loaded with the purpose and the downstream dependency, with the alternative-tool routing placed last. The parenthetical category list is the only length and it carries real disambiguation value for the `type` enum.

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 two-optional-parameter read-only lookup with no output schema, the definition covers purpose, sequencing, filtering, and the sibling alternative. The only residual gap is what each returned entry contains besides the slug (name, country, type), which an agent might want when choosing among similar calculators.

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 50% — only `country` is documented in the schema, while the `type` enum has no per-value descriptions. The description compensates by mapping the enum values to human categories (income-tax/PAYE, tariff/mobile money tariffs, bank-fees, loan, savings, dividend/SACCO dividends) and by confirming both filters are optional ('optionally filtered by country and type').

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?

Specific verb and resource ('lists calculators'), plus the exact payload value it yields ('a calculator's slug') and the domain scope (PAYE, mobile money tariffs, bank fees, loans, savings, SACCO dividends). It is clearly distinguished from get_calculator_rules and run_calculator, which consume the slug, and from list_countries, which is named as the coverage-level alternative.

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 states the precondition explicitly ('before get_calculator_rules or run_calculator') and names the alternative for a different question ('To see which countries are covered at all, use list_countries'). Both the when-to-use and the when-to-use-something-else cases are covered with no inference required.

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