Skip to main content
Glama

AgentStall: Africa and global data for agents

Currency exchange rates API: 150+ currencies incl. rand, naira, shilling, rupee

exchange_rates
Read-onlyIdempotent

Currency exchange rates and conversion for 150+ currencies, updated daily: USD, EUR, GBP, CNY, INR and every African currency, including South African rand (ZAR), Nigerian naira (NGN), Kenyan shilling (KES), Egyptian pound (EGP), Ghanaian cedi (GHS) and CFA francs. Any base currency, optional amount conversion. Mid-market reference rates from an open daily dataset, not official central-bank fixings. Useful for pricing, invoices and reports. Returns JSON with base, date, rates, converted. Read-only; invalid input is rejected before any charge. Price: $0.002 USDC per call (x402, Base mainnet), paid only when the call succeeds.

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

Input Schema

NameRequiredDescriptionDefault
baseNoBase currency code (default USD)
amountNoOptional amount in the base currency to convert
symbolsNoComma-separated currency codes to return (default: 18 African currencies plus USD, EUR, GBP, CNY, INR)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already declare readOnly and idempotent, but the description adds substantial context beyond them: the data source and its reliability caveat (open daily dataset, not central-bank fixings), the response shape (base, date, rates, converted), the payment model ($0.002 USDC per call via x402 on Base mainnet), and the important guarantee that invalid input is rejected before any charge and payment occurs only on success. That billing-on-success detail is exactly the kind of behavior an agent cannot infer from annotations.

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?

The core capability and the pricing/behavioral caveats are front-loaded and the sentences are dense with information. The long currency enumeration (rand, naira, shilling, cedi, CFA francs) partially duplicates the title and could be trimmed, which keeps it from a 5.

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?

There is no output schema, but the description compensates by naming the returned fields (base, date, rates, converted). Combined with the data-source caveat, the payment terms, and the failure behavior, an agent has everything needed to decide to call it and to interpret the result.

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%, so all three parameters are already documented in the schema, including the default symbol set. The description restates 'any base currency, optional amount conversion' without adding format, validation, or edge-case detail beyond what the schema provides. Baseline 3 is appropriate when the schema carries the parameter burden.

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 and resource: fetch currency exchange rates and perform conversion across 150+ currencies. It also explicitly distinguishes itself from the central-bank-rate siblings by noting the data is 'mid-market reference rates from an open daily dataset, not official central-bank fixings.' An agent can tell this apart from africa_central_bank_rates or currency_info_lookup 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 Guidelines4/5

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

Gives clear usage context ('useful for pricing, invoices and reports') and implicitly routes away from official-fixing tools via the mid-market disclaimer. It does not name a specific alternative sibling or state an explicit when-not condition, so it falls short of a 5.

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