Skip to main content
Glama

Currencies: Rates on a date

fx_listRates
Read-onlyIdempotent

Rates on a date

Every currency's official rate on date (default: the latest bulletin). TCMB: the indicative forex and banknote buying/selling rates in TRY, published at 15:30 Istanbul time on business days. ECB: the euro reference rates, published around 16:00 CET. A date without a bulletin (weekend, holiday) answers the latest one before it; meta.date says which. Use for the official (central-bank reference) exchange rate — e.g. "what is the USD/TRY rate", the TCMB rate, or a rate on a past date. These are not a bank's own buying/selling prices: for what a bank charges, use the bank exchange rate tools.

GET /v1/fx/rates on Currencies (SBX-FX). Costs 1 credit per call.

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

Input Schema

NameRequiredDescriptionDefault
dateNoYYYY-MM-DD. Default: the latest bulletin.
sourceNo`tcmb` (default: Turkish central bank, TRY rates since 2005) or `ecb` (European Central Bank, EUR rates since 1999).tcmb
currenciesNoComma-separated ISO 4217 codes to include, e.g. USD,EUR.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Annotations already declare read-only/idempotent/non-destructive, and the description adds genuinely new behavior: 15:30 Istanbul and ~16:00 CET publication times, holiday/weekend fallback to the previous bulletin, `meta.date` as the signal of which bulletin was returned, and a cost of 1 credit per call. This is exactly the extra context annotations cannot carry.

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-loaded and dense: scope, source details, fallback semantics, use-case, exclusion, endpoint, and cost each get their own short unit. Minor waste in the opening line repeating the title and the source periods duplicating the schema.

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?

Covers everything an agent needs for a 3-optional-param read tool: source semantics, date defaulting, holiday fallback signaled via `meta.date`, exclusion to sibling tools, endpoint, and per-call cost. No output schema exists, but the description pre-emptively explains the one return field that matters for correctness.

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% and the description largely restates it — the default-date behavior and the tcmb/ecb meanings (TRY since 2005, EUR since 1999) are already in the schema descriptions. The only marginal add is tying `date` fallback behavior to the response, which is more behavioral than parameter-level.

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 resource and scope ('Every currency's official rate on `date`') and names both data sources (TCMB indicative forex/banknote rates in TRY, ECB euro reference rates). It also explicitly contrasts itself with the bank exchange rate siblings, so an agent can distinguish it 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 Guidelines5/5

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

Gives explicit when-to-use framing ('Use for the official (central-bank reference) exchange rate') with concrete example queries, plus an explicit exclusion routing to the bank rate tools for bank buy/sell prices. Both the selecting condition and the alternative are named.

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