Effective Rate
effective-rateConvert a nominal annual rate to the effective annual rate (APY) for a compounding frequency, or with toNominal recover the nominal rate from an APY.
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": {
"ratePct": "<ratePct>",
"periodsPerYear": "<periodsPerYear>"
},
"name": "effective-rate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ratePct | Yes | The rate in percent (nominal, or effective when toNominal is true). | |
| toNominal | No | false (default) returns the effective rate; true returns the nominal rate. | |
| periodsPerYear | Yes | Compounding periods per year (12 monthly, 365 daily). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nominalRatePct | No | Nominal rate, percent (when toNominal). | |
| effectiveRatePct | No | Effective annual rate (APY), percent. |