Skip to main content
Glama

Cbc Tw Exchange Rate

cbc_tw_exchange_rate
Read-onlyIdempotent

Currencies against the US dollar from the Taiwan central bank: NTD per USD (the Taiwan dollar rate), plus JPY, GBP, HKD, KRW, CAD, SGD, CNY, AUD, IDR, THB, MYR, PHP, EUR, VND. Daily (default), monthly or annual. Quote convention: GBP, AUD and EUR are USD per one unit; all others are units per one USD. Give "date" for one day, or "start_date"/"end_date", or last_n for the latest observations. A date with no published rate (weekend, holiday, or later than the latest published) is reported as such, not as an empty success.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "currency": "NTD",
      "end_date": "2026-10-30",
      "start_date": "2026-10-26"
    },
    "name": "cbc_tw_exchange_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoOne date: YYYY-MM-DD (daily), YYYY-MM (monthly) or YYYY (annual).
last_nNoLatest N observations (1-366, default 5). Ignored when date, start_date or end_date is given.
currencyNoCurrency code. Omit for every currency on each returned date.
end_dateNoRange end (inclusive), same format as date.
frequencyNoDefault "daily".
start_dateNoRange start (inclusive), same format as date.

Output Schema

NameRequiredDescriptionDefault
countNo
quoteNo
sourceNo
currencyNo
frequencyNo
observationsNo
latest_observationNo
table_last_updatedNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, and non-destructive, so the safety profile is covered. The description adds real behavioral context beyond that: the per-currency quote convention (GBP/AUD/EUR as USD per unit, others as units per USD) and the explicit statement that unpublished dates are reported as such rather than as an empty success.

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 with the resource and scope, then quote convention, then parameter selection, then edge-case behavior — a logical order with no filler. The inline list of 14 currency codes largely duplicates the enum and is the one mildly wasteful element.

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?

An output schema exists, so return values need no explanation; the description instead covers the things that schema cannot — quote direction per currency, frequency defaults, mutually exclusive date selectors, and the missing-date reporting behavior. Nothing an agent needs to call this correctly is absent.

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 is 3, but the description adds meaning the schema does not carry — notably the inverted quote convention for GBP, AUD and EUR, and the default daily frequency. It does not restate the date-format-per-frequency rules, which the schema already handles.

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 and resource (currencies against the US dollar from the Taiwan central bank) and enumerates the covered currencies, frequencies, and quote convention. It is clearly distinguishable from siblings like cbc_tw_policy_rate and cbc_tw_series_list.

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 explains how to select the time dimension — a single 'date', a 'start_date'/'end_date' range, or 'last_n' for the latest observations — which is useful invocation guidance. However, it never says when to prefer this tool over cbc_tw_table or cbc_tw_series_list, so the sibling routing is left to inference.

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.