Skip to main content
Glama
harvey619

hk-markets-mcp

by harvey619

USD/HKD peg status

get_peg_status
Read-only

Check the USD/HKD peg status by viewing the HKMA's convertibility undertaking levels and aggregate balance, showing where the band stands and whether intervention occurred.

Instructions

Where the Linked Exchange Rate System stands: the Convertibility Undertaking levels the HKMA commits to trade at, and the Aggregate Balance, which is the figure that actually shows whether it has been intervening. Note this dataset does not publish the spot USD/HKD rate, so this tool reports the band and the balance rather than guessing where spot sits.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
dateNoBusiness day to report, YYYY-MM-DD. Omit for the most recent published day.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteYesWhat this dataset does and does not say.
as_ofYesThe business day these figures are published for, YYYY-MM-DD.
sourceYesWhere the figures came from.
weak_sideYesHKMA buys HKD at this level, normally 7.85.
strong_sideYesHKMA sells HKD at this level, normally 7.75.
trade_weighted_indexYesTrade-weighted Hong Kong dollar index.
aggregate_balance_hkd_millionsYesClosing Aggregate Balance. It shrinks when the HKMA buys HKD defending the weak side.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, indicating the tool is read-only and may return unexpected data. The description adds behavioral context by stating that the tool reports the band and balance rather than guessing spot, and clarifies the dataset's scope. It doesn't contradict annotations.

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?

The description is concise, information-dense, and front-loaded with the purpose. Every sentence adds value: it defines the tool's scope, explains what it reports, and clearly states its limitations. No wasted words.

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 an output schema present and a single optional parameter, the description covers the key functional aspects: what the tool reports, its limitation regarding spot rates, and the optional date. It could be more complete by mentioning what output fields to expect, but the output schema likely covers that, so a 4 is appropriate.

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%, so the date parameter is fully documented with its pattern and meaning. The description reinforces the optional nature of the date but does not add additional semantic detail beyond the schema. Baseline 3 is appropriate since the schema does the heavy lifting.

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 clearly states the tool's purpose: to report on the Linked Exchange Rate System's Convertibility Undertaking levels and Aggregate Balance, specifically for the USD/HKD peg. It distinguishes itself from potential sibling tools that might report spot rates by explicitly noting that this dataset does not publish the spot rate.

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?

The description explains what the tool does not do (report spot USD/HKD rate) but does not explicitly name alternative tools for getting the spot rate or when to use them. Sibling tools like get_base_rate and get_hibor are different, but the description doesn't guide the agent to use them for spot rates. It does imply usage by stating the dataset's limitation.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools