Skip to main content
Glama

AfriRate MCP

Replaced by its MCP Registry listing

This endpoint is listed in the official MCP Registry as AfriRate. If you published it, claim ownership there.

Latest exchange rates

get_rate
Read-only

Latest exchange rates, either every pair for one country (country="ZW") or one pair across every source that publishes it (base="USD", quote="KES"). Each row carries a stale flag — when it is true the source has been failing and the value is the last one published, so say so when you quote it.

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_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
baseNoBase currency code, e.g. USD
quoteNoQuote currency code, e.g. ZWG
countryNoISO 3166-1 alpha-2 country code, e.g. ZW

Output Schema

NameRequiredDescriptionDefault
countYes
ratesYes
countryYes
last_updatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare read-only and open-world, so the bar is lower; the description adds genuinely new behavior by explaining that rows come from multiple publishers and that `stale` means the source is failing and the value is the last published one, plus an instruction to disclose that when quoting. What it does not disclose is what happens when all three optional parameters are omitted.

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: the first front-loads the two access patterns with inline examples, the second covers the one output nuance that changes agent behavior. No filler or restatement of structured data.

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?

With all parameters optional, a 100%-covered schema, and an output schema that already documents the row shape, the remaining burden is describing the query modes and the staleness caveat — both are present. The only residual ambiguity, the no-parameter default, is minor for a lookup tool of this shape.

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%, so baseline is 3; the description earns above that by explaining the semantics of parameter combinations — country alone fans out to all pairs, base+quote fans out across sources — which the schema's per-field descriptions ('Base currency code, e.g. USD') do not convey. It leaves the intended exclusivity of country vs. base/quote implicit.

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?

States a specific verb+resource ('Latest exchange rates') and then pins down the two distinct result shapes: every pair for one country, or one pair across every publishing source. The example values (country="ZW", base="USD", quote="KES") make the resource concrete and separate this from a point-to-point convert or a subscription tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives clear selection logic between the two query modes (country-level listing vs. cross-source single pair), which is the real branching decision for this tool. It stops short of naming siblings such as convert or watch_rate, so an agent must still infer when a conversion or monitor is the better call.

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