io.github.VladimirWrites/nestegg-calculators is an MCP server published by io.github.VladimirWrites, hosted at nestegg.money. When last checked on 2026-11-23 it was working: it answers and lists its tools. It declares 99 tools, including amortization, loan-payoff, future-value, contributions, cagr.
90+ pure finance calculators: loans, investing, bonds, options, tax. Stateless, stores nothing.
Nothing else in the archive shares these values.
Monthly loan amortization schedule and summary. Supports dated extra principal payments and a rate-fixed period. detail controls output size: 'summary' (default) returns totals plus a per-year breakdown; 'monthly' returns the full schedule (paginate with offset/limit). Returns numbers and schedules; no advice.
| Parameter | Type | Description |
|---|---|---|
| mode * | string | Fix the term (compute the payment) or fix the payment (compute the term). |
| rate * | number | Annual interest rate in percent (6 = 6%). |
| extra | array | Optional dated extra principal payments. |
| limit | number |
None yet. Changes appear after a server's second daily check.
Squares are this server's values; dots are other servers sharing them. A shared address or publisher is a lead, not proof of a common operator.
Inferred from the host name and headers: what a server runs on, not who runs it.
| Max monthly rows when detail=monthly (default and maximum 360; page with nextOffset). |
| amount * | number | Loan principal. |
| detail | string | Output size. summary (default): totals + yearly breakdown. monthly: full schedule (use offset/limit to paginate). |
| offset | number | Monthly schedule start index when detail=monthly (default 0). |
| payment | number | Monthly payment, used when mode is 'payment'. |
| rateSteps | array | Optional rate changes (e.g. after a Zinsbindung). The installment is held; from each date the outstanding balance continues at the new annual rate. |
| startDate * | string | First payment month as an ISO date (YYYY-MM-DD). |
| termYears | number | Term in years, used when mode is 'term'. |
| fixedUntil | string | Optional. Rate is certain until this ISO date; beyond it the schedule is an estimate. |
{
"name": "amortization",
"title": "Amortization Schedule",
"description": "Monthly loan amortization schedule and summary. Supports dated extra principal payments and a rate-fixed period. detail controls output size: 'summary' (default) returns totals plus a per-year breakdown; 'monthly' returns the full schedule (paginate with offset/limit). Returns numbers and schedules; no advice.",
"inputSchema": {
"type": "object",
"required": [
"amount",
"rate",
"mode",
"startDate"
],
"properties": {
"mode": {
"enum": [
"term",
"payment"
],
"type": "string",
"description": "Fix the term (compute the payment) or fix the payment (compute the term)."
},
"rate": {
"type": "number",
"description": "Annual interest rate in percent (6 = 6%)."
},
"extra": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "ISO date."
},
"amount": {
"type": "number",
"description": "Extra principal."
}
}
},
"description": "Optional dated extra principal payments."
},
"limit": {
"type": "number",
"description": "Max monthly rows when detail=monthly (default and maximum 360; page with nextOffset)."
},
"amount": {
"type": "number",
"description": "Loan principal."
},
"detail": {
"enum": [
"summary",
"yearly",
"monthly"
],
"type": "string",
"description": "Output size. summary (default): totals + yearly breakdown. monthly: full schedule (use offset/limit to paginate)."
},
"offset": {
"type": "number",
"description": "Monthly schedule start index when detail=monthly (default 0)."
},
"payment": {
"type": "number",
"description": "Monthly payment, used when mode is 'payment'."
},
"rateSteps": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"rate"
],
"properties": {
"date": {
"type": "string",
"description": "ISO date the new rate starts."
},
"rate": {
"type": "number",
"description": "New annual rate in percent."
}
}
},
"description": "Optional rate changes (e.g. after a Zinsbindung). The installment is held; from each date the outstanding balance continues at the new annual rate."
},
"startDate": {
"type": "string",
"description": "First payment month as an ISO date (YYYY-MM-DD)."
},
"termYears": {
"type": "number",
"description": "Term in years, used when mode is 'term'."
},
"fixedUntil": {
"type": "string",
"description": "Optional. Rate is certain until this ISO date; beyond it the schedule is an estimate."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"yearly": {
"type": "array",
"description": "Per-year totals: { year, interest, principal, extra, payments, endBalance }."
},
"payments": {
"type": "number",
"description": "Number of payments made."
},
"schedule": {
"type": "array",
"description": "Monthly rows (only when detail=monthly)."
},
"totalPaid": {
"type": "number",
"description": "Total paid (incl. extras)."
},
"nextOffset": {
"type": "number",
"description": "Next pagination offset, or null."
},
"payoffDate": {
"type": "string",
"description": "Payoff date, ISO."
},
"scheduleTotal": {
"type": "number",
"description": "Total monthly rows (when detail=monthly)."
},
"totalInterest": {
"type": "number",
"description": "Total interest paid."
},
"monthlyPayment": {
"type": "number",
"description": "Monthly payment."
},
"scheduledMonths": {
"type": "number",
"description": "Scheduled months (null if open-ended)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Time and interest saved by paying a fixed extra amount every month on a loan, versus the baseline schedule.
| Parameter | Type | Description |
|---|---|---|
| mode * | string | Fix the term (compute the payment) or fix the payment (compute the term). |
| rate * | number | Annual interest rate in percent (6 = 6%). |
| extra | array | Optional dated extra principal payments. |
| amount * | number | Loan principal. |
| payment | number | Monthly payment, used when mode is 'payment'. |
| startDate * | string | First payment month as an ISO date (YYYY-MM-DD). |
| termYears | number | Term in years, used when mode is 'term'. |
| fixedUntil | string | Optional. Rate is certain until this ISO date; beyond it the schedule is an estimate. |
| extraMonthly * | number | Extra principal paid each month. |
{
"name": "loan-payoff",
"title": "Loan Payoff",
"description": "Time and interest saved by paying a fixed extra amount every month on a loan, versus the baseline schedule.",
"inputSchema": {
"type": "object",
"required": [
"amount",
"rate",
"mode",
"startDate",
"extraMonthly"
],
"properties": {
"mode": {
"enum": [
"term",
"payment"
],
"type": "string",
"description": "Fix the term (compute the payment) or fix the payment (compute the term)."
},
"rate": {
"type": "number",
"description": "Annual interest rate in percent (6 = 6%)."
},
"extra": {
"type": "array",
"items": {
"type": "object",
"properties": {
"date": {
"type": "string",
"description": "ISO date."
},
"amount": {
"type": "number",
"description": "Extra principal."
}
}
},
"description": "Optional dated extra principal payments."
},
"amount": {
"type": "number",
"description": "Loan principal."
},
"payment": {
"type": "number",
"description": "Monthly payment, used when mode is 'payment'."
},
"startDate": {
"type": "string",
"description": "First payment month as an ISO date (YYYY-MM-DD)."
},
"termYears": {
"type": "number",
"description": "Term in years, used when mode is 'term'."
},
"fixedUntil": {
"type": "string",
"description": "Optional. Rate is certain until this ISO date; beyond it the schedule is an estimate."
},
"extraMonthly": {
"type": "number",
"description": "Extra principal paid each month."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"baseline": {
"type": "object",
"description": "Baseline { months, totalInterest, payoffDate }."
},
"accelerated": {
"type": "object",
"description": "Accelerated { months, totalInterest, payoffDate }."
},
"monthsSaved": {
"type": "number",
"description": "Months saved."
},
"interestSaved": {
"type": "number",
"description": "Interest saved."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Future value of a single lump sum compounded annually.
| Parameter | Type | Description |
|---|---|---|
| years * | number | Number of years. |
| principal * | number | Starting amount. |
| annualRatePct * | number | Annual growth rate in percent. |
{
"name": "future-value",
"title": "Future Value",
"description": "Future value of a single lump sum compounded annually.",
"inputSchema": {
"type": "object",
"required": [
"principal",
"annualRatePct",
"years"
],
"properties": {
"years": {
"type": "number",
"description": "Number of years."
},
"principal": {
"type": "number",
"description": "Starting amount."
},
"annualRatePct": {
"type": "number",
"description": "Annual growth rate in percent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "Result value."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Future value of a fixed monthly contribution, optionally stepping up each year.
| Parameter | Type | Description |
|---|---|---|
| months * | number | Number of months. |
| monthly * | number | Monthly contribution. |
| annualRatePct * | number | Annual growth rate in percent. |
| contribGrowthPct | number | Optional. Contribution step-up percent per year. |
{
"name": "contributions",
"title": "Future Value of Contributions",
"description": "Future value of a fixed monthly contribution, optionally stepping up each year.",
"inputSchema": {
"type": "object",
"required": [
"monthly",
"annualRatePct",
"months"
],
"properties": {
"months": {
"type": "number",
"description": "Number of months."
},
"monthly": {
"type": "number",
"description": "Monthly contribution."
},
"annualRatePct": {
"type": "number",
"description": "Annual growth rate in percent."
},
"contribGrowthPct": {
"type": "number",
"description": "Optional. Contribution step-up percent per year."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "Result value."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Compound annual growth rate between two values over a number of years. Returns a decimal (0.07 means 7%).
| Parameter | Type | Description |
|---|---|---|
| end * | number | Ending value. |
| begin * | number | Starting value. |
| years * | number | Number of years. |
{
"name": "cagr",
"title": "CAGR",
"description": "Compound annual growth rate between two values over a number of years. Returns a decimal (0.07 means 7%).",
"inputSchema": {
"type": "object",
"required": [
"begin",
"end",
"years"
],
"properties": {
"end": {
"type": "number",
"description": "Ending value."
},
"begin": {
"type": "number",
"description": "Starting value."
},
"years": {
"type": "number",
"description": "Number of years."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "Result value."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Fraction of income saved (savings divided by income). Returns a decimal.
| Parameter | Type | Description |
|---|---|---|
| income * | number | Income. |
| savings * | number | Amount saved. |
{
"name": "savings-rate",
"title": "Savings Rate",
"description": "Fraction of income saved (savings divided by income). Returns a decimal.",
"inputSchema": {
"type": "object",
"required": [
"income",
"savings"
],
"properties": {
"income": {
"type": "number",
"description": "Income."
},
"savings": {
"type": "number",
"description": "Amount saved."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "Result value."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Convert an amount using a rate supplied by the caller (units of target currency per unit of source). No rate is ever looked up.
| Parameter | Type | Description |
|---|---|---|
| rate * | number | Rate: target units per source unit. |
| amount * | number | Amount to convert. |
{
"name": "fx-convert",
"title": "FX Convert",
"description": "Convert an amount using a rate supplied by the caller (units of target currency per unit of source). No rate is ever looked up.",
"inputSchema": {
"type": "object",
"required": [
"amount",
"rate"
],
"properties": {
"rate": {
"type": "number",
"description": "Rate: target units per source unit."
},
"amount": {
"type": "number",
"description": "Amount to convert."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "Result value."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Value after compounding down (or up) at a yearly percentage rate over a number of years. This is the method the app uses for long-term assets.
| Parameter | Type | Description |
|---|---|---|
| up | boolean | false depreciates, true appreciates. |
| value * | number | Starting value. |
| years * | number | Number of years. |
| annualRatePct * | number | Annual rate in percent. |
{
"name": "depreciate",
"title": "Depreciation",
"description": "Value after compounding down (or up) at a yearly percentage rate over a number of years. This is the method the app uses for long-term assets.",
"inputSchema": {
"type": "object",
"required": [
"value",
"annualRatePct",
"years"
],
"properties": {
"up": {
"type": "boolean",
"description": "false depreciates, true appreciates."
},
"value": {
"type": "number",
"description": "Starting value."
},
"years": {
"type": "number",
"description": "Number of years."
},
"annualRatePct": {
"type": "number",
"description": "Annual rate in percent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "Result value."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Straight-line depreciation: value falling evenly to a salvage value over a useful life.
| Parameter | Type | Description |
|---|---|---|
| value * | number | Starting value. |
| salvage * | number | Salvage value. |
| usefulYears * | number | Useful life in years. |
| yearsElapsed * | number | Years elapsed. |
{
"name": "straight-line-depreciation",
"title": "Straight-Line Depreciation",
"description": "Straight-line depreciation: value falling evenly to a salvage value over a useful life.",
"inputSchema": {
"type": "object",
"required": [
"value",
"salvage",
"usefulYears",
"yearsElapsed"
],
"properties": {
"value": {
"type": "number",
"description": "Starting value."
},
"salvage": {
"type": "number",
"description": "Salvage value."
},
"usefulYears": {
"type": "number",
"description": "Useful life in years."
},
"yearsElapsed": {
"type": "number",
"description": "Years elapsed."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "Result value."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}FIRE target nest egg from annual spend and a safe withdrawal rate (default 4%), plus the gap from today and the years to reach it given optional savings and growth. No advice.
| Parameter | Type | Description |
|---|---|---|
| annualSpend * | number | Yearly spending the nest egg must cover. |
| annualRatePct | number | Optional. Annual portfolio growth in percent (default 0). |
| currentNestEgg | number | Optional. Amount already saved (default 0). |
| withdrawalRatePct | number | Safe withdrawal rate in percent (default 4 = the 4% rule). |
| annualContribution | number | Optional. Amount saved per year (default 0). |
{
"name": "fire-number",
"title": "FIRE Number",
"description": "FIRE target nest egg from annual spend and a safe withdrawal rate (default 4%), plus the gap from today and the years to reach it given optional savings and growth. No advice.",
"inputSchema": {
"type": "object",
"required": [
"annualSpend"
],
"properties": {
"annualSpend": {
"type": "number",
"description": "Yearly spending the nest egg must cover."
},
"annualRatePct": {
"type": "number",
"description": "Optional. Annual portfolio growth in percent (default 0)."
},
"currentNestEgg": {
"type": "number",
"description": "Optional. Amount already saved (default 0)."
},
"withdrawalRatePct": {
"type": "number",
"description": "Safe withdrawal rate in percent (default 4 = the 4% rule)."
},
"annualContribution": {
"type": "number",
"description": "Optional. Amount saved per year (default 0)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"gap": {
"type": "number",
"description": "Gap from today."
},
"target": {
"type": "number",
"description": "Target nest egg."
},
"yearsToFI": {
"type": "number",
"description": "Years to FI (null if unreachable)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Inverse of contributions: the fixed monthly amount needed to reach a target future value over a number of months, given an optional starting balance.
| Parameter | Type | Description |
|---|---|---|
| months * | number | Number of months. |
| targetValue * | number | Future value goal. |
| presentValue | number | Optional. Starting balance (default 0). |
| annualRatePct * | number | Annual growth rate in percent. |
{
"name": "required-contribution",
"title": "Required Contribution",
"description": "Inverse of contributions: the fixed monthly amount needed to reach a target future value over a number of months, given an optional starting balance.",
"inputSchema": {
"type": "object",
"required": [
"targetValue",
"annualRatePct",
"months"
],
"properties": {
"months": {
"type": "number",
"description": "Number of months."
},
"targetValue": {
"type": "number",
"description": "Future value goal."
},
"presentValue": {
"type": "number",
"description": "Optional. Starting balance (default 0)."
},
"annualRatePct": {
"type": "number",
"description": "Annual growth rate in percent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"monthly": {
"type": "number",
"description": "Monthly contribution needed (null if horizon<=0)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Convert a nominal amount to today's purchasing power (real), or with toNominal inflate a real amount forward, at a given annual inflation rate.
| Parameter | Type | Description |
|---|---|---|
| years * | number | Number of years. |
| amount * | number | Amount to adjust. |
| toNominal | boolean | false (default) deflates nominal to real; true inflates real to nominal. |
| inflationRatePct * | number | Annual inflation rate in percent. |
{
"name": "inflation-adjust",
"title": "Inflation Adjust",
"description": "Convert a nominal amount to today's purchasing power (real), or with toNominal inflate a real amount forward, at a given annual inflation rate.",
"inputSchema": {
"type": "object",
"required": [
"amount",
"inflationRatePct",
"years"
],
"properties": {
"years": {
"type": "number",
"description": "Number of years."
},
"amount": {
"type": "number",
"description": "Amount to adjust."
},
"toNominal": {
"type": "boolean",
"description": "false (default) deflates nominal to real; true inflates real to nominal."
},
"inflationRatePct": {
"type": "number",
"description": "Annual inflation rate in percent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "Result value."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Convert a nominal annual rate to the effective annual rate (APY) for a compounding frequency, or with toNominal recover the nominal rate from an APY.
| Parameter | Type | Description |
|---|---|---|
| ratePct * | number | The rate in percent (nominal, or effective when toNominal is true). |
| toNominal | boolean | false (default) returns the effective rate; true returns the nominal rate. |
| periodsPerYear * | number | Compounding periods per year (12 monthly, 365 daily). |
{
"name": "effective-rate",
"title": "Effective Rate",
"description": "Convert a nominal annual rate to the effective annual rate (APY) for a compounding frequency, or with toNominal recover the nominal rate from an APY.",
"inputSchema": {
"type": "object",
"required": [
"ratePct",
"periodsPerYear"
],
"properties": {
"ratePct": {
"type": "number",
"description": "The rate in percent (nominal, or effective when toNominal is true)."
},
"toNominal": {
"type": "boolean",
"description": "false (default) returns the effective rate; true returns the nominal rate."
},
"periodsPerYear": {
"type": "number",
"description": "Compounding periods per year (12 monthly, 365 daily)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"nominalRatePct": {
"type": "number",
"description": "Nominal rate, percent (when toNominal)."
},
"effectiveRatePct": {
"type": "number",
"description": "Effective annual rate (APY), percent."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Net present value of a cashflow series (index 0 is today; outflows negative) discounted at a per-period rate.
| Parameter | Type | Description |
|---|---|---|
| cashflows * | array | Cashflows by period, starting at period 0. Outflows are negative. |
| discountRatePct * | number | Discount rate per period in percent. |
{
"name": "npv",
"title": "NPV",
"description": "Net present value of a cashflow series (index 0 is today; outflows negative) discounted at a per-period rate.",
"inputSchema": {
"type": "object",
"required": [
"cashflows",
"discountRatePct"
],
"properties": {
"cashflows": {
"type": "array",
"items": {
"type": "number"
},
"description": "Cashflows by period, starting at period 0. Outflows are negative."
},
"discountRatePct": {
"type": "number",
"description": "Discount rate per period in percent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"npv": {
"type": "number",
"description": "Net present value."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Internal rate of return: the per-period rate that zeroes the NPV of a cashflow series. Returns a percent, or null when the series never crosses zero.
| Parameter | Type | Description |
|---|---|---|
| cashflows * | array | Cashflows by period, starting at period 0. Outflows are negative. |
{
"name": "irr",
"title": "IRR",
"description": "Internal rate of return: the per-period rate that zeroes the NPV of a cashflow series. Returns a percent, or null when the series never crosses zero.",
"inputSchema": {
"type": "object",
"required": [
"cashflows"
],
"properties": {
"cashflows": {
"type": "array",
"items": {
"type": "number"
},
"description": "Cashflows by period, starting at period 0. Outflows are negative."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"irrPct": {
"type": "number",
"description": "Internal rate of return, percent (null if none)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Refinance break-even: monthly saving, whole months to recoup closing costs, and (if remainingMonths given) the net saving over the remaining term.
| Parameter | Type | Description |
|---|---|---|
| newPayment * | number | New monthly payment after refinancing. |
| closingCosts * | number | Upfront cost to refinance. |
| currentPayment * | number | Current monthly payment. |
| remainingMonths | number | Optional. Months left on the loan, for the lifetime saving. |
{
"name": "refi-breakeven",
"title": "Refinance Break-Even",
"description": "Refinance break-even: monthly saving, whole months to recoup closing costs, and (if remainingMonths given) the net saving over the remaining term.",
"inputSchema": {
"type": "object",
"required": [
"closingCosts",
"currentPayment",
"newPayment"
],
"properties": {
"newPayment": {
"type": "number",
"description": "New monthly payment after refinancing."
},
"closingCosts": {
"type": "number",
"description": "Upfront cost to refinance."
},
"currentPayment": {
"type": "number",
"description": "Current monthly payment."
},
"remainingMonths": {
"type": "number",
"description": "Optional. Months left on the loan, for the lifetime saving."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"monthlySaving": {
"type": "number",
"description": "Monthly saving."
},
"lifetimeSaving": {
"type": "number",
"description": "Net lifetime saving (null if no term)."
},
"breakevenMonths": {
"type": "number",
"description": "Whole months to recoup (null if no saving)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Months of runway: liquid savings divided by monthly expenses.
| Parameter | Type | Description |
|---|---|---|
| liquidSavings * | number | Cash and liquid savings on hand. |
| monthlyExpenses * | number | Total monthly expenses. |
{
"name": "emergency-fund",
"title": "Emergency Fund",
"description": "Months of runway: liquid savings divided by monthly expenses.",
"inputSchema": {
"type": "object",
"required": [
"liquidSavings",
"monthlyExpenses"
],
"properties": {
"liquidSavings": {
"type": "number",
"description": "Cash and liquid savings on hand."
},
"monthlyExpenses": {
"type": "number",
"description": "Total monthly expenses."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"months": {
"type": "number",
"description": "Months of runway (null if expenses<=0)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Maximum loan and home price the income supports: the DTI cap on gross monthly income (less existing debts) sets the payment, whose present value at the rate and term is the loan.
| Parameter | Type | Description |
|---|---|---|
| rate * | number | Annual interest rate in percent. |
| dtiPct * | number | Max share of gross monthly income for the payment, in percent (e.g. 36). |
| termYears * | number | Loan term in years. |
| downPayment | number | Optional. Cash down payment, added to the loan for the home price (default 0). |
| annualIncome * | number | Gross annual income. |
| monthlyDebts | number | Optional. Existing monthly debt payments (default 0). |
{
"name": "mortgage-affordability",
"title": "Mortgage Affordability",
"description": "Maximum loan and home price the income supports: the DTI cap on gross monthly income (less existing debts) sets the payment, whose present value at the rate and term is the loan.",
"inputSchema": {
"type": "object",
"required": [
"annualIncome",
"dtiPct",
"rate",
"termYears"
],
"properties": {
"rate": {
"type": "number",
"description": "Annual interest rate in percent."
},
"dtiPct": {
"type": "number",
"description": "Max share of gross monthly income for the payment, in percent (e.g. 36)."
},
"termYears": {
"type": "number",
"description": "Loan term in years."
},
"downPayment": {
"type": "number",
"description": "Optional. Cash down payment, added to the loan for the home price (default 0)."
},
"annualIncome": {
"type": "number",
"description": "Gross annual income."
},
"monthlyDebts": {
"type": "number",
"description": "Optional. Existing monthly debt payments (default 0)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"maxLoan": {
"type": "number",
"description": "Max loan."
},
"maxHomePrice": {
"type": "number",
"description": "Max home price."
},
"maxMonthlyPayment": {
"type": "number",
"description": "Max payment."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Multi-debt payoff plan under a fixed monthly budget. method 'avalanche' (highest rate first) minimizes interest; 'snowball' (smallest balance first) clears accounts soonest. Returns months, total interest, and payoff order; flags insolvent budgets.
| Parameter | Type | Description |
|---|---|---|
| debts * | array | The debts to pay off. |
| method | string | Payoff strategy (default avalanche). |
| monthlyBudget * | number | Total amount available across all debts each month. |
{
"name": "debt-payoff",
"title": "Debt Payoff",
"description": "Multi-debt payoff plan under a fixed monthly budget. method 'avalanche' (highest rate first) minimizes interest; 'snowball' (smallest balance first) clears accounts soonest. Returns months, total interest, and payoff order; flags insolvent budgets.",
"inputSchema": {
"type": "object",
"required": [
"debts",
"monthlyBudget"
],
"properties": {
"debts": {
"type": "array",
"items": {
"type": "object",
"required": [
"balance",
"rate",
"minPayment"
],
"properties": {
"name": {
"type": "string",
"description": "Optional label."
},
"rate": {
"type": "number",
"description": "Annual interest rate in percent."
},
"balance": {
"type": "number",
"description": "Current balance."
},
"minPayment": {
"type": "number",
"description": "Minimum monthly payment."
}
}
},
"description": "The debts to pay off."
},
"method": {
"enum": [
"avalanche",
"snowball"
],
"type": "string",
"description": "Payoff strategy (default avalanche)."
},
"monthlyBudget": {
"type": "number",
"description": "Total amount available across all debts each month."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"months": {
"type": "number",
"description": "Months to debt-free (null if insolvent)."
},
"insolvent": {
"type": "boolean",
"description": "True if the budget can't keep up."
},
"payoffOrder": {
"type": "array",
"description": "Debt names in payoff order."
},
"totalInterest": {
"type": "number",
"description": "Total interest (null if insolvent)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}How many years a balance lasts while withdrawing from it: the balance grows each year, then the withdrawal (optionally stepping up) is taken. Returns the depletion year, or sustainable=true when it outlasts 200 years.
| Parameter | Type | Description |
|---|---|---|
| balance * | number | Starting balance. |
| annualRatePct * | number | Annual portfolio growth in percent. |
| annualWithdrawal * | number | Amount withdrawn in the first year. |
| withdrawalGrowthPct | number | Optional. Yearly step-up of the withdrawal in percent (default 0). |
{
"name": "portfolio-longevity",
"title": "Portfolio Longevity",
"description": "How many years a balance lasts while withdrawing from it: the balance grows each year, then the withdrawal (optionally stepping up) is taken. Returns the depletion year, or sustainable=true when it outlasts 200 years.",
"inputSchema": {
"type": "object",
"required": [
"balance",
"annualWithdrawal",
"annualRatePct"
],
"properties": {
"balance": {
"type": "number",
"description": "Starting balance."
},
"annualRatePct": {
"type": "number",
"description": "Annual portfolio growth in percent."
},
"annualWithdrawal": {
"type": "number",
"description": "Amount withdrawn in the first year."
},
"withdrawalGrowthPct": {
"type": "number",
"description": "Optional. Yearly step-up of the withdrawal in percent (default 0)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"years": {
"type": "number",
"description": "Depletion year (null if sustainable)."
},
"sustainable": {
"type": "boolean",
"description": "True if it outlasts 200 years."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Present value of a single future amount discounted annually. The inverse of future-value.
| Parameter | Type | Description |
|---|---|---|
| years * | number | Number of years until the amount is received. |
| futureAmount * | number | Amount received in the future. |
| annualRatePct * | number | Annual discount rate in percent. |
{
"name": "present-value",
"title": "Present Value",
"description": "Present value of a single future amount discounted annually. The inverse of future-value.",
"inputSchema": {
"type": "object",
"required": [
"futureAmount",
"annualRatePct",
"years"
],
"properties": {
"years": {
"type": "number",
"description": "Number of years until the amount is received."
},
"futureAmount": {
"type": "number",
"description": "Amount received in the future."
},
"annualRatePct": {
"type": "number",
"description": "Annual discount rate in percent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"pv": {
"type": "number",
"description": "Present value."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Annual return needed to grow a starting value to a target over a number of years, optionally with a fixed annual contribution. With no contribution this equals CAGR. Returns a percent, or null when unreachable.
| Parameter | Type | Description |
|---|---|---|
| end * | number | Target ending value. |
| begin * | number | Starting value. |
| years * | number | Number of years. |
| annualContribution | number | Optional. Amount added each year (default 0). |
{
"name": "required-return",
"title": "Required Return",
"description": "Annual return needed to grow a starting value to a target over a number of years, optionally with a fixed annual contribution. With no contribution this equals CAGR. Returns a percent, or null when unreachable.",
"inputSchema": {
"type": "object",
"required": [
"begin",
"end",
"years"
],
"properties": {
"end": {
"type": "number",
"description": "Target ending value."
},
"begin": {
"type": "number",
"description": "Starting value."
},
"years": {
"type": "number",
"description": "Number of years."
},
"annualContribution": {
"type": "number",
"description": "Optional. Amount added each year (default 0)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"ratePct": {
"type": "number",
"description": "Annual rate, percent (null if unreachable)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Bond yield to maturity: the nominal annual yield that prices a bond at the given price, with periodic coupons and face returned at maturity. Solved numerically. Returns a percent, or null.
| Parameter | Type | Description |
|---|---|---|
| price * | number | Current bond price. |
| years * | number | Years to maturity. |
| faceValue * | number | Face (par) value repaid at maturity. |
| couponRatePct * | number | Annual coupon rate in percent of face. |
| periodsPerYear | number | Coupon periods per year (default 2 = semiannual). |
{
"name": "yield-to-maturity",
"title": "Yield to Maturity",
"description": "Bond yield to maturity: the nominal annual yield that prices a bond at the given price, with periodic coupons and face returned at maturity. Solved numerically. Returns a percent, or null.",
"inputSchema": {
"type": "object",
"required": [
"price",
"faceValue",
"couponRatePct",
"years"
],
"properties": {
"price": {
"type": "number",
"description": "Current bond price."
},
"years": {
"type": "number",
"description": "Years to maturity."
},
"faceValue": {
"type": "number",
"description": "Face (par) value repaid at maturity."
},
"couponRatePct": {
"type": "number",
"description": "Annual coupon rate in percent of face."
},
"periodsPerYear": {
"type": "number",
"description": "Coupon periods per year (default 2 = semiannual)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"yieldPct": {
"type": "number",
"description": "Nominal annual yield, percent (null if none)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Progressive tax from caller-supplied brackets. No jurisdiction, year, or rates are baked in: pass the brackets yourself. Returns total tax, effective rate, and marginal rate.
| Parameter | Type | Description |
|---|---|---|
| income * | number | Taxable income. |
| brackets * | array | Ordered tax bands. The final band may omit upTo to run to infinity. |
{
"name": "tax-from-brackets",
"title": "Tax from Brackets",
"description": "Progressive tax from caller-supplied brackets. No jurisdiction, year, or rates are baked in: pass the brackets yourself. Returns total tax, effective rate, and marginal rate.",
"inputSchema": {
"type": "object",
"required": [
"income",
"brackets"
],
"properties": {
"income": {
"type": "number",
"description": "Taxable income."
},
"brackets": {
"type": "array",
"items": {
"type": "object",
"required": [
"ratePct"
],
"properties": {
"upTo": {
"type": "number",
"description": "Upper bound of this band (omit on the top band)."
},
"ratePct": {
"type": "number",
"description": "Marginal rate for this band in percent."
}
}
},
"description": "Ordered tax bands. The final band may omit upTo to run to infinity."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"tax": {
"type": "number",
"description": "Total tax."
},
"marginalRatePct": {
"type": "number",
"description": "Marginal rate, percent."
},
"effectiveRatePct": {
"type": "number",
"description": "Effective rate, percent."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Convert between margin and markup. Supply any one of cost/price plus one of marginPct/markupPct (or both cost and price); returns cost, price, profit, marginPct, and markupPct.
| Parameter | Type | Description |
|---|---|---|
| cost | number | Unit cost. |
| price | number | Selling price. |
| marginPct | number | Profit as a percent of price. |
| markupPct | number | Profit as a percent of cost. |
{
"name": "margin-markup",
"title": "Margin & Markup",
"description": "Convert between margin and markup. Supply any one of cost/price plus one of marginPct/markupPct (or both cost and price); returns cost, price, profit, marginPct, and markupPct.",
"inputSchema": {
"type": "object",
"required": [],
"properties": {
"cost": {
"type": "number",
"description": "Unit cost."
},
"price": {
"type": "number",
"description": "Selling price."
},
"marginPct": {
"type": "number",
"description": "Profit as a percent of price."
},
"markupPct": {
"type": "number",
"description": "Profit as a percent of cost."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"cost": {
"type": "number",
"description": "Cost."
},
"price": {
"type": "number",
"description": "Price."
},
"profit": {
"type": "number",
"description": "Profit."
},
"marginPct": {
"type": "number",
"description": "Margin, percent."
},
"markupPct": {
"type": "number",
"description": "Markup, percent."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Compound growth at any frequency, with an optional contribution each period (paid at period end). Generalizes future-value (periodsPerYear 1) and contributions (periodsPerYear 12).
| Parameter | Type | Description |
|---|---|---|
| years * | number | Number of years. |
| principal * | number | Starting amount. |
| annualRatePct * | number | Annual growth rate in percent. |
| periodsPerYear | number | Compounding periods per year (default 1). |
| contributionPerPeriod | number | Optional. Amount added each period (default 0). |
{
"name": "compound-interest",
"title": "Compound Interest",
"description": "Compound growth at any frequency, with an optional contribution each period (paid at period end). Generalizes future-value (periodsPerYear 1) and contributions (periodsPerYear 12).",
"inputSchema": {
"type": "object",
"required": [
"principal",
"annualRatePct",
"years"
],
"properties": {
"years": {
"type": "number",
"description": "Number of years."
},
"principal": {
"type": "number",
"description": "Starting amount."
},
"annualRatePct": {
"type": "number",
"description": "Annual growth rate in percent."
},
"periodsPerYear": {
"type": "number",
"description": "Compounding periods per year (default 1)."
},
"contributionPerPeriod": {
"type": "number",
"description": "Optional. Amount added each period (default 0)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"value": {
"type": "number",
"description": "Result value."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}German net (Netto) salary from gross (Brutto). No tax tables are baked in: look up the current year's statutory figures and pass them in. Income tax (Lohnsteuer) and Soli are amounts; church tax is a percent of the income tax; the four employee social rates and the two contribution ceilings are inputs. Use consistent units (e.g. all annual).
| Parameter | Type | Description |
|---|---|---|
| soli | number | Solidarity surcharge (Solidaritätszuschlag) amount (often 0 below the threshold). |
| gross * | number | Gross salary (Brutto). |
| carePct | number | Employee long-term care (Pflegeversicherung) rate in percent. |
| healthPct | number | Employee health (Krankenversicherung incl. Zusatzbeitrag) rate in percent. |
| incomeTax | number | Income tax (Lohnsteuer) amount for the period — look up via the §32a / Steuerklasse tables. |
| pensionPct | number | Employee pension (Rentenversicherung) rate in percent (e.g. 9.3). |
| churchTaxPct | number | Church tax (Kirchensteuer) rate in percent of income tax (8 or 9, 0 if none). |
| healthCeiling | number | Contribution ceiling for health and care. |
| pensionCeiling | number | Contribution ceiling (Beitragsbemessungsgrenze) for pension and unemployment. |
| unemploymentPct | number | Employee unemployment (Arbeitslosenversicherung) rate in percent (e.g. 1.3). |
{
"name": "de-gross-to-net",
"title": "German Gross-to-Net (manual figures)",
"description": "German net (Netto) salary from gross (Brutto). No tax tables are baked in: look up the current year's statutory figures and pass them in. Income tax (Lohnsteuer) and Soli are amounts; church tax is a percent of the income tax; the four employee social rates and the two contribution ceilings are inputs. Use consistent units (e.g. all annual).",
"inputSchema": {
"type": "object",
"required": [
"gross"
],
"properties": {
"soli": {
"type": "number",
"description": "Solidarity surcharge (Solidaritätszuschlag) amount (often 0 below the threshold)."
},
"gross": {
"type": "number",
"description": "Gross salary (Brutto)."
},
"carePct": {
"type": "number",
"description": "Employee long-term care (Pflegeversicherung) rate in percent."
},
"healthPct": {
"type": "number",
"description": "Employee health (Krankenversicherung incl. Zusatzbeitrag) rate in percent."
},
"incomeTax": {
"type": "number",
"description": "Income tax (Lohnsteuer) amount for the period — look up via the §32a / Steuerklasse tables."
},
"pensionPct": {
"type": "number",
"description": "Employee pension (Rentenversicherung) rate in percent (e.g. 9.3)."
},
"churchTaxPct": {
"type": "number",
"description": "Church tax (Kirchensteuer) rate in percent of income tax (8 or 9, 0 if none)."
},
"healthCeiling": {
"type": "number",
"description": "Contribution ceiling for health and care."
},
"pensionCeiling": {
"type": "number",
"description": "Contribution ceiling (Beitragsbemessungsgrenze) for pension and unemployment."
},
"unemploymentPct": {
"type": "number",
"description": "Employee unemployment (Arbeitslosenversicherung) rate in percent (e.g. 1.3)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"net": {
"type": "number",
"description": "Net."
},
"soli": {
"type": "number",
"description": "Soli."
},
"gross": {
"type": "number",
"description": "Gross."
},
"churchTax": {
"type": "number",
"description": "Church tax."
},
"incomeTax": {
"type": "number",
"description": "Income tax."
},
"contributions": {
"type": "object",
"description": "{ pension, unemployment, health, care, total }."
},
"totalDeductions": {
"type": "number",
"description": "Total deductions."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Exact German net (Netto) salary from annual gross (Brutto) for tax years 2023-2026. Income tax and Soli follow the official BMF Programmablaufplan for the year (to the euro; 2024 uses the retroactive December tariff), church tax comes from the PAP's Kirchensteuer base, and employee social insurance uses that year's ceilings and rates (KV Zusatzbeitrag defaults to the year's average). Earlier years are rejected - use de-gross-to-net with self-supplied figures instead.
| Parameter | Type | Description |
|---|---|---|
| age | number | Optional. Age in years - under 23 skips the childless care surcharge. |
| year * | number | Tax year: 2023, 2024, 2025 or 2026. |
| faktor | number | Optional. Tax-class-4 Faktorverfahren factor, default 1.0 (no factor). Only the small minority of married IV/IV couples who applied for it have one; it is assigned by the Finanzamt and printed on the payslip / ELStAM (e.g. 0.921, always <= 1). Leave unset unless the payslip shows a Faktor. |
| children | number | Kinderfreibetrag counter (ZKF), halves allowed (default 0). Also drives the care-insurance child discounts. |
| taxClass | number | Steuerklasse 1-6 (default 1). |
| bundesland | string | Optional. State code (BW, BY, BE, ... SN, TH). Drives the Saxony care-insurance split and the pre-2025 East pension ceiling. |
| grossAnnual * | number | Annual gross salary (Brutto) in EUR. |
| kvZusatzPct | number | Optional. The Krankenkasse's own Zusatzbeitrag in percent — pass the actual rate for exact results (rates change yearly, e.g. TK 2025: 2.45, 2026: 2.69). Defaults to the year's official average, which is only right for generic estimates. |
| churchTaxPct | number | Church tax rate: 8, 9, or 0 for none (default 0). |
| privateHealth | object | |
| childrenUnder25 | number | Optional. Children under 25 for the care-insurance discounts, when it differs from `children`. |
{
"name": "de-net-salary",
"title": "German Net Salary (exact, by tax year)",
"description": "Exact German net (Netto) salary from annual gross (Brutto) for tax years 2023-2026. Income tax and Soli follow the official BMF Programmablaufplan for the year (to the euro; 2024 uses the retroactive December tariff), church tax comes from the PAP's Kirchensteuer base, and employee social insurance uses that year's ceilings and rates (KV Zusatzbeitrag defaults to the year's average). Earlier years are rejected - use de-gross-to-net with self-supplied figures instead.",
"inputSchema": {
"type": "object",
"required": [
"year",
"grossAnnual"
],
"properties": {
"age": {
"type": "number",
"description": "Optional. Age in years - under 23 skips the childless care surcharge."
},
"year": {
"type": "number",
"description": "Tax year: 2023, 2024, 2025 or 2026."
},
"faktor": {
"type": "number",
"description": "Optional. Tax-class-4 Faktorverfahren factor, default 1.0 (no factor). Only the small minority of married IV/IV couples who applied for it have one; it is assigned by the Finanzamt and printed on the payslip / ELStAM (e.g. 0.921, always <= 1). Leave unset unless the payslip shows a Faktor."
},
"children": {
"type": "number",
"description": "Kinderfreibetrag counter (ZKF), halves allowed (default 0). Also drives the care-insurance child discounts."
},
"taxClass": {
"type": "number",
"description": "Steuerklasse 1-6 (default 1)."
},
"bundesland": {
"type": "string",
"description": "Optional. State code (BW, BY, BE, ... SN, TH). Drives the Saxony care-insurance split and the pre-2025 East pension ceiling."
},
"grossAnnual": {
"type": "number",
"description": "Annual gross salary (Brutto) in EUR."
},
"kvZusatzPct": {
"type": "number",
"description": "Optional. The Krankenkasse's own Zusatzbeitrag in percent — pass the actual rate for exact results (rates change yearly, e.g. TK 2025: 2.45, 2026: 2.69). Defaults to the year's official average, which is only right for generic estimates."
},
"churchTaxPct": {
"type": "number",
"description": "Church tax rate: 8, 9, or 0 for none (default 0)."
},
"privateHealth": {
"type": "object",
"required": [
"premiumAnnual"
],
"properties": {
"premiumAnnual": {
"type": "number",
"description": "Annual private health+care premium in EUR."
}
},
"additionalProperties": false
},
"childrenUnder25": {
"type": "number",
"description": "Optional. Children under 25 for the care-insurance discounts, when it differs from `children`."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"net": {
"type": "object",
"description": "{ annual, monthly }."
},
"soli": {
"type": "number",
"description": "Solidaritätszuschlag."
},
"year": {
"type": "number",
"description": "Tax year."
},
"gross": {
"type": "object",
"description": "{ annual, monthly }."
},
"totalTax": {
"type": "number",
"description": "All taxes."
},
"churchTax": {
"type": "number",
"description": "Kirchensteuer."
},
"incomeTax": {
"type": "number",
"description": "Lohnsteuer (annual)."
},
"assumptions": {
"type": "object",
"description": "Inputs as applied (tax class, Zusatzbeitrag, PAP basis, ...)."
},
"contributions": {
"type": "object",
"description": "{ pension, unemployment, health, care, total, rates, ceilingsApplied }."
},
"totalDeductions": {
"type": "number",
"description": "Taxes + contributions."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}German flat tax on capital income (Abgeltungsteuer, §32d EStG) for tax years 2023-2026 with the year's Sparerpauschbetrag built in. 25% above the allowance, Soli 5.5% on top (no Freigrenze for capital income), and with church tax the statutory reduced rate (e.g. 24.45% at 9%) plus the church tax itself.
| Parameter | Type | Description |
|---|---|---|
| year * | number | Tax year: 2023, 2024, 2025 or 2026. |
| joint | boolean | true for jointly assessed couples (doubles the Sparerpauschbetrag). |
| churchTaxPct | number | Church tax rate: 8, 9, or 0 for none (default 0). |
| capitalIncome * | number | Annual capital income (interest, dividends, realized gains) in EUR. |
| foreignTaxCredit | number | Optional. Creditable foreign withholding tax (q in the §32d formula). |
{
"name": "de-abgeltungsteuer",
"title": "German Capital Gains Tax (Abgeltungsteuer)",
"description": "German flat tax on capital income (Abgeltungsteuer, §32d EStG) for tax years 2023-2026 with the year's Sparerpauschbetrag built in. 25% above the allowance, Soli 5.5% on top (no Freigrenze for capital income), and with church tax the statutory reduced rate (e.g. 24.45% at 9%) plus the church tax itself.",
"inputSchema": {
"type": "object",
"required": [
"year",
"capitalIncome"
],
"properties": {
"year": {
"type": "number",
"description": "Tax year: 2023, 2024, 2025 or 2026."
},
"joint": {
"type": "boolean",
"description": "true for jointly assessed couples (doubles the Sparerpauschbetrag)."
},
"churchTaxPct": {
"type": "number",
"description": "Church tax rate: 8, 9, or 0 for none (default 0)."
},
"capitalIncome": {
"type": "number",
"description": "Annual capital income (interest, dividends, realized gains) in EUR."
},
"foreignTaxCredit": {
"type": "number",
"description": "Optional. Creditable foreign withholding tax (q in the §32d formula)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"net": {
"type": "number",
"description": "Income after taxes."
},
"soli": {
"type": "number",
"description": "Soli (5.5%)."
},
"year": {
"type": "number",
"description": "Tax year."
},
"taxable": {
"type": "number",
"description": "Taxable after allowance."
},
"totalTax": {
"type": "number",
"description": "All taxes."
},
"allowance": {
"type": "number",
"description": "Sparerpauschbetrag applied."
},
"churchTax": {
"type": "number",
"description": "Church tax."
},
"incomeTax": {
"type": "number",
"description": "Flat tax (25% or church-reduced)."
},
"capitalIncome": {
"type": "number",
"description": "Income."
},
"effectiveRatePct": {
"type": "number",
"description": "Total tax / income, percent."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}German child benefit (Kindergeld) for 2023-2026: the year's flat monthly amount per child (uniform since 2023), as monthly and annual totals.
| Parameter | Type | Description |
|---|---|---|
| year * | number | Year: 2023, 2024, 2025 or 2026. |
| children | number | Number of children (default 1). |
{
"name": "de-kindergeld",
"title": "German Child Benefit (Kindergeld)",
"description": "German child benefit (Kindergeld) for 2023-2026: the year's flat monthly amount per child (uniform since 2023), as monthly and annual totals.",
"inputSchema": {
"type": "object",
"required": [
"year"
],
"properties": {
"year": {
"type": "number",
"description": "Year: 2023, 2024, 2025 or 2026."
},
"children": {
"type": "number",
"description": "Number of children (default 1)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"year": {
"type": "number",
"description": "Year."
},
"annual": {
"type": "number",
"description": "Total annual."
},
"monthly": {
"type": "number",
"description": "Total monthly."
},
"children": {
"type": "number",
"description": "Children."
},
"perChildMonthly": {
"type": "number",
"description": "Monthly amount per child."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}German Midijob / Uebergangsbereich (paragraph 20 Abs. 2a SGB IV) for 2023-2026: classifies a monthly pay as Minijob / Midijob / regular against the year's thresholds and, inside the Midijob band, computes the reduced contribution bases (Faktor F from the year's rates) and the employee vs employer social-insurance split.
| Parameter | Type | Description |
|---|---|---|
| age | number | Optional. Age - under 23 skips the childless care surcharge. |
| year * | number | Year: 2023, 2024, 2025 or 2026. |
| children | number | Children, for the care-insurance rate (default 0). |
| bundesland | string | Optional. State code; SN applies the Saxony care split. |
| monthlyPay * | number | Gross monthly pay in EUR. |
| kvZusatzPct | number | Optional. Krankenkasse Zusatzbeitrag in percent; defaults to the year's average. |
| childrenUnder25 | number | Optional. Children under 25 for the care discounts, when different. |
{
"name": "de-midijob",
"title": "German Midijob Contributions",
"description": "German Midijob / Uebergangsbereich (paragraph 20 Abs. 2a SGB IV) for 2023-2026: classifies a monthly pay as Minijob / Midijob / regular against the year's thresholds and, inside the Midijob band, computes the reduced contribution bases (Faktor F from the year's rates) and the employee vs employer social-insurance split.",
"inputSchema": {
"type": "object",
"required": [
"year",
"monthlyPay"
],
"properties": {
"age": {
"type": "number",
"description": "Optional. Age - under 23 skips the childless care surcharge."
},
"year": {
"type": "number",
"description": "Year: 2023, 2024, 2025 or 2026."
},
"children": {
"type": "number",
"description": "Children, for the care-insurance rate (default 0)."
},
"bundesland": {
"type": "string",
"description": "Optional. State code; SN applies the Saxony care split."
},
"monthlyPay": {
"type": "number",
"description": "Gross monthly pay in EUR."
},
"kvZusatzPct": {
"type": "number",
"description": "Optional. Krankenkasse Zusatzbeitrag in percent; defaults to the year's average."
},
"childrenUnder25": {
"type": "number",
"description": "Optional. Children under 25 for the care discounts, when different."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"year": {
"type": "number",
"description": "Year."
},
"zone": {
"type": "string",
"description": "minijob | midijob | regular | none."
},
"rates": {
"type": "object",
"description": "{ employee, total } percent rates."
},
"faktorF": {
"type": "number",
"description": "Faktor F (midijob only)."
},
"employee": {
"type": "object",
"description": "{ pension, unemployment, health, care, total }."
},
"employer": {
"type": "object",
"description": "{ total }."
},
"monthlyPay": {
"type": "number",
"description": "Pay."
},
"thresholds": {
"type": "object",
"description": "{ minijobMonthly, midijobUpper }."
},
"savingsVsFull": {
"type": "number",
"description": "Employee saving vs full contributions."
},
"contributionBase": {
"type": "object",
"description": "{ total, employee } reduced bases."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}German pension points (Entgeltpunkte, paragraph 63 SGB VI) for 2023-2026: points earned from an annual gross via the year's Durchschnittsentgelt (capped at the contribution ceiling), the aktueller Rentenwert for both halves of the year, and optionally the gross monthly state pension for a total point count.
| Parameter | Type | Description |
|---|---|---|
| year * | number | Year: 2023, 2024, 2025 or 2026. |
| bundesland | string | Optional. State code - East states use the East ceiling before 2025. |
| grossAnnual * | number | Annual insured gross salary in EUR. |
| totalPoints | number | Optional. Accumulated points, to project the gross monthly pension at today's Rentenwert. |
{
"name": "de-rentenpunkte",
"title": "German Pension Points (Rentenpunkte)",
"description": "German pension points (Entgeltpunkte, paragraph 63 SGB VI) for 2023-2026: points earned from an annual gross via the year's Durchschnittsentgelt (capped at the contribution ceiling), the aktueller Rentenwert for both halves of the year, and optionally the gross monthly state pension for a total point count.",
"inputSchema": {
"type": "object",
"required": [
"year",
"grossAnnual"
],
"properties": {
"year": {
"type": "number",
"description": "Year: 2023, 2024, 2025 or 2026."
},
"bundesland": {
"type": "string",
"description": "Optional. State code - East states use the East ceiling before 2025."
},
"grossAnnual": {
"type": "number",
"description": "Annual insured gross salary in EUR."
},
"totalPoints": {
"type": "number",
"description": "Optional. Accumulated points, to project the gross monthly pension at today's Rentenwert."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"year": {
"type": "number",
"description": "Year."
},
"points": {
"type": "number",
"description": "Points earned this year."
},
"projection": {
"type": "object",
"description": "{ totalPoints, monthlyPension, note } when totalPoints given."
},
"rentenwert": {
"type": "object",
"description": "{ janToJun, fromJuly } EUR per point per month."
},
"grossAnnual": {
"type": "number",
"description": "Gross."
},
"insuredGross": {
"type": "number",
"description": "Gross after the ceiling."
},
"ceilingApplied": {
"type": "boolean",
"description": "True if capped."
},
"maxPointsThisYear": {
"type": "number",
"description": "Ceiling / average."
},
"durchschnittsentgelt": {
"type": "number",
"description": "Average earnings divisor."
},
"monthlyPensionPerPoint": {
"type": "number",
"description": "Current EUR per point."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Value-added tax (MwSt/USt, sales tax) on a price. By default adds the tax to a net price; with inclusive=true treats the amount as gross and extracts the tax. The rate is always an input (19 or 7 for Germany, etc.).
| Parameter | Type | Description |
|---|---|---|
| amount * | number | The price. |
| ratePct * | number | VAT rate in percent (e.g. 19 or 7). |
| inclusive | boolean | false (default): amount is net, add the tax. true: amount is gross, extract the tax. |
{
"name": "vat",
"title": "VAT",
"description": "Value-added tax (MwSt/USt, sales tax) on a price. By default adds the tax to a net price; with inclusive=true treats the amount as gross and extracts the tax. The rate is always an input (19 or 7 for Germany, etc.).",
"inputSchema": {
"type": "object",
"required": [
"amount",
"ratePct"
],
"properties": {
"amount": {
"type": "number",
"description": "The price."
},
"ratePct": {
"type": "number",
"description": "VAT rate in percent (e.g. 19 or 7)."
},
"inclusive": {
"type": "boolean",
"description": "false (default): amount is net, add the tax. true: amount is gross, extract the tax."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"net": {
"type": "number",
"description": "Net price."
},
"tax": {
"type": "number",
"description": "Tax amount."
},
"gross": {
"type": "number",
"description": "Gross price."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Return on investment: total percent gain, plus the annualized rate when a holding period in years is given.
| Parameter | Type | Description |
|---|---|---|
| years | number | Optional. Holding period in years, for the annualized rate. |
| initial * | number | Amount invested. |
| finalValue * | number | Ending value. |
{
"name": "roi",
"title": "ROI",
"description": "Return on investment: total percent gain, plus the annualized rate when a holding period in years is given.",
"inputSchema": {
"type": "object",
"required": [
"initial",
"finalValue"
],
"properties": {
"years": {
"type": "number",
"description": "Optional. Holding period in years, for the annualized rate."
},
"initial": {
"type": "number",
"description": "Amount invested."
},
"finalValue": {
"type": "number",
"description": "Ending value."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"roiPct": {
"type": "number",
"description": "Total return, percent."
},
"annualizedPct": {
"type": "number",
"description": "Annualized return, percent (null if no years)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Real (inflation-adjusted) return from a nominal rate via the Fisher relation: (1+nominal)/(1+inflation) - 1.
| Parameter | Type | Description |
|---|---|---|
| nominalRatePct * | number | Nominal annual rate in percent. |
| inflationRatePct * | number | Annual inflation in percent. |
{
"name": "real-return",
"title": "Real Return",
"description": "Real (inflation-adjusted) return from a nominal rate via the Fisher relation: (1+nominal)/(1+inflation) - 1.",
"inputSchema": {
"type": "object",
"required": [
"nominalRatePct",
"inflationRatePct"
],
"properties": {
"nominalRatePct": {
"type": "number",
"description": "Nominal annual rate in percent."
},
"inflationRatePct": {
"type": "number",
"description": "Annual inflation in percent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"realPct": {
"type": "number",
"description": "Real return, percent."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Mean, sample variance, and sample standard deviation (n-1) of a series of returns. Pass percents to get a percent stdev (volatility).
| Parameter | Type | Description |
|---|---|---|
| returns * | array | The return series (e.g. yearly percents). |
{
"name": "return-stats",
"title": "Return Statistics",
"description": "Mean, sample variance, and sample standard deviation (n-1) of a series of returns. Pass percents to get a percent stdev (volatility).",
"inputSchema": {
"type": "object",
"required": [
"returns"
],
"properties": {
"returns": {
"type": "array",
"items": {
"type": "number"
},
"description": "The return series (e.g. yearly percents)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"mean": {
"type": "number",
"description": "Mean return."
},
"count": {
"type": "number",
"description": "Number of returns."
},
"stdev": {
"type": "number",
"description": "Sample stdev / volatility (null if <2)."
},
"variance": {
"type": "number",
"description": "Sample variance (null if <2)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Sharpe ratio: excess mean return per unit of volatility, (mean - riskFree) / stdev. Null when volatility is undefined or zero.
| Parameter | Type | Description |
|---|---|---|
| returns * | array | The return series (percents). |
| riskFreePct | number | Risk-free rate in the same unit (default 0). |
{
"name": "sharpe-ratio",
"title": "Sharpe Ratio",
"description": "Sharpe ratio: excess mean return per unit of volatility, (mean - riskFree) / stdev. Null when volatility is undefined or zero.",
"inputSchema": {
"type": "object",
"required": [
"returns"
],
"properties": {
"returns": {
"type": "array",
"items": {
"type": "number"
},
"description": "The return series (percents)."
},
"riskFreePct": {
"type": "number",
"description": "Risk-free rate in the same unit (default 0)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"sharpe": {
"type": "number",
"description": "Sharpe ratio (null if no volatility)."
},
"meanPct": {
"type": "number",
"description": "Mean return."
},
"stdevPct": {
"type": "number",
"description": "Volatility."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Maximum drawdown of a value series: the largest peak-to-trough decline, as a positive percent.
| Parameter | Type | Description |
|---|---|---|
| series * | array | Sequence of values (e.g. portfolio levels). |
{
"name": "max-drawdown",
"title": "Max Drawdown",
"description": "Maximum drawdown of a value series: the largest peak-to-trough decline, as a positive percent.",
"inputSchema": {
"type": "object",
"required": [
"series"
],
"properties": {
"series": {
"type": "array",
"items": {
"type": "number"
},
"description": "Sequence of values (e.g. portfolio levels)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"maxDrawdownPct": {
"type": "number",
"description": "Largest peak-to-trough decline, percent."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Holding-period return: (income + capital gain) / starting value, in percent.
| Parameter | Type | Description |
|---|---|---|
| income * | number | Income received over the period. |
| endValue * | number | Ending value. |
| beginValue * | number | Starting value. |
{
"name": "holding-period-return",
"title": "Holding Period Return",
"description": "Holding-period return: (income + capital gain) / starting value, in percent.",
"inputSchema": {
"type": "object",
"required": [
"income",
"endValue",
"beginValue"
],
"properties": {
"income": {
"type": "number",
"description": "Income received over the period."
},
"endValue": {
"type": "number",
"description": "Ending value."
},
"beginValue": {
"type": "number",
"description": "Starting value."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"hprPct": {
"type": "number",
"description": "Holding-period return, percent (null if begin=0)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Effect of an annual fee: the compounded balance at the gross rate vs net of the fee, and the amount lost to fees.
| Parameter | Type | Description |
|---|---|---|
| years * | number | Number of years. |
| feePct * | number | Annual fee in percent. |
| principal * | number | Starting amount. |
| grossAnnualPct * | number | Gross annual return in percent. |
{
"name": "fee-drag",
"title": "Fee Drag",
"description": "Effect of an annual fee: the compounded balance at the gross rate vs net of the fee, and the amount lost to fees.",
"inputSchema": {
"type": "object",
"required": [
"principal",
"grossAnnualPct",
"feePct",
"years"
],
"properties": {
"years": {
"type": "number",
"description": "Number of years."
},
"feePct": {
"type": "number",
"description": "Annual fee in percent."
},
"principal": {
"type": "number",
"description": "Starting amount."
},
"grossAnnualPct": {
"type": "number",
"description": "Gross annual return in percent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"net": {
"type": "number",
"description": "Net of fees."
},
"gross": {
"type": "number",
"description": "Gross balance."
},
"lostToFees": {
"type": "number",
"description": "Amount lost to fees."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Dollar-cost averaging: buying a fixed amount each period at the given prices. Returns units accumulated, total invested, average cost, and final value at the last price.
| Parameter | Type | Description |
|---|---|---|
| prices * | array | Price at each purchase period. |
| periodicInvestment * | number | Fixed amount invested each period. |
{
"name": "dollar-cost-averaging",
"title": "Dollar-Cost Averaging",
"description": "Dollar-cost averaging: buying a fixed amount each period at the given prices. Returns units accumulated, total invested, average cost, and final value at the last price.",
"inputSchema": {
"type": "object",
"required": [
"prices",
"periodicInvestment"
],
"properties": {
"prices": {
"type": "array",
"items": {
"type": "number"
},
"description": "Price at each purchase period."
},
"periodicInvestment": {
"type": "number",
"description": "Fixed amount invested each period."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"units": {
"type": "number",
"description": "Units accumulated."
},
"avgCost": {
"type": "number",
"description": "Average cost per unit (null if none)."
},
"invested": {
"type": "number",
"description": "Total invested."
},
"finalValue": {
"type": "number",
"description": "Value at the last price."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Price of a coupon bond given a yield: present value of the coupons plus the face at maturity.
| Parameter | Type | Description |
|---|---|---|
| years * | number | Years to maturity. |
| yieldPct * | number | Annual yield in percent. |
| faceValue * | number | Face (par) value. |
| couponRatePct * | number | Annual coupon rate in percent of face. |
| periodsPerYear | number | Coupon periods per year (default 2). |
{
"name": "bond-price",
"title": "Bond Price",
"description": "Price of a coupon bond given a yield: present value of the coupons plus the face at maturity.",
"inputSchema": {
"type": "object",
"required": [
"faceValue",
"couponRatePct",
"years",
"yieldPct"
],
"properties": {
"years": {
"type": "number",
"description": "Years to maturity."
},
"yieldPct": {
"type": "number",
"description": "Annual yield in percent."
},
"faceValue": {
"type": "number",
"description": "Face (par) value."
},
"couponRatePct": {
"type": "number",
"description": "Annual coupon rate in percent of face."
},
"periodsPerYear": {
"type": "number",
"description": "Coupon periods per year (default 2)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"price": {
"type": "number",
"description": "Bond price (null if degenerate)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Current yield: the annual coupon as a percent of the bond's current price.
| Parameter | Type | Description |
|---|---|---|
| price * | number | Current bond price. |
| faceValue * | number | Face value. |
| couponRatePct * | number | Annual coupon rate in percent of face. |
{
"name": "current-yield",
"title": "Current Yield",
"description": "Current yield: the annual coupon as a percent of the bond's current price.",
"inputSchema": {
"type": "object",
"required": [
"price",
"faceValue",
"couponRatePct"
],
"properties": {
"price": {
"type": "number",
"description": "Current bond price."
},
"faceValue": {
"type": "number",
"description": "Face value."
},
"couponRatePct": {
"type": "number",
"description": "Annual coupon rate in percent of face."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"currentYieldPct": {
"type": "number",
"description": "Current yield, percent (null if price<=0)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Macaulay duration (PV-weighted average time of cashflows, in years) and modified duration (price sensitivity to yield).
| Parameter | Type | Description |
|---|---|---|
| years * | number | Years to maturity. |
| yieldPct * | number | Annual yield in percent. |
| faceValue * | number | Face value. |
| couponRatePct * | number | Annual coupon rate in percent. |
| periodsPerYear | number | Coupon periods per year (default 2). |
{
"name": "bond-duration",
"title": "Bond Duration",
"description": "Macaulay duration (PV-weighted average time of cashflows, in years) and modified duration (price sensitivity to yield).",
"inputSchema": {
"type": "object",
"required": [
"faceValue",
"couponRatePct",
"years",
"yieldPct"
],
"properties": {
"years": {
"type": "number",
"description": "Years to maturity."
},
"yieldPct": {
"type": "number",
"description": "Annual yield in percent."
},
"faceValue": {
"type": "number",
"description": "Face value."
},
"couponRatePct": {
"type": "number",
"description": "Annual coupon rate in percent."
},
"periodsPerYear": {
"type": "number",
"description": "Coupon periods per year (default 2)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"macaulay": {
"type": "number",
"description": "Macaulay duration, years."
},
"modified": {
"type": "number",
"description": "Modified duration."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Bond convexity (years^2): the curvature of price with respect to yield, used alongside duration.
| Parameter | Type | Description |
|---|---|---|
| years * | number | Years to maturity. |
| yieldPct * | number | Annual yield in percent. |
| faceValue * | number | Face value. |
| couponRatePct * | number | Annual coupon rate in percent. |
| periodsPerYear | number | Coupon periods per year (default 2). |
{
"name": "convexity",
"title": "Bond Convexity",
"description": "Bond convexity (years^2): the curvature of price with respect to yield, used alongside duration.",
"inputSchema": {
"type": "object",
"required": [
"faceValue",
"couponRatePct",
"years",
"yieldPct"
],
"properties": {
"years": {
"type": "number",
"description": "Years to maturity."
},
"yieldPct": {
"type": "number",
"description": "Annual yield in percent."
},
"faceValue": {
"type": "number",
"description": "Face value."
},
"couponRatePct": {
"type": "number",
"description": "Annual coupon rate in percent."
},
"periodsPerYear": {
"type": "number",
"description": "Coupon periods per year (default 2)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"convexity": {
"type": "number",
"description": "Convexity, years^2."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Price of a zero-coupon bond: face value discounted to today at the yield.
| Parameter | Type | Description |
|---|---|---|
| years * | number | Years to maturity. |
| yieldPct * | number | Annual yield in percent. |
| faceValue * | number | Face value. |
| compoundingPerYear | number | Compounding periods per year (default 1). |
{
"name": "zero-coupon-price",
"title": "Zero-Coupon Price",
"description": "Price of a zero-coupon bond: face value discounted to today at the yield.",
"inputSchema": {
"type": "object",
"required": [
"faceValue",
"years",
"yieldPct"
],
"properties": {
"years": {
"type": "number",
"description": "Years to maturity."
},
"yieldPct": {
"type": "number",
"description": "Annual yield in percent."
},
"faceValue": {
"type": "number",
"description": "Face value."
},
"compoundingPerYear": {
"type": "number",
"description": "Compounding periods per year (default 1)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"price": {
"type": "number",
"description": "Zero-coupon price."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Accrued interest since the last coupon: the annual coupon pro-rated by days elapsed over the day-count basis.
| Parameter | Type | Description |
|---|---|---|
| faceValue * | number | Face value. |
| couponRatePct * | number | Annual coupon rate in percent. |
| dayCountBasis | number | Day-count basis (default 360). |
| daysSinceLastCoupon * | number | Days since the last coupon. |
{
"name": "accrued-interest",
"title": "Accrued Interest",
"description": "Accrued interest since the last coupon: the annual coupon pro-rated by days elapsed over the day-count basis.",
"inputSchema": {
"type": "object",
"required": [
"faceValue",
"couponRatePct",
"daysSinceLastCoupon"
],
"properties": {
"faceValue": {
"type": "number",
"description": "Face value."
},
"couponRatePct": {
"type": "number",
"description": "Annual coupon rate in percent."
},
"dayCountBasis": {
"type": "number",
"description": "Day-count basis (default 360)."
},
"daysSinceLastCoupon": {
"type": "number",
"description": "Days since the last coupon."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"accrued": {
"type": "number",
"description": "Accrued interest."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Black-Scholes price of a European call or put option, plus d1/d2. Volatility and rates in percent; optional continuous dividend yield.
| Parameter | Type | Description |
|---|---|---|
| spot * | number | Current underlying price. |
| type | string | Option type (default call). |
| years * | number | Time to expiry in years. |
| strike * | number | Strike price. |
| riskFreePct * | number | Risk-free rate in percent. |
| volatilityPct * | number | Annualized volatility in percent. |
| dividendYieldPct | number | Continuous dividend yield in percent (default 0). |
{
"name": "black-scholes",
"title": "Black-Scholes Option Price",
"description": "Black-Scholes price of a European call or put option, plus d1/d2. Volatility and rates in percent; optional continuous dividend yield.",
"inputSchema": {
"type": "object",
"required": [
"spot",
"strike",
"years",
"volatilityPct",
"riskFreePct"
],
"properties": {
"spot": {
"type": "number",
"description": "Current underlying price."
},
"type": {
"enum": [
"call",
"put"
],
"type": "string",
"description": "Option type (default call)."
},
"years": {
"type": "number",
"description": "Time to expiry in years."
},
"strike": {
"type": "number",
"description": "Strike price."
},
"riskFreePct": {
"type": "number",
"description": "Risk-free rate in percent."
},
"volatilityPct": {
"type": "number",
"description": "Annualized volatility in percent."
},
"dividendYieldPct": {
"type": "number",
"description": "Continuous dividend yield in percent (default 0)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"d1": {
"type": "number",
"description": "d1."
},
"d2": {
"type": "number",
"description": "d2."
},
"price": {
"type": "number",
"description": "Option price (null if degenerate)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Black-Scholes greeks for a European option: delta, gamma, vega (per 1% vol), theta (per day), rho (per 1% rate).
| Parameter | Type | Description |
|---|---|---|
| spot * | number | Current underlying price. |
| type | string | Option type (default call). |
| years * | number | Time to expiry in years. |
| strike * | number | Strike price. |
| riskFreePct * | number | Risk-free rate in percent. |
| volatilityPct * | number | Annualized volatility in percent. |
| dividendYieldPct | number | Continuous dividend yield in percent (default 0). |
{
"name": "option-greeks",
"title": "Option Greeks",
"description": "Black-Scholes greeks for a European option: delta, gamma, vega (per 1% vol), theta (per day), rho (per 1% rate).",
"inputSchema": {
"type": "object",
"required": [
"spot",
"strike",
"years",
"volatilityPct",
"riskFreePct"
],
"properties": {
"spot": {
"type": "number",
"description": "Current underlying price."
},
"type": {
"enum": [
"call",
"put"
],
"type": "string",
"description": "Option type (default call)."
},
"years": {
"type": "number",
"description": "Time to expiry in years."
},
"strike": {
"type": "number",
"description": "Strike price."
},
"riskFreePct": {
"type": "number",
"description": "Risk-free rate in percent."
},
"volatilityPct": {
"type": "number",
"description": "Annualized volatility in percent."
},
"dividendYieldPct": {
"type": "number",
"description": "Continuous dividend yield in percent (default 0)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"rho": {
"type": "number",
"description": "Rho per 1% rate."
},
"vega": {
"type": "number",
"description": "Vega per 1% vol."
},
"delta": {
"type": "number",
"description": "Delta."
},
"gamma": {
"type": "number",
"description": "Gamma."
},
"theta": {
"type": "number",
"description": "Theta per day."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Put-call parity: given one option price, returns both. Provide call or put, plus spot, strike, years, and the rate.
| Parameter | Type | Description |
|---|---|---|
| put | number | Put price (provide call or put). |
| call | number | Call price (provide call or put). |
| spot * | number | Underlying price. |
| years * | number | Time to expiry in years. |
| strike * | number | Strike price. |
| riskFreePct * | number | Risk-free rate in percent. |
| dividendYieldPct | number | Continuous dividend yield in percent (default 0). |
{
"name": "put-call-parity",
"title": "Put-Call Parity",
"description": "Put-call parity: given one option price, returns both. Provide call or put, plus spot, strike, years, and the rate.",
"inputSchema": {
"type": "object",
"required": [
"spot",
"strike",
"years",
"riskFreePct"
],
"properties": {
"put": {
"type": "number",
"description": "Put price (provide call or put)."
},
"call": {
"type": "number",
"description": "Call price (provide call or put)."
},
"spot": {
"type": "number",
"description": "Underlying price."
},
"years": {
"type": "number",
"description": "Time to expiry in years."
},
"strike": {
"type": "number",
"description": "Strike price."
},
"riskFreePct": {
"type": "number",
"description": "Risk-free rate in percent."
},
"dividendYieldPct": {
"type": "number",
"description": "Continuous dividend yield in percent (default 0)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"put": {
"type": "number",
"description": "Put price."
},
"call": {
"type": "number",
"description": "Call price."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Break-even underlying price at expiry: strike + premium for a call, strike - premium for a put.
| Parameter | Type | Description |
|---|---|---|
| type | string | Option type (default call). |
| strike * | number | Strike price. |
| premium * | number | Option premium paid. |
{
"name": "option-breakeven",
"title": "Option Break-Even",
"description": "Break-even underlying price at expiry: strike + premium for a call, strike - premium for a put.",
"inputSchema": {
"type": "object",
"required": [
"strike",
"premium"
],
"properties": {
"type": {
"enum": [
"call",
"put"
],
"type": "string",
"description": "Option type (default call)."
},
"strike": {
"type": "number",
"description": "Strike price."
},
"premium": {
"type": "number",
"description": "Option premium paid."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"breakeven": {
"type": "number",
"description": "Break-even underlying price."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Split an option premium into intrinsic value (in-the-money amount) and time value.
| Parameter | Type | Description |
|---|---|---|
| spot * | number | Underlying price. |
| type | string | Option type (default call). |
| strike * | number | Strike price. |
| premium * | number | Option premium. |
{
"name": "intrinsic-time-value",
"title": "Intrinsic & Time Value",
"description": "Split an option premium into intrinsic value (in-the-money amount) and time value.",
"inputSchema": {
"type": "object",
"required": [
"spot",
"strike",
"premium"
],
"properties": {
"spot": {
"type": "number",
"description": "Underlying price."
},
"type": {
"enum": [
"call",
"put"
],
"type": "string",
"description": "Option type (default call)."
},
"strike": {
"type": "number",
"description": "Strike price."
},
"premium": {
"type": "number",
"description": "Option premium."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"intrinsic": {
"type": "number",
"description": "Intrinsic value."
},
"timeValue": {
"type": "number",
"description": "Time value."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Present value of an ordinary annuity (level payment at each period end). rate is the per-period rate in percent.
| Parameter | Type | Description |
|---|---|---|
| payment * | number | Payment per period. |
| periods * | number | Number of periods. |
| ratePct * | number | Rate per period in percent. |
{
"name": "annuity-pv",
"title": "Annuity Present Value",
"description": "Present value of an ordinary annuity (level payment at each period end). rate is the per-period rate in percent.",
"inputSchema": {
"type": "object",
"required": [
"payment",
"ratePct",
"periods"
],
"properties": {
"payment": {
"type": "number",
"description": "Payment per period."
},
"periods": {
"type": "number",
"description": "Number of periods."
},
"ratePct": {
"type": "number",
"description": "Rate per period in percent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"pv": {
"type": "number",
"description": "Present value."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Future value of an ordinary annuity. rate is the per-period rate in percent.
| Parameter | Type | Description |
|---|---|---|
| payment * | number | Payment per period. |
| periods * | number | Number of periods. |
| ratePct * | number | Rate per period in percent. |
{
"name": "annuity-fv",
"title": "Annuity Future Value",
"description": "Future value of an ordinary annuity. rate is the per-period rate in percent.",
"inputSchema": {
"type": "object",
"required": [
"payment",
"ratePct",
"periods"
],
"properties": {
"payment": {
"type": "number",
"description": "Payment per period."
},
"periods": {
"type": "number",
"description": "Number of periods."
},
"ratePct": {
"type": "number",
"description": "Rate per period in percent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"fv": {
"type": "number",
"description": "Future value."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}The level payment that amortizes a present value over n periods (the loan-payment formula). rate is per period.
| Parameter | Type | Description |
|---|---|---|
| periods * | number | Number of periods. |
| ratePct * | number | Rate per period in percent. |
| presentValue * | number | Present value / principal. |
{
"name": "annuity-payment",
"title": "Annuity Payment",
"description": "The level payment that amortizes a present value over n periods (the loan-payment formula). rate is per period.",
"inputSchema": {
"type": "object",
"required": [
"presentValue",
"ratePct",
"periods"
],
"properties": {
"periods": {
"type": "number",
"description": "Number of periods."
},
"ratePct": {
"type": "number",
"description": "Rate per period in percent."
},
"presentValue": {
"type": "number",
"description": "Present value / principal."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"payment": {
"type": "number",
"description": "Level payment (null if periods<=0)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Present value of a level or growing perpetuity: payment / (rate - growth). Null when growth is not below the rate.
| Parameter | Type | Description |
|---|---|---|
| payment * | number | Periodic payment. |
| ratePct * | number | Discount rate in percent. |
| growthPct | number | Optional. Payment growth rate in percent (default 0). |
{
"name": "perpetuity",
"title": "Perpetuity",
"description": "Present value of a level or growing perpetuity: payment / (rate - growth). Null when growth is not below the rate.",
"inputSchema": {
"type": "object",
"required": [
"payment",
"ratePct"
],
"properties": {
"payment": {
"type": "number",
"description": "Periodic payment."
},
"ratePct": {
"type": "number",
"description": "Discount rate in percent."
},
"growthPct": {
"type": "number",
"description": "Optional. Payment growth rate in percent (default 0)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"pv": {
"type": "number",
"description": "Present value (null if growth>=rate)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Years to double: the rule-of-72 estimate (72/rate) and the exact figure (ln2 / ln(1+rate)).
| Parameter | Type | Description |
|---|---|---|
| ratePct * | number | Growth rate in percent. |
{
"name": "rule-of-72",
"title": "Rule of 72",
"description": "Years to double: the rule-of-72 estimate (72/rate) and the exact figure (ln2 / ln(1+rate)).",
"inputSchema": {
"type": "object",
"required": [
"ratePct"
],
"properties": {
"ratePct": {
"type": "number",
"description": "Growth rate in percent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"years72": {
"type": "number",
"description": "72/rate estimate."
},
"exactYears": {
"type": "number",
"description": "Exact doubling time."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Simple payback period: periods until cumulative cashflows recover the initial cost, interpolated within the crossing period. Null if never.
| Parameter | Type | Description |
|---|---|---|
| cashflows * | array | Inflow each period. |
| initialCost * | number | Upfront cost. |
{
"name": "payback-period",
"title": "Payback Period",
"description": "Simple payback period: periods until cumulative cashflows recover the initial cost, interpolated within the crossing period. Null if never.",
"inputSchema": {
"type": "object",
"required": [
"initialCost",
"cashflows"
],
"properties": {
"cashflows": {
"type": "array",
"items": {
"type": "number"
},
"description": "Inflow each period."
},
"initialCost": {
"type": "number",
"description": "Upfront cost."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"years": {
"type": "number",
"description": "Payback in periods (null if never)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Discounted payback period: like payback-period but each cashflow is discounted at the per-period rate.
| Parameter | Type | Description |
|---|---|---|
| ratePct * | number | Discount rate per period in percent. |
| cashflows * | array | Inflow each period. |
| initialCost * | number | Upfront cost. |
{
"name": "discounted-payback",
"title": "Discounted Payback",
"description": "Discounted payback period: like payback-period but each cashflow is discounted at the per-period rate.",
"inputSchema": {
"type": "object",
"required": [
"initialCost",
"cashflows",
"ratePct"
],
"properties": {
"ratePct": {
"type": "number",
"description": "Discount rate per period in percent."
},
"cashflows": {
"type": "array",
"items": {
"type": "number"
},
"description": "Inflow each period."
},
"initialCost": {
"type": "number",
"description": "Upfront cost."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"years": {
"type": "number",
"description": "Discounted payback in periods (null if never)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Modified internal rate of return: negatives financed at financeRate, positives reinvested at reinvestRate. Percents in and out.
| Parameter | Type | Description |
|---|---|---|
| cashflows * | array | Cashflows by period (index 0 today; outflows negative). |
| financeRatePct * | number | Finance rate in percent. |
| reinvestRatePct * | number | Reinvestment rate in percent. |
{
"name": "mirr",
"title": "MIRR",
"description": "Modified internal rate of return: negatives financed at financeRate, positives reinvested at reinvestRate. Percents in and out.",
"inputSchema": {
"type": "object",
"required": [
"cashflows",
"financeRatePct",
"reinvestRatePct"
],
"properties": {
"cashflows": {
"type": "array",
"items": {
"type": "number"
},
"description": "Cashflows by period (index 0 today; outflows negative)."
},
"financeRatePct": {
"type": "number",
"description": "Finance rate in percent."
},
"reinvestRatePct": {
"type": "number",
"description": "Reinvestment rate in percent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"mirrPct": {
"type": "number",
"description": "Modified IRR, percent (null if degenerate)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Date-aware net present value: each amount discounted by its fractional years (act/365) from the first cashflow's date. Annual rate in percent.
| Parameter | Type | Description |
|---|---|---|
| cashflows * | array | Dated cashflows; the first date is the valuation date. |
| annualRatePct * | number | Annual discount rate in percent. |
{
"name": "xnpv",
"title": "XNPV",
"description": "Date-aware net present value: each amount discounted by its fractional years (act/365) from the first cashflow's date. Annual rate in percent.",
"inputSchema": {
"type": "object",
"required": [
"cashflows",
"annualRatePct"
],
"properties": {
"cashflows": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"amount"
],
"properties": {
"date": {
"type": "string",
"description": "ISO date."
},
"amount": {
"type": "number",
"description": "Cashflow amount (outflows negative)."
}
}
},
"description": "Dated cashflows; the first date is the valuation date."
},
"annualRatePct": {
"type": "number",
"description": "Annual discount rate in percent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"npv": {
"type": "number",
"description": "Date-aware net present value."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Date-aware internal rate of return: the annual rate that zeroes the XNPV of irregular dated cashflows. Null if no rate fits.
| Parameter | Type | Description |
|---|---|---|
| cashflows * | array | Dated cashflows; the first date is the valuation date. |
{
"name": "xirr",
"title": "XIRR",
"description": "Date-aware internal rate of return: the annual rate that zeroes the XNPV of irregular dated cashflows. Null if no rate fits.",
"inputSchema": {
"type": "object",
"required": [
"cashflows"
],
"properties": {
"cashflows": {
"type": "array",
"items": {
"type": "object",
"required": [
"date",
"amount"
],
"properties": {
"date": {
"type": "string",
"description": "ISO date."
},
"amount": {
"type": "number",
"description": "Cashflow amount (outflows negative)."
}
}
},
"description": "Dated cashflows; the first date is the valuation date."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"xirrPct": {
"type": "number",
"description": "Date-aware IRR, percent (null if none)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Effective APR including upfront fees: the note-rate payment priced against the net proceeds (amount - fees). Annual percent.
| Parameter | Type | Description |
|---|---|---|
| fees | number | Optional. Upfront fees / points in currency (default 0). |
| amount * | number | Loan amount. |
| ratePct * | number | Note (nominal) annual rate in percent. |
| termMonths * | number | Term in months. |
{
"name": "loan-apr",
"title": "Loan APR",
"description": "Effective APR including upfront fees: the note-rate payment priced against the net proceeds (amount - fees). Annual percent.",
"inputSchema": {
"type": "object",
"required": [
"amount",
"ratePct",
"termMonths"
],
"properties": {
"fees": {
"type": "number",
"description": "Optional. Upfront fees / points in currency (default 0)."
},
"amount": {
"type": "number",
"description": "Loan amount."
},
"ratePct": {
"type": "number",
"description": "Note (nominal) annual rate in percent."
},
"termMonths": {
"type": "number",
"description": "Term in months."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"aprPct": {
"type": "number",
"description": "Effective APR, percent (null if degenerate)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Interest-only monthly payment on a balance.
| Parameter | Type | Description |
|---|---|---|
| amount * | number | Outstanding balance. |
| ratePct * | number | Annual rate in percent. |
{
"name": "interest-only-payment",
"title": "Interest-Only Payment",
"description": "Interest-only monthly payment on a balance.",
"inputSchema": {
"type": "object",
"required": [
"amount",
"ratePct"
],
"properties": {
"amount": {
"type": "number",
"description": "Outstanding balance."
},
"ratePct": {
"type": "number",
"description": "Annual rate in percent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"payment": {
"type": "number",
"description": "Monthly interest payment."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Balloon loan: payment based on a long amortization, with the balloon being the balance still due after the shorter balloon term.
| Parameter | Type | Description |
|---|---|---|
| amount * | number | Loan amount. |
| ratePct * | number | Annual rate in percent. |
| amortMonths * | number | Amortization basis in months. |
| balloonMonths * | number | Months until the balloon is due. |
{
"name": "balloon-loan",
"title": "Balloon Loan",
"description": "Balloon loan: payment based on a long amortization, with the balloon being the balance still due after the shorter balloon term.",
"inputSchema": {
"type": "object",
"required": [
"amount",
"ratePct",
"balloonMonths",
"amortMonths"
],
"properties": {
"amount": {
"type": "number",
"description": "Loan amount."
},
"ratePct": {
"type": "number",
"description": "Annual rate in percent."
},
"amortMonths": {
"type": "number",
"description": "Amortization basis in months."
},
"balloonMonths": {
"type": "number",
"description": "Months until the balloon is due."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"balloon": {
"type": "number",
"description": "Balloon balance due."
},
"payment": {
"type": "number",
"description": "Monthly payment."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Loan-to-value ratio, percent (loan / property value).
| Parameter | Type | Description |
|---|---|---|
| loanAmount * | number | Loan amount. |
| propertyValue * | number | Property value. |
{
"name": "ltv",
"title": "Loan-to-Value",
"description": "Loan-to-value ratio, percent (loan / property value).",
"inputSchema": {
"type": "object",
"required": [
"loanAmount",
"propertyValue"
],
"properties": {
"loanAmount": {
"type": "number",
"description": "Loan amount."
},
"propertyValue": {
"type": "number",
"description": "Property value."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"ltvPct": {
"type": "number",
"description": "Loan-to-value, percent (null if value<=0)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Debt-to-income ratio, percent (monthly debt / gross monthly income).
| Parameter | Type | Description |
|---|---|---|
| monthlyDebt * | number | Total monthly debt payments. |
| grossMonthlyIncome * | number | Gross monthly income. |
{
"name": "dti",
"title": "Debt-to-Income",
"description": "Debt-to-income ratio, percent (monthly debt / gross monthly income).",
"inputSchema": {
"type": "object",
"required": [
"monthlyDebt",
"grossMonthlyIncome"
],
"properties": {
"monthlyDebt": {
"type": "number",
"description": "Total monthly debt payments."
},
"grossMonthlyIncome": {
"type": "number",
"description": "Gross monthly income."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"dtiPct": {
"type": "number",
"description": "Debt-to-income, percent (null if income<=0)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Months to clear a credit-card balance at a fixed monthly payment, plus interest paid. Null when the payment can't cover the first month's interest.
| Parameter | Type | Description |
|---|---|---|
| aprPct * | number | Annual percentage rate in percent. |
| balance * | number | Current balance. |
| monthlyPayment * | number | Fixed monthly payment. |
{
"name": "credit-card-payoff",
"title": "Credit Card Payoff",
"description": "Months to clear a credit-card balance at a fixed monthly payment, plus interest paid. Null when the payment can't cover the first month's interest.",
"inputSchema": {
"type": "object",
"required": [
"balance",
"aprPct",
"monthlyPayment"
],
"properties": {
"aprPct": {
"type": "number",
"description": "Annual percentage rate in percent."
},
"balance": {
"type": "number",
"description": "Current balance."
},
"monthlyPayment": {
"type": "number",
"description": "Fixed monthly payment."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"months": {
"type": "number",
"description": "Months to clear (null if never)."
},
"totalPaid": {
"type": "number",
"description": "Total paid (null if never)."
},
"totalInterest": {
"type": "number",
"description": "Total interest (null if never)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Mortgage points break-even: the upfront cost to buy down the rate, the monthly payment saving, and the whole months to recoup it.
| Parameter | Type | Description |
|---|---|---|
| ratePct * | number | Base annual rate in percent. |
| pointsPct * | number | Points paid, percent of the loan. |
| loanAmount * | number | Loan amount. |
| termMonths * | number | Term in months. |
| reducedRatePct * | number | Reduced annual rate after buying points. |
{
"name": "points-breakeven",
"title": "Points Break-Even",
"description": "Mortgage points break-even: the upfront cost to buy down the rate, the monthly payment saving, and the whole months to recoup it.",
"inputSchema": {
"type": "object",
"required": [
"loanAmount",
"ratePct",
"termMonths",
"pointsPct",
"reducedRatePct"
],
"properties": {
"ratePct": {
"type": "number",
"description": "Base annual rate in percent."
},
"pointsPct": {
"type": "number",
"description": "Points paid, percent of the loan."
},
"loanAmount": {
"type": "number",
"description": "Loan amount."
},
"termMonths": {
"type": "number",
"description": "Term in months."
},
"reducedRatePct": {
"type": "number",
"description": "Reduced annual rate after buying points."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"cost": {
"type": "number",
"description": "Upfront cost of points."
},
"monthlySaving": {
"type": "number",
"description": "Monthly payment saving."
},
"breakevenMonths": {
"type": "number",
"description": "Whole months to recoup (null if no saving)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Biweekly mortgage acceleration: paying half the monthly payment every two weeks. Returns the biweekly payment and the months and interest saved.
| Parameter | Type | Description |
|---|---|---|
| amount * | number | Loan amount. |
| ratePct * | number | Annual rate in percent. |
| termMonths * | number | Original term in months. |
{
"name": "biweekly-payoff",
"title": "Biweekly Payoff",
"description": "Biweekly mortgage acceleration: paying half the monthly payment every two weeks. Returns the biweekly payment and the months and interest saved.",
"inputSchema": {
"type": "object",
"required": [
"amount",
"ratePct",
"termMonths"
],
"properties": {
"amount": {
"type": "number",
"description": "Loan amount."
},
"ratePct": {
"type": "number",
"description": "Annual rate in percent."
},
"termMonths": {
"type": "number",
"description": "Original term in months."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"monthsSaved": {
"type": "number",
"description": "Months saved."
},
"interestSaved": {
"type": "number",
"description": "Interest saved."
},
"biweeklyPayment": {
"type": "number",
"description": "Biweekly payment."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Capitalization rate: net operating income as a percent of property value.
| Parameter | Type | Description |
|---|---|---|
| noi * | number | Net operating income. |
| propertyValue * | number | Property value. |
{
"name": "cap-rate",
"title": "Cap Rate",
"description": "Capitalization rate: net operating income as a percent of property value.",
"inputSchema": {
"type": "object",
"required": [
"noi",
"propertyValue"
],
"properties": {
"noi": {
"type": "number",
"description": "Net operating income."
},
"propertyValue": {
"type": "number",
"description": "Property value."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"capRatePct": {
"type": "number",
"description": "Cap rate, percent (null if value<=0)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Cash-on-cash return: annual pre-tax cash flow as a percent of the cash invested.
| Parameter | Type | Description |
|---|---|---|
| cashInvested * | number | Cash invested. |
| annualCashFlow * | number | Annual pre-tax cash flow. |
{
"name": "cash-on-cash",
"title": "Cash-on-Cash Return",
"description": "Cash-on-cash return: annual pre-tax cash flow as a percent of the cash invested.",
"inputSchema": {
"type": "object",
"required": [
"annualCashFlow",
"cashInvested"
],
"properties": {
"cashInvested": {
"type": "number",
"description": "Cash invested."
},
"annualCashFlow": {
"type": "number",
"description": "Annual pre-tax cash flow."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"cashOnCashPct": {
"type": "number",
"description": "Cash-on-cash return, percent (null if invested<=0)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Net operating income: gross rental income less vacancy and operating expenses.
| Parameter | Type | Description |
|---|---|---|
| vacancyPct * | number | Vacancy rate in percent. |
| grossRentalIncome * | number | Gross annual rental income. |
| operatingExpenses * | number | Annual operating expenses. |
{
"name": "noi",
"title": "Net Operating Income",
"description": "Net operating income: gross rental income less vacancy and operating expenses.",
"inputSchema": {
"type": "object",
"required": [
"grossRentalIncome",
"vacancyPct",
"operatingExpenses"
],
"properties": {
"vacancyPct": {
"type": "number",
"description": "Vacancy rate in percent."
},
"grossRentalIncome": {
"type": "number",
"description": "Gross annual rental income."
},
"operatingExpenses": {
"type": "number",
"description": "Annual operating expenses."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"noi": {
"type": "number",
"description": "Net operating income."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Gross rent multiplier: price divided by gross annual rent.
| Parameter | Type | Description |
|---|---|---|
| price * | number | Purchase price. |
| grossAnnualRent * | number | Gross annual rent. |
{
"name": "gross-rent-multiplier",
"title": "Gross Rent Multiplier",
"description": "Gross rent multiplier: price divided by gross annual rent.",
"inputSchema": {
"type": "object",
"required": [
"price",
"grossAnnualRent"
],
"properties": {
"price": {
"type": "number",
"description": "Purchase price."
},
"grossAnnualRent": {
"type": "number",
"description": "Gross annual rent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"grm": {
"type": "number",
"description": "Gross rent multiplier (null if rent<=0)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Debt service coverage ratio: net operating income divided by annual debt service.
| Parameter | Type | Description |
|---|---|---|
| noi * | number | Net operating income. |
| annualDebtService * | number | Annual debt service. |
{
"name": "dscr",
"title": "Debt Service Coverage Ratio",
"description": "Debt service coverage ratio: net operating income divided by annual debt service.",
"inputSchema": {
"type": "object",
"required": [
"noi",
"annualDebtService"
],
"properties": {
"noi": {
"type": "number",
"description": "Net operating income."
},
"annualDebtService": {
"type": "number",
"description": "Annual debt service."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"dscr": {
"type": "number",
"description": "Debt service coverage ratio (null if debt<=0)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Weighted average cost of capital: equity and after-tax debt weighted by the capital structure. Percents in and out.
| Parameter | Type | Description |
|---|---|---|
| debt * | number | Market value of debt. |
| equity * | number | Market value of equity. |
| taxRatePct * | number | Tax rate in percent. |
| costDebtPct * | number | Cost of debt in percent. |
| costEquityPct * | number | Cost of equity in percent. |
{
"name": "wacc",
"title": "WACC",
"description": "Weighted average cost of capital: equity and after-tax debt weighted by the capital structure. Percents in and out.",
"inputSchema": {
"type": "object",
"required": [
"equity",
"debt",
"costEquityPct",
"costDebtPct",
"taxRatePct"
],
"properties": {
"debt": {
"type": "number",
"description": "Market value of debt."
},
"equity": {
"type": "number",
"description": "Market value of equity."
},
"taxRatePct": {
"type": "number",
"description": "Tax rate in percent."
},
"costDebtPct": {
"type": "number",
"description": "Cost of debt in percent."
},
"costEquityPct": {
"type": "number",
"description": "Cost of equity in percent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"waccPct": {
"type": "number",
"description": "WACC, percent (null if no capital)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Break-even volume: fixed costs divided by the per-unit contribution (price - variable cost), plus the revenue at that volume.
| Parameter | Type | Description |
|---|---|---|
| fixedCosts * | number | Total fixed costs. |
| pricePerUnit * | number | Selling price per unit. |
| variableCostPerUnit * | number | Variable cost per unit. |
{
"name": "break-even-units",
"title": "Break-Even Units",
"description": "Break-even volume: fixed costs divided by the per-unit contribution (price - variable cost), plus the revenue at that volume.",
"inputSchema": {
"type": "object",
"required": [
"fixedCosts",
"pricePerUnit",
"variableCostPerUnit"
],
"properties": {
"fixedCosts": {
"type": "number",
"description": "Total fixed costs."
},
"pricePerUnit": {
"type": "number",
"description": "Selling price per unit."
},
"variableCostPerUnit": {
"type": "number",
"description": "Variable cost per unit."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"units": {
"type": "number",
"description": "Break-even units (null if no contribution)."
},
"revenue": {
"type": "number",
"description": "Revenue at break-even (null if none)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Contribution margin per unit and as a percent of price.
| Parameter | Type | Description |
|---|---|---|
| pricePerUnit * | number | Selling price per unit. |
| variableCostPerUnit * | number | Variable cost per unit. |
{
"name": "contribution-margin",
"title": "Contribution Margin",
"description": "Contribution margin per unit and as a percent of price.",
"inputSchema": {
"type": "object",
"required": [
"pricePerUnit",
"variableCostPerUnit"
],
"properties": {
"pricePerUnit": {
"type": "number",
"description": "Selling price per unit."
},
"variableCostPerUnit": {
"type": "number",
"description": "Variable cost per unit."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"ratioPct": {
"type": "number",
"description": "Contribution margin ratio, percent (null if price=0)."
},
"contributionMargin": {
"type": "number",
"description": "Contribution per unit."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Current ratio: current assets over current liabilities.
| Parameter | Type | Description |
|---|---|---|
| currentAssets * | number | Current assets. |
| currentLiabilities * | number | Current liabilities. |
{
"name": "current-ratio",
"title": "Current Ratio",
"description": "Current ratio: current assets over current liabilities.",
"inputSchema": {
"type": "object",
"required": [
"currentAssets",
"currentLiabilities"
],
"properties": {
"currentAssets": {
"type": "number",
"description": "Current assets."
},
"currentLiabilities": {
"type": "number",
"description": "Current liabilities."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"currentRatio": {
"type": "number",
"description": "Current ratio (null if liabilities<=0)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Quick (acid-test) ratio: (current assets - inventory) over current liabilities.
| Parameter | Type | Description |
|---|---|---|
| inventory * | number | Inventory. |
| currentAssets * | number | Current assets. |
| currentLiabilities * | number | Current liabilities. |
{
"name": "quick-ratio",
"title": "Quick Ratio",
"description": "Quick (acid-test) ratio: (current assets - inventory) over current liabilities.",
"inputSchema": {
"type": "object",
"required": [
"currentAssets",
"inventory",
"currentLiabilities"
],
"properties": {
"inventory": {
"type": "number",
"description": "Inventory."
},
"currentAssets": {
"type": "number",
"description": "Current assets."
},
"currentLiabilities": {
"type": "number",
"description": "Current liabilities."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"quickRatio": {
"type": "number",
"description": "Quick ratio (null if liabilities<=0)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Return on equity, percent: net income over shareholders' equity.
| Parameter | Type | Description |
|---|---|---|
| equity * | number | Shareholders' equity. |
| netIncome * | number | Net income. |
{
"name": "roe",
"title": "Return on Equity",
"description": "Return on equity, percent: net income over shareholders' equity.",
"inputSchema": {
"type": "object",
"required": [
"netIncome",
"equity"
],
"properties": {
"equity": {
"type": "number",
"description": "Shareholders' equity."
},
"netIncome": {
"type": "number",
"description": "Net income."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"roePct": {
"type": "number",
"description": "Return on equity, percent (null if equity<=0)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Return on assets, percent: net income over total assets.
| Parameter | Type | Description |
|---|---|---|
| netIncome * | number | Net income. |
| totalAssets * | number | Total assets. |
{
"name": "roa",
"title": "Return on Assets",
"description": "Return on assets, percent: net income over total assets.",
"inputSchema": {
"type": "object",
"required": [
"netIncome",
"totalAssets"
],
"properties": {
"netIncome": {
"type": "number",
"description": "Net income."
},
"totalAssets": {
"type": "number",
"description": "Total assets."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"roaPct": {
"type": "number",
"description": "Return on assets, percent (null if assets<=0)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Declining-balance depreciation: a fixed percent of the reducing book value, for a given year. Returns that year's depreciation and the remaining book value.
| Parameter | Type | Description |
|---|---|---|
| year * | number | Year (1-based). |
| value * | number | Initial cost. |
| ratePct * | number | Annual depreciation rate in percent. |
{
"name": "declining-balance-depreciation",
"title": "Declining-Balance Depreciation",
"description": "Declining-balance depreciation: a fixed percent of the reducing book value, for a given year. Returns that year's depreciation and the remaining book value.",
"inputSchema": {
"type": "object",
"required": [
"value",
"ratePct",
"year"
],
"properties": {
"year": {
"type": "number",
"description": "Year (1-based)."
},
"value": {
"type": "number",
"description": "Initial cost."
},
"ratePct": {
"type": "number",
"description": "Annual depreciation rate in percent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"bookValue": {
"type": "number",
"description": "Book value at year end."
},
"depreciation": {
"type": "number",
"description": "Depreciation this year."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Double-declining-balance depreciation: 2/usefulYears of the book value each year, not falling below salvage.
| Parameter | Type | Description |
|---|---|---|
| year * | number | Year (1-based). |
| value * | number | Initial cost. |
| salvage | number | Salvage value (default 0). |
| usefulYears * | number | Useful life in years. |
{
"name": "double-declining-depreciation",
"title": "Double-Declining Depreciation",
"description": "Double-declining-balance depreciation: 2/usefulYears of the book value each year, not falling below salvage.",
"inputSchema": {
"type": "object",
"required": [
"value",
"usefulYears",
"year"
],
"properties": {
"year": {
"type": "number",
"description": "Year (1-based)."
},
"value": {
"type": "number",
"description": "Initial cost."
},
"salvage": {
"type": "number",
"description": "Salvage value (default 0)."
},
"usefulYears": {
"type": "number",
"description": "Useful life in years."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"bookValue": {
"type": "number",
"description": "Book value at year end."
},
"depreciation": {
"type": "number",
"description": "Depreciation this year."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Sum-of-the-years'-digits depreciation: the depreciable base weighted toward the early years.
| Parameter | Type | Description |
|---|---|---|
| year * | number | Year (1-based). |
| value * | number | Initial cost. |
| salvage * | number | Salvage value. |
| usefulYears * | number | Useful life in years. |
{
"name": "sum-of-years-digits",
"title": "Sum-of-Years' Digits Depreciation",
"description": "Sum-of-the-years'-digits depreciation: the depreciable base weighted toward the early years.",
"inputSchema": {
"type": "object",
"required": [
"value",
"salvage",
"usefulYears",
"year"
],
"properties": {
"year": {
"type": "number",
"description": "Year (1-based)."
},
"value": {
"type": "number",
"description": "Initial cost."
},
"salvage": {
"type": "number",
"description": "Salvage value."
},
"usefulYears": {
"type": "number",
"description": "Useful life in years."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"bookValue": {
"type": "number",
"description": "Book value at year end."
},
"depreciation": {
"type": "number",
"description": "Depreciation this year."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Units-of-production depreciation: the depreciable base spread over total expected units, charged by the units used this period.
| Parameter | Type | Description |
|---|---|---|
| value * | number | Initial cost. |
| salvage * | number | Salvage value. |
| totalUnits * | number | Total expected units over the life. |
| unitsThisPeriod * | number | Units produced this period. |
{
"name": "units-of-production-depreciation",
"title": "Units-of-Production Depreciation",
"description": "Units-of-production depreciation: the depreciable base spread over total expected units, charged by the units used this period.",
"inputSchema": {
"type": "object",
"required": [
"value",
"salvage",
"totalUnits",
"unitsThisPeriod"
],
"properties": {
"value": {
"type": "number",
"description": "Initial cost."
},
"salvage": {
"type": "number",
"description": "Salvage value."
},
"totalUnits": {
"type": "number",
"description": "Total expected units over the life."
},
"unitsThisPeriod": {
"type": "number",
"description": "Units produced this period."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"depreciation": {
"type": "number",
"description": "Depreciation this period (null if totalUnits<=0)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Net worth: assets minus liabilities.
| Parameter | Type | Description |
|---|---|---|
| assets * | number | Total assets. |
| liabilities * | number | Total liabilities. |
{
"name": "net-worth",
"title": "Net Worth",
"description": "Net worth: assets minus liabilities.",
"inputSchema": {
"type": "object",
"required": [
"assets",
"liabilities"
],
"properties": {
"assets": {
"type": "number",
"description": "Total assets."
},
"liabilities": {
"type": "number",
"description": "Total liabilities."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"netWorth": {
"type": "number",
"description": "Assets minus liabilities."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}The 50/30/20 budget split of monthly income into needs, wants, and savings.
| Parameter | Type | Description |
|---|---|---|
| monthlyIncome * | number | Monthly take-home income. |
{
"name": "budget-50-30-20",
"title": "50/30/20 Budget Split",
"description": "The 50/30/20 budget split of monthly income into needs, wants, and savings.",
"inputSchema": {
"type": "object",
"required": [
"monthlyIncome"
],
"properties": {
"monthlyIncome": {
"type": "number",
"description": "Monthly take-home income."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"needs": {
"type": "number",
"description": "50% needs."
},
"wants": {
"type": "number",
"description": "30% wants."
},
"savings": {
"type": "number",
"description": "20% savings."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Tip and split: the tip amount, the total, and the per-person share.
| Parameter | Type | Description |
|---|---|---|
| people | number | Number of people (default 1). |
| tipPct * | number | Tip in percent. |
| billAmount * | number | Bill amount. |
{
"name": "tip-split",
"title": "Tip Split",
"description": "Tip and split: the tip amount, the total, and the per-person share.",
"inputSchema": {
"type": "object",
"required": [
"billAmount",
"tipPct"
],
"properties": {
"people": {
"type": "number",
"description": "Number of people (default 1)."
},
"tipPct": {
"type": "number",
"description": "Tip in percent."
},
"billAmount": {
"type": "number",
"description": "Bill amount."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"tip": {
"type": "number",
"description": "Tip amount."
},
"total": {
"type": "number",
"description": "Total with tip."
},
"perPerson": {
"type": "number",
"description": "Per-person share."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}A single percentage discount: the amount off and the final price.
| Parameter | Type | Description |
|---|---|---|
| price * | number | Original price. |
| discountPct * | number | Discount in percent. |
{
"name": "discount",
"title": "Discount",
"description": "A single percentage discount: the amount off and the final price.",
"inputSchema": {
"type": "object",
"required": [
"price",
"discountPct"
],
"properties": {
"price": {
"type": "number",
"description": "Original price."
},
"discountPct": {
"type": "number",
"description": "Discount in percent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"discount": {
"type": "number",
"description": "Amount off."
},
"finalPrice": {
"type": "number",
"description": "Final price."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Stacked discounts applied in order: the final price and the effective single discount rate.
| Parameter | Type | Description |
|---|---|---|
| price * | number | Original price. |
| discountsPct * | array | Discounts in percent, applied in order. |
{
"name": "successive-discounts",
"title": "Successive Discounts",
"description": "Stacked discounts applied in order: the final price and the effective single discount rate.",
"inputSchema": {
"type": "object",
"required": [
"price",
"discountsPct"
],
"properties": {
"price": {
"type": "number",
"description": "Original price."
},
"discountsPct": {
"type": "array",
"items": {
"type": "number"
},
"description": "Discounts in percent, applied in order."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"finalPrice": {
"type": "number",
"description": "Final price."
},
"effectivePct": {
"type": "number",
"description": "Effective single discount, percent (null if price=0)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Percentage change from one value to another. Null when the starting value is zero.
| Parameter | Type | Description |
|---|---|---|
| to * | number | Ending value. |
| from * | number | Starting value. |
{
"name": "percentage-change",
"title": "Percentage Change",
"description": "Percentage change from one value to another. Null when the starting value is zero.",
"inputSchema": {
"type": "object",
"required": [
"from",
"to"
],
"properties": {
"to": {
"type": "number",
"description": "Ending value."
},
"from": {
"type": "number",
"description": "Starting value."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"changePct": {
"type": "number",
"description": "Percentage change (null if from=0)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Unit price: price divided by quantity (for comparing pack sizes). Null when quantity is zero.
| Parameter | Type | Description |
|---|---|---|
| price * | number | Price. |
| quantity * | number | Quantity / size. |
{
"name": "unit-price",
"title": "Unit Price",
"description": "Unit price: price divided by quantity (for comparing pack sizes). Null when quantity is zero.",
"inputSchema": {
"type": "object",
"required": [
"price",
"quantity"
],
"properties": {
"price": {
"type": "number",
"description": "Price."
},
"quantity": {
"type": "number",
"description": "Quantity / size."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"unitPrice": {
"type": "number",
"description": "Price per unit (null if quantity=0)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Annualize an hourly rate (and the monthly equivalent).
| Parameter | Type | Description |
|---|---|---|
| hourlyRate * | number | Hourly rate. |
| hoursPerWeek | number | Hours per week (default 40). |
| weeksPerYear | number | Weeks per year (default 52). |
{
"name": "hourly-to-salary",
"title": "Hourly to Salary",
"description": "Annualize an hourly rate (and the monthly equivalent).",
"inputSchema": {
"type": "object",
"required": [
"hourlyRate"
],
"properties": {
"hourlyRate": {
"type": "number",
"description": "Hourly rate."
},
"hoursPerWeek": {
"type": "number",
"description": "Hours per week (default 40)."
},
"weeksPerYear": {
"type": "number",
"description": "Weeks per year (default 52)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"annual": {
"type": "number",
"description": "Annual salary."
},
"monthly": {
"type": "number",
"description": "Monthly equivalent."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Hourly rate implied by an annual salary.
| Parameter | Type | Description |
|---|---|---|
| annualSalary * | number | Annual salary. |
| hoursPerWeek | number | Hours per week (default 40). |
| weeksPerYear | number | Weeks per year (default 52). |
{
"name": "salary-to-hourly",
"title": "Salary to Hourly",
"description": "Hourly rate implied by an annual salary.",
"inputSchema": {
"type": "object",
"required": [
"annualSalary"
],
"properties": {
"annualSalary": {
"type": "number",
"description": "Annual salary."
},
"hoursPerWeek": {
"type": "number",
"description": "Hours per week (default 40)."
},
"weeksPerYear": {
"type": "number",
"description": "Weeks per year (default 52)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"hourly": {
"type": "number",
"description": "Hourly rate (null if hours<=0)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}After-tax yield: a yield reduced by the tax rate. Percents in and out.
| Parameter | Type | Description |
|---|---|---|
| yieldPct * | number | Pre-tax yield in percent. |
| taxRatePct * | number | Tax rate in percent. |
{
"name": "after-tax-yield",
"title": "After-Tax Yield",
"description": "After-tax yield: a yield reduced by the tax rate. Percents in and out.",
"inputSchema": {
"type": "object",
"required": [
"yieldPct",
"taxRatePct"
],
"properties": {
"yieldPct": {
"type": "number",
"description": "Pre-tax yield in percent."
},
"taxRatePct": {
"type": "number",
"description": "Tax rate in percent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"afterTaxPct": {
"type": "number",
"description": "After-tax yield, percent."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Tax-equivalent yield: the taxable yield that matches a tax-free (e.g. muni) yield. Percents in and out.
| Parameter | Type | Description |
|---|---|---|
| taxRatePct * | number | Marginal tax rate in percent. |
| taxFreeYieldPct * | number | Tax-free yield in percent. |
{
"name": "tax-equivalent-yield",
"title": "Tax-Equivalent Yield",
"description": "Tax-equivalent yield: the taxable yield that matches a tax-free (e.g. muni) yield. Percents in and out.",
"inputSchema": {
"type": "object",
"required": [
"taxFreeYieldPct",
"taxRatePct"
],
"properties": {
"taxRatePct": {
"type": "number",
"description": "Marginal tax rate in percent."
},
"taxFreeYieldPct": {
"type": "number",
"description": "Tax-free yield in percent."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"taxEquivalentPct": {
"type": "number",
"description": "Tax-equivalent yield, percent (null if tax>=100%)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Coast FIRE: whether the current nest egg, left to grow untouched to retirement, already reaches the FIRE target. Returns the target, the projected balance, whether it coasts, and any shortfall.
| Parameter | Type | Description |
|---|---|---|
| annualSpend * | number | Yearly spending in retirement. |
| annualRatePct * | number | Expected annual growth in percent. |
| currentNestEgg * | number | Amount invested today. |
| withdrawalRatePct | number | Safe withdrawal rate in percent (default 4). |
| yearsToRetirement * | number | Years until retirement. |
{
"name": "coast-fire",
"title": "Coast FIRE",
"description": "Coast FIRE: whether the current nest egg, left to grow untouched to retirement, already reaches the FIRE target. Returns the target, the projected balance, whether it coasts, and any shortfall.",
"inputSchema": {
"type": "object",
"required": [
"currentNestEgg",
"annualRatePct",
"yearsToRetirement",
"annualSpend"
],
"properties": {
"annualSpend": {
"type": "number",
"description": "Yearly spending in retirement."
},
"annualRatePct": {
"type": "number",
"description": "Expected annual growth in percent."
},
"currentNestEgg": {
"type": "number",
"description": "Amount invested today."
},
"withdrawalRatePct": {
"type": "number",
"description": "Safe withdrawal rate in percent (default 4)."
},
"yearsToRetirement": {
"type": "number",
"description": "Years until retirement."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"gap": {
"type": "number",
"description": "Shortfall in future-value terms."
},
"projected": {
"type": "number",
"description": "Projected balance at retirement."
},
"fireTarget": {
"type": "number",
"description": "FIRE target."
},
"isCoasting": {
"type": "boolean",
"description": "True if it already coasts."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}Barista FIRE: the nest egg needed when part-time income covers part of the spending, so the portfolio only funds the remainder at the safe withdrawal rate.
| Parameter | Type | Description |
|---|---|---|
| annualSpend * | number | Yearly spending. |
| partTimeIncome * | number | Yearly part-time income. |
| withdrawalRatePct | number | Safe withdrawal rate in percent (default 4). |
{
"name": "barista-fire",
"title": "Barista FIRE",
"description": "Barista FIRE: the nest egg needed when part-time income covers part of the spending, so the portfolio only funds the remainder at the safe withdrawal rate.",
"inputSchema": {
"type": "object",
"required": [
"annualSpend",
"partTimeIncome"
],
"properties": {
"annualSpend": {
"type": "number",
"description": "Yearly spending."
},
"partTimeIncome": {
"type": "number",
"description": "Yearly part-time income."
},
"withdrawalRatePct": {
"type": "number",
"description": "Safe withdrawal rate in percent (default 4)."
}
},
"additionalProperties": false
},
"outputSchema": {
"type": "object",
"properties": {
"target": {
"type": "number",
"description": "Nest egg needed (null if withdrawal rate<=0)."
}
}
},
"annotations": {
"readOnlyHint": true,
"openWorldHint": false,
"idempotentHint": true
}
}99 deterministic personal-finance calculators spanning loans & mortgages, time value of money, investing & risk, bonds, options, retirement (FIRE), real estate, business, tax, and everyday money. Each tool is a pure function of its inputs: no user data, no live prices, no FX lookups — pass rates and statutory figures in. Exception: de-net-salary carries the official German statutory data for tax years 2023-2026 (BMF Programmablaufplan, exact to the euro). Returns numbers and schedules, never financial advice.
Names, descriptions and schemas were written by the server and are shown as data.