Skip to main content
Glama

swiftpesa

Country money overview

get_country_overview
Read-onlyIdempotent

Use when the user asks about a country in general or you need context before answering: one call returns the country's central bank rate and inflation, how PAYE works (bands, deductions, a worked example at a typical salary), mobile money fees at a typical amount, and its other calculators. For a specific salary or amount, use get_take_home_pay or get_mobile_money_fees instead; to compare rates across several countries, use get_central_bank_rates.

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>"
    },
    "name": "get_country_overview"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.3/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, and closed-world, so the safety profile is covered. The description adds value they cannot: it discloses that this is a single aggregated call and enumerates the return shape, which matters because no output schema exists. It stops short of covering failure behavior for an unrecognised country or whether fields can be absent for some countries.

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?

Front-loads the trigger and then the payload, with routing deferred to the end where it belongs. The middle enumeration is long but every clause describes distinct returned content rather than padding. Slightly dense as a single sentence, but no sentence is wasted.

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 takes on the job of describing returns and largely succeeds by listing each data category the call yields. The remaining gap is edge-case behavior (unknown country, missing data), which is minor for a read-only lookup tool.

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?

The schema has one parameter at 100% description coverage, already documenting country name or ISO code with concrete examples, so the description need not repeat format. "About a country in general" hints at granularity but adds no new constraint on the country argument. Baseline 3 is appropriate when the schema carries the semantics.

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?

"One call returns the country's central bank rate and inflation, how PAYE works (bands, deductions, a worked example), mobile money fees, and its other calculators" names the resource and enumerates the payload precisely. An agent can distinguish it from get_take_home_pay, get_mobile_money_fees, and get_central_bank_rates without opening any schema.

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?

Gives an explicit trigger ("when the user asks about a country in general or you need context before answering") and two explicit exclusions with the sibling that replaces this tool in each case. Nothing about routing is left to inference.

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