Skip to main content
Glama

currencylayer MCP by usefulapi

Get historical exchange rates

currencylayer_get_historical_rates
Destructive

SPENDS 1 request of your currencylayer monthly quota per call (also when it fails after authentication; it is never retried). Exchange rates for one past date (data back to 1999 for most currencies; a currency added later has no data before its start date and the whole request then fails). Quotes are keyed by pair, e.g. USDEUR. Use 'currencies' to limit the reply. GET /historical.

Input Schema

NameRequiredDescriptionDefault
dateYesThe date to look up, yyyy-mm-dd.
sourceNoSource (base) currency code, default USD. Needs the Basic plan or higher; every quote is then SOURCE+TARGET, e.g. EURGBP.
currenciesNoOnly these currency codes, e.g. ["EUR","GBP","JPY"] (default: all of them).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Goes well beyond the annotations by disclosing that each call spends one quota unit, that quota is consumed even on post-auth failure, that it is never retried, and that a currency with no history at that date fails the entire request. These are exactly the operational traits an agent needs before calling a billed endpoint.

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 most decision-relevant fact (quota spend) and stays to a handful of sentences with no filler. It is telegraphic and slightly fragmentary ('GET /historical'), but every sentence carries actionable information.

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?

No output schema exists, and the description compensates by explaining that quotes are keyed by pair and how source+target compose. Failure modes and quota cost are covered; authentication requirements and error response shape are the only notable omissions.

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 the baseline is 3. The description adds pair-keying ('USDEUR') and hints that currency start dates constrain valid date/currency combinations, but it does not explain the source/currencies interaction or retry implications beyond what the schema already states.

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 ('Exchange rates for one past date'), the endpoint (GET /historical), and the data range (back to 1999), which cleanly separates it from live rates and timeframe rates among the siblings.

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

Usage Guidelines3/5

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

It says to use 'currencies' to limit the reply and warns that late-added currencies fail the whole request, but it never names a sibling (e.g. get_timeframe_rates) or explains when a single-date lookup is preferable to a range query. Usage is implied rather than routed.

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.