Skip to main content
Glama

Bank Negara Malaysia FX & OPR Rates MCP

Get BNM Overnight Policy Rate (OPR)

get_bnm_overnight_policy_rate
Read-onlyIdempotent

Fetch the latest Bank Negara Malaysia Overnight Policy Rate (OPR) decision, or all OPR decisions for a specific calendar year.

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_overnight_policy_rate"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoOptional calendar year (2004-2027) to retrieve full-year OPR decisions. Omit for latest.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.6/5.0
Behavior3/5

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

The annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=true, so the safety profile is fully covered without the description's help. The description adds only the latest-versus-full-year retrieval distinction, which is modest value beyond the schema. It says nothing about data freshness, update cadence, or what a 'decision' record contains.

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 well-formed sentence with the resource named up front and the two retrieval modes stated in the same breath. There is no filler, no repetition of the title, and nothing an agent must read twice.

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?

For a one-optional-parameter read-only tool with full annotation coverage, the description is essentially sufficient to call it correctly. The only gap is that with no output schema, the description could hint at the shape of an OPR decision (rate value, date, change in basis points), but this is a minor omission for a simple lookup.

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 single 'year' parameter is already documented with its 2004-2027 range and the 'omit for latest' behavior. The description's phrase 'for a specific calendar year' merely restates that, adding no new meaning. Baseline 3 is appropriate when the schema does the work.

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?

The description names a specific verb ('Fetch') and a specific resource ('Bank Negara Malaysia Overnight Policy Rate (OPR) decision'), which is unambiguous and clearly distinct from the sibling tools covering base lending rates, exchange rates, and interest-rate summaries. It falls short of a 5 only because it does not explicitly name or contrast with any sibling.

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 implies the two modes of use ('latest' versus 'all OPR decisions for a specific calendar year'), and the schema reinforces this with 'Omit for latest'. However, there is no explicit when-to-use statement, no mention of when to prefer the sibling interest-rate summary tool, and no guidance on cost or scope tradeoffs between the two modes.

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.