Skip to main content
Glama

swiftpesa

Central bank rates and inflation

get_central_bank_rates
Read-onlyIdempotent

Use for interest rate and inflation questions, especially comparing countries: latest central bank policy rates, inflation and Treasury bill yields, for one country or all of them, each with its date, official source, the previous reading and the direction of change. Optionally the full history. For one country's whole picture (rates plus pay and fees), use get_country_overview.

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": "get_central_bank_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
countryNoCountry name or code. Leave out for all countries.
indicatorNopolicy-rate, inflation, tbill-91 or tbill-364. Leave out for all.
include_historyNoInclude every reading, oldest first.

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 valuable context about what each result carries (source, previous reading, change direction) and that full history is optional. It does not mention coverage gaps, missing-data behavior, or result size, which keeps it below 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.

Conciseness4/5

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

Two sentences, front-loaded with the usage trigger and ending with the sibling alternative, with no filler. The first sentence is dense with a comma-separated field list, which slightly hurts scannability but every element earns its place.

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 does the work of explaining return contents, which is the main gap it needed to fill for a read-only lookup tool. Minor omissions remain: no mention of empty results or whether 'all countries' returns a large payload when history is included.

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% and each parameter is already documented, including the 'leave out for all' default and history ordering. The description restates 'one country or all of them' and 'optionally the full history' but adds no format or syntax detail beyond the schema, so the baseline of 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 names the specific resource (central bank policy rates, inflation, T-bill yields) and the exact fields returned (date, official source, previous reading, direction of change). It also distinguishes itself from get_country_overview by scoping that tool to 'whole picture (rates plus pay and fees)'.

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 opens with an explicit trigger ('Use for interest rate and inflation questions, especially comparing countries') and names an alternative tool with the condition that selects it. An agent can route between the two without inspecting either schema.

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