Skip to main content
Glama

currency-exchange

Rate history for a pair

rate_history

Call this tool for the ECB rate of one currency pair across a window. Returns one row per published day plus the min, max, average and the change. A window wider than the free 90 days is shortened, not refused.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesQuote currency of the pair. Each row is 1 from = X to
daysNoTrailing window in calendar days, default 30. Only TARGET business days carry a rate, so 30 days holds about 21 rows. Free reads up to 90 days back; Pro reads the whole series back to 1999-01-04
fromYesBase currency of the pair
to_dateNoISO date, inclusive, default today
max_rowsNoCap the table, default 200. min/max/avg still cover the whole window
from_dateNoISO date, inclusive. Overrides days. Free is limited to the last 90 days

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

All annotations are false, so the description carries the full burden of behavioral disclosure. It adds genuinely useful behavior: one row per published day, summary statistics, and an over-wide window being shortened rather than refused. It does not explicitly state that this is read-only, but the description gives no hint of mutation either.

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?

Three tight sentences, each earning its place: purpose, output shape, and edge-case behavior. The most important information is front-loaded, and there is no filler.

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?

With 6 parameters, no output schema, and no annotations, the description covers the core contract: what the tool returns, how it behaves on broad windows, and what data source it uses. It is slightly light on sibling differentiation and the exact meaning of 'change', but the rich input schema closes most remaining gaps.

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 the schema already documents all six parameters in detail. The description adds useful context about trailing windows and the free 90-day limit, but it does not provide parameter-level meaning beyond what the schema already covers. Baseline 3 is appropriate.

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?

The description states a specific verb-resource combination: 'ECB rate of one currency pair across a window.' It also names the exact return shape (daily rows plus min/max/avg/change), which clearly distinguishes it from siblings like rates_latest and rate_on. This is more than adequate for an agent to understand what the tool does.

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?

The opening line 'Call this tool for...' gives an implied usage context: historical rate queries with summary statistics. However, it never names alternatives or states when not to use this tool, so an agent must infer its position among siblings like rate_on and rates_latest.

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.