Skip to main content
Glama

Bi Id Exchange Rate

bi_id_exchange_rate
Read-onlyIdempotent

Bank Indonesia transaction exchange rates against the rupiah: buying and selling rate (IDR per one unit of the currency) for USD, EUR, JPY, GBP, AUD, CAD, CHF, CNY, HKD, KRW, MYR, SGD, THB, SAR and others (see bi_id_series_list). Latest by default, or "date", or start_date/end_date (max 366 days). The rate for a date is set from the previous business day's JISDOR. A date with no publication returns count 0 with an empty_reason.

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": "JPY",
      "end_date": "2026-11-13",
      "start_date": "2026-11-12"
    },
    "name": "bi_id_exchange_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
dateNoOne date, YYYY-MM-DD.
currencyNoISO currency code, e.g. "USD", "JPY", "SGD" (default "USD").
end_dateNoRange end, YYYY-MM-DD (default today).
start_dateNoRange start, YYYY-MM-DD (default 30 days before end_date).

Output Schema

NameRequiredDescriptionDefault
countNo
quoteNo
seriesNo
sourceNo
currencyNo
requestedNo
observationsNo
latest_observationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.3/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive/openWorld, so the bar is lower. The description still adds real behavior beyond them: the 366-day range limit, the JISDOR-derived lag in how a date's rate is set, and the empty-result contract (count 0 with empty_reason), which preempts confusion about missing publications.

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?

One dense paragraph, front-loaded with the resource and unit convention, then the input modes, then behavioral caveats. No filler sentences, though the currency enumeration could be trimmed since it is only illustrative and points elsewhere.

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?

An output schema exists and annotations cover the safety profile, so the description need not document return values. Remaining coverage (modes, range cap, JISDOR lag, empty results) is sufficient for correct invocation; only an explicit tie-break against bi_id_jisdor is missing.

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 baseline is 3; the description adds value by framing date vs start_date/end_date as exclusive modes and stating the 366-day maximum, plus that latest is the default when no date is given. Currency-list guidance is delegated to bi_id_series_list rather than repeated.

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: Bank Indonesia transaction exchange rates for buying/selling against IDR for a named currency list, with the rate expressed as IDR per one currency unit. It also routes to bi_id_series_list for the full currency list, so it is distinguishable from the sibling series/rate tools.

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

Usage Guidelines4/5

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

Gives clear operating modes: latest by default, single "date", or start_date/end_date with a 366-day cap. It does not explicitly say when to prefer bi_id_jisdor over this tool, but the note that a date's rate derives from the previous business day's JISDOR implies the relationship.

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.