Skip to main content
Glama
AllRates-Today

AllRatesToday MCP Server

Get a bank's official published rates

get_official_rates
Read-only

Retrieve official, citable exchange rates from central banks, tax authorities, and customs agencies for compliance, accounting, and invoicing. Query by bank, date, or currency pair.

Instructions

OFFICIAL rates a named institution published — 'what is the ECB rate for USD?', 'Bank of Japan rate today', 'HMRC rate for invoicing'. These are the fixed, citable rates for compliance, tax, customs and accounting — NOT live market rates (use get_exchange_rate for those). Omit date for the newest published table (no API key needed); give date (API key, paid plan) for the table in force that day — weekends/holidays roll back to the last published date and the response's rate_date says which. Omit source/target for the full table; give both for one pair — cross-computed inside the bank's own table when not directly published, flagged derived. Always cite the returned rate_date.

Input Schema

NameRequiredDescriptionDefault
bankYesSource code from list_central_banks, e.g. 'ecb', 'fed', 'boe', 'rbi', 'hmrc'. Case-insensitive.
dateNoOptional YYYY-MM-DD. Omit for the latest table.
sourceNoOptional. With target, narrows to one pair.
targetNoOptional. With source, narrows to one pair.

Output Schema

NameRequiredDescriptionDefault
bankYes
rateNo
ratesNo
staleNoTrue when the institution is behind its publication schedule
sourceNo
targetNo
derivedNoTrue when cross-computed inside the bank table
rate_dateYesPublication date of the table — cite this, not today
rate_typeNo
attributionNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.7.9

TDQS

A4.6/5.0
Behavior4/5

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

Annotations only cover readOnlyHint and openWorldHint, so the description usefully adds the parts they cannot: the API-key/paid-plan requirement for `date`, weekend/holiday rollback to the last published date, the `derived` flag for cross-computed pairs, and the instruction to cite `rate_date`. It stops short of discussing rate limits, caching, or table size limits, so it is strong but not exhaustive.

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 definition and the get_exchange_rate distinction, then handles each parameter mode in order. It is dense — semicolons carry several distinct constraints per sentence — but nearly every clause carries a decision-relevant fact rather than filler.

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?

For a four-parameter read tool with an output schema present, the description covers everything an agent needs to choose the right call: source-tool dependency (list_central_banks for bank codes), auth implications, date fallback behavior, and pair narrowing. Return-value details are appropriately deferred to the output schema.

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 description coverage is 100%, so the baseline is 3, but the description adds genuine semantics the schema lacks: `date` shifts to the last published table on weekends/holidays, omitting `date` yields the newest table without a key, and omitting both source and target returns the full table with cross-computed pairs flagged `derived`.

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 the resource precisely ('OFFICIAL rates a named institution published') with three real user-phrasing examples, and explicitly names the sibling it is not (get_exchange_rate). An agent can distinguish it from get_exchange_rate and get_historical_rates without opening a 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 explicit when-to-use routing ('NOT live market rates — use get_exchange_rate for those'), plus conditions for each invocation mode: omit `date` for the newest table (no API key), supply `date` for the table in force that day (API key, paid plan), omit source/target for the full table vs both for one pair.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.