Skip to main content
Glama

Bank Negara Malaysia FX & OPR Rates MCP

Get BNM MYR exchange rates

get_bnm_exchange_rates
Read-onlyIdempotent

Fetch official Bank Negara Malaysia reference exchange rates against Malaysian Ringgit (MYR), with optional session, quote convention, and currency filter.

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

Input Schema

NameRequiredDescriptionDefault
quoteNoQuote convention: "rm" (MYR per foreign unit) or "fx" (foreign per MYR).
sessionNoBNM daily fixing session in Kuala Lumpur time (e.g. "1130", "1700").
currenciesNoOptional list of ISO-3 currency codes to filter (e.g. ["USD", "EUR", "SGD", "JPY"]).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety is covered. The description adds that these are official BNM reference rates, which is meaningful provenance context, but it omits what date/period the returned rates cover — a real question for a tool with no date parameter — and says nothing about freshness or refresh cadence.

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?

A single front-loaded sentence naming the source, the resource and the optional filters, with no filler. It is dense but readable; a slightly longer form separating the filters could aid scanning, but nothing here is wasted.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description carries the burden of hinting at return shape, and it does not — an agent cannot tell whether the response is a flat list of currency/rate pairs, which convention is the default, or how the four sessions map into the result. Functional coverage of the inputs is adequate, but the output side is left unstated.

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% and both enums (quote, session) are documented in the schema, including the 'rm' vs 'fx' convention which is otherwise non-obvious. The description only restates the filter names and adds no syntax or default details beyond the schema, so the baseline of 3 applies.

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?

Names a specific verb and resource: 'Fetch official Bank Negara Malaysia reference exchange rates against Malaysian Ringgit (MYR)'. This is precise enough for an agent to know it retrieves published fixing rates. It does not, however, distinguish itself from the close sibling get_currency_rate_against_myr, leaving ambiguity about which rate source to pick.

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 description implies usage through the optional filters (session, quote convention, currency list), so an agent can infer that unfiltered calls return all rates. There is no explicit when-to-use or when-not-to-use guidance, and no mention of when the sibling rate tools are preferable.

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.