Skip to main content
Glama
hk-ipo-fee-mcp

hk-ipo-fee-mcp

hk_sell_costs

Calculate Hong Kong share selling costs, including stamp duty, trading, SFC, AFRC, commission, and platform fees, then get total charges and net proceeds.

Instructions

Costs of selling HK shares: stamp duty 0.1% (rounded up to HK$1), trading fee 0.00565%, SFC 0.0027%, AFRC 0.00015% (each to the cent) + broker commission/platform fee. Returns total and net proceeds.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "price": "<price>",
      "shares": "<shares>"
    },
    "name": "hk_sell_costs"
  }
}

Input Schema

NameRequiredDescriptionDefault
priceYes
sharesYes
platform_feeNo
min_commissionNo
commission_rateNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full burden, and it does disclose real behavior: the fee schedule, rounding conventions ('rounded up to HK$1', 'each to the cent'), and that totals and net proceeds are returned. It omits what happens when the optional commission/platform parameters are left at their zero defaults, and does not state currency or whether gross consideration is price × shares.

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?

Two sentences, front-loaded with the cost breakdown and closed with the return values; the dense rate list is the substance of the tool rather than filler. Only minor gain available from tighter phrasing of the rounding clauses.

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?

There is no output schema, no annotations, and only 2 of 5 parameters are required, yet the description says nothing about defaults or how the optional broker inputs interact. For a small deterministic calculator the fee/rounding/return coverage is decent, but the parameter behavior an agent needs to call it correctly is missing.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0% across five parameters whose only documentation is a bare title. The narrative hints at commission_rate and platform_fee via '+ broker commission/platform fee', but leaves min_commission (a commission floor) unexplained and never states whether commission_rate is a decimal fraction or a percentage.

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 resource (HK share sell-side costs) and enumerates the exact fee components plus 'Returns total and net proceeds', so an agent knows this is a cost calculator rather than a lookup. It is clearly distinguishable from the IPO-oriented siblings, though it never uses an explicit verb like 'calculate'.

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?

Usage is implied by the phrase 'Costs of selling HK shares' and by the fee-rate listing, which tells the agent this is the sell-side fee computation. There is no explicit when-to-use/when-not statement, no mention of a buy-side counterpart, and no note about prerequisites such as needing broker commission inputs.

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