Skip to main content
Glama

Africa API — African FX Rates

africa.markets.fx_rates
Read-onlyIdempotent

Get daily USD exchange rates for all 50+ African currencies. Returns current rate per USD for NGN (Nigerian naira), KES (Kenyan shilling), ZAR (South African rand), EGP (Egyptian pound), GHS (Ghanaian cedi), ETB (Ethiopian birr), MAD (Moroccan dirham), and all other African currency pairs. Rates updated daily. Filter by country code to get the rate for a specific country's currency.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
country_codeNoFilter FX rates to the currency of a single country (ISO 3166-1 alpha-2, e.g. "ng" for NGN, "ke" for KES, "za" for ZAR). Omit to return all 50+ African currency rates.
quote_currenciesNoComma-separated list of specific quote currencies to return (e.g. "NGN,KES,ZAR,GHS,EGP"). Omit to return all available African currencies.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
errorNoPresent only when the call failed. Includes error code, message, request_id, and any provider-specific extras.
resultNoTool response payload. Shape varies per tool — consult the tool description and inputSchema. May be an object, array, string, or number depending on the upstream provider response.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true, and destructiveHint=false, so the safety profile is covered. The description adds 'Rates updated daily', which informs freshness. It does not disclose other behavioral details like pagination or error handling, but for a simple read tool, this is acceptable. There is no contradiction with annotations.

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

Conciseness3/5

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

The description is moderately concise but includes a long list of currency examples (NGN, KES, ZAR, EGP, GHS, ETB, MAD) which is somewhat redundant given the statement 'all other African currency pairs'. The main point is front-loaded, but the verbosity detracts slightly. It could be trimmed without losing clarity.

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 simple read-only FX tool with an output schema, the description is sufficiently complete. It states what it returns (rates per USD), the update frequency, and the filtering options. The output schema covers return structure. There are no missing critical details that an agent needs to call it correctly.

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 description coverage is 100%, so both parameters (country_code and quote_currencies) are already documented in the schema. The description's mention of 'Filter by country code' adds nothing beyond what the schema says. It does not provide additional context like format or interaction between parameters, so it stays at the baseline of 3.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the verb 'Get' and the resource 'daily USD exchange rates for all 50+ African currencies', making the tool's purpose unambiguous. It lists several currency examples, which reinforces the scope. However, it does not explicitly contrast with sibling tools like currency.exchange.latest or frankfurter.currency.latest, so it lacks explicit differentiation.

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

Usage Guidelines2/5

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

The description does not provide any guidance on when to use this tool versus alternatives. It implies usage for African FX rates but does not mention any exclusion criteria or alternatives. An agent would have to infer from the name/scope that this is the right tool for African currencies, but there is no explicit direction.

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.