Skip to main content
Glama

Investember financial data

Exchange rate history

get_exchange_rate_history
Read-onlyIdempotent

Daily official reference rates of a currency pair between two dates (at most 366 days per request), oldest first.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "base": "<base>",
      "quote": "<quote>"
    },
    "name": "get_exchange_rate_history"
  }
}

Input Schema

NameRequiredDescriptionDefault
toNoLast day (YYYY-MM-DD). Default: today.
baseYesCurrency to convert from, ISO 4217 code.
fromNoFirst day (YYYY-MM-DD). Default: 30 days before `to`.
quoteYesCurrency to convert to, ISO 4217 code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive and closed-world, so the safety profile is covered. The description still earns credit for disclosing non-obvious behavior: daily granularity, official reference (not market-traded) rates, a 366-day maximum per request, and oldest-first ordering.

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?

A single sentence that front-loads what the tool returns, then the range limit, then the ordering. No redundant restatement of the tool name or title and nothing that could be cut.

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?

There is no output schema, and the description gives the agent enough to know the result is an ordered daily series; the 366-day cap prevents the obvious misuse. Minor gaps remain: what happens on weekends/holidays with no official rate, and what error surfaces if the range exceeds 366 days.

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 coverage is 100%, so the baseline would be 3, but the description adds a real constraint on from/to that the schema does not state: the window cannot exceed 366 days. It also frames base/quote together as a pair, clarifying that both are required together.

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?

States the resource precisely: daily official reference rates for a currency pair over a date range, with ordering (oldest first). An agent can tell this is the historical series tool rather than a single-spot lookup, though it never names get_exchange_rate or get_exchange_rates to make the distinction explicit.

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?

Usage is only implied by 'between two dates' and the 366-day cap; there is no sentence saying when to prefer this over a single-rate or multi-pair sibling. An agent must infer the routing from the tool name and description alone.

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