Skip to main content
Glama

Numbers.sg: Singapore rates and prices

Singapore Savings Bond interest and returns

calculate_ssb_returns
Read-onlyIdempotent

Every interest payment on a Savings Bond, with its date and amount, to maturity or to an early redemption month (MAS’s coupon and accrued-interest sums), the total and the average return a year; with switch_to, keep the old bond or switch to a newer one, after the S$4 of fees. Worked out by the engine behind https://numbers.sg/tools/ssb-calculator/, with the rules used, their dates, sources and the official examples it matches. General information, not advice.

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

Input Schema

NameRequiredDescriptionDefault
bondNoThe bond: its issue code (GX26120A) or name (SBDEC26). Default: the newest bond MAS has announced.
amountNoAmount held in S$: multiples of 500, from 500 to 200000 (MAS’s limits).
redeemNoMonth the money comes back if redeemed early, YYYY-MM (after the issue month, before maturity). Default: held to maturity.
switch_toNoA later bond (code or name) to compare: keep the bond until it matures, or redeem it and buy this one, over the same months.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover safety (readOnly, idempotent, non-destructive, closed-world), so the description's added value is the computation provenance: the numbers.sg engine, the rules and their dates, cited sources, matched official examples, and the explicit "general information, not advice" caveat. It also discloses that the switch comparison is net of S$4 in fees, a behavioral detail found nowhere in the structured fields. It does not state precision/rounding or response shape, keeping it short of a 5.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

There is no filler, but the whole definition is one long semicolon-chained noun phrase rather than sentences, which makes it harder to parse and makes the switch_to clause easy to miss. Purpose is front-loaded, yet the structure hurts readability more than the length does.

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 does the work of saying what comes back: payments with dates and amounts, a total, an average annual return, and a keep-vs-switch comparison. Combined with provenance and the not-advice caveat, an agent has enough to call it and present results correctly; only precision and error conditions (e.g. invalid redeem month) are unstated.

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 schema already documents bond codes/names, amount multiples, redeem format and switch_to. The description still adds meaning the schema lacks: that the returned interest figures are MAS coupon and accrued-interest sums, and that switching results are computed after S$4 of fees — the latter materially changes how an agent should interpret and report the comparison.

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 deliverable: every interest payment with date and amount for a Savings Bond, through maturity or an early redemption month, plus total and average annual return, and optionally a hold-vs-switch comparison. That is clearly distinguishable from the other calculator siblings (CPF, income tax, stamp duty, take-home pay), which cover different domains.

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 content — this is the tool for Savings Bond cashflow/return modelling, and the switch_to clause describes an in-tool comparison mode. There is no explicit when-to-use statement, no when-not, and no reference to an alternative tool for a related question, so the agent must infer the routing.

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.