Skip to main content
Glama

Macau Fx Rates

macau_fx_rates
Read-onlyIdempotent

Daily interbank mid exchange rates for the Macau pataca (MOP / 澳門元) against ~17 currencies (USD, HKD, CNY, EUR, GBP, JPY, KRW, SGD, TWD, AUD, CHF and more), from AMCM, the Monetary Authority of Macao (澳門金融管理局). Returns one dated row per currency per Macau business day with mop_per_unit (MOP per unit, the headline rate; MOP is pegged to HKD at ~1.03) and the currency's own conventional market_quote. Defaults to the last 7 days ending on the most recent published date; pass begin/end (YYYY-MM-DD, up to ~1 year per call) for history and currency (e.g. "CNY" or "USD,HKD,CNY") to filter. Answers "MOP to USD exchange rate", "Macau pataca vs RMB last week", "澳門元匯率".

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": {},
    "name": "macau_fx_rates"
  }
}

Input Schema

NameRequiredDescriptionDefault
endNoEnd date, YYYY-MM-DD. Default: AMCM's most recent published date.
beginNoStart date, YYYY-MM-DD (or YYYYMMDD). Default: 6 days before `end`.
currencyNoOptional ISO currency code(s) to filter, comma-separated, e.g. "CNY" or "USD,HKD,EUR".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/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 useful behavior: one dated row per currency per Macau business day, a ~1-year-per-call limit, and what mop_per_unit and market_quote mean. It stops short of describing pagination or failure modes.

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?

The description is a single dense paragraph that front-loads the resource and source before defaults, parameters and example queries. It is information-rich with little waste, though the parenthetical pegging detail is slightly tangential.

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?

With no output schema, the description compensates by describing the returned fields (mop_per_unit, market_quote) and row granularity, and it covers all three optional parameters. Given a simple 3-parameter read tool, this is close to complete.

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 beyond the schema: it explains the default begin/end relationship, the up-to-~1-year range constraint, and gives concrete comma-separated currency filter examples ('CNY' or 'USD,HKD,CNY') matching the schema's format.

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?

The description names a specific verb and resource ('Daily interbank mid exchange rates for the Macau pataca'), gives the source (AMCM) and coverage (~17 currencies with examples), so an agent can distinguish it from sibling tools like macau_monia without opening the schema.

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?

It states the default window (last 7 days ending on the most recent published date) and how to get history or filter by currency, plus example queries it answers. It does not explicitly name when to prefer a sibling tool, but the context for use is clear.

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.