Skip to main content
Glama

PoliErgaleio

simulate_mortgage

Simulates a Cyprus mortgage with a payment schedule that reconciles paid amounts to principal and interest. Supports fixed then variable periods, monthly overpayments, lump sums and interest-only loans; interest-only minimum payments track the remaining balance, with principal due at maturity. KFIK and cash-collateral configurations are not available through this API. Use only to estimate a Cyprus mortgage payment, amortization, overpayments or rate scenarios. Require the actual loan amount, term, selected fixed-period length and the rate inputs for each phase that applies; never substitute example loan terms or rates. EUR amounts and annual percentage rates are expected. For document checklists or general mortgage information, do not call the calculator; answer or research directly without narrating tool selection.

Input Schema

NameRequiredDescriptionDefault
fixedRateNoActual all-in annual fixed rate in percent, required when a fixed period applies.
bankMarginNoActual bank margin in annual percentage points added to the variable base rate; do not split an all-in rate without confirmation.
closureFeeNoEUR amount. Supply the actual value when applicable; use 0 only when confirmed to be zero.
upfrontFeesNoEUR amount. Supply the actual value when applicable; use 0 only when confirmed to be zero.
mortgageTypeNoRepayment structure. Defaults to capital_and_interest.capital_and_interest
ercPercentageNoEarly repayment charge, percent of the balance.
ercPeriodYearsNoYears the early repayment charge applies.
mortgageAmountYesEUR amount. Supply the actual value when applicable; use 0 only when confirmed to be zero.
feesAddedToLoanNoWhether upfront fees are capitalised into the loan.
loanPeriodYearsYesLoan term in years.
fixedPeriodYearsYesActual number of years at the fixed rate before variable pricing (0 means fully variable); ask if unknown.
variableBaseRateNoActual annual reference rate (such as ECB or Euribor) in percent, for the variable phase.
monthlyOverpaymentNoExtra amount paid each month, EUR.
lumpSumOverpaymentsNoOne-off overpayments.
overpaymentPeriodTypeNoWhen overpayments are made across the term.
overpaymentYearsCountNoNumber of years overpayments run when period type is first/last.

Output Schema

NameRequiredDescriptionDefault
seriesNo
balloonDueYes
assumptionsYes
sumOfAllPaymentsYes
totalInterestPaidYes
minRequiredPaymentYes
closureCashRequiredYes
totalMonthlyPaymentYes
actualRepaymentYearsYes
actualRepaymentMonthsYes
avgAnnualCapitalPaymentYes
totalInterestByScenarioYes
avgAnnualInterestPaymentYes
earlyRepaymentChargeYear3Yes
earlyRepaymentBalanceYear3Yes
earlyRepaymentClosureCashYear3Yes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior4/5

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

With no annotations, the description carries the burden and delivers substantive behavior: fixed-then-variable phases, monthly and lump-sum overpayments, interest-only mechanics ('minimum payments track the remaining balance, with principal due at maturity'), and unsupported KFIK/cash-collateral modes. It also imposes input-integrity rules ('never substitute example loan terms or rates', EUR amounts and APR expected). Not fully disclosed are determinism/statelessness and rounding conventions on the produced schedule.

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

Conciseness4/5

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

A single front-loaded paragraph that leads with the purpose, then capabilities, then exclusions, then input requirements — good ordering. Slight bloat in the trailing meta-instruction ('without narrating tool selection'), which is agent-directed rather than tool-descriptive.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a 16-parameter, annotation-free calculator, the description supplies the capability scope, the exclusion set, the input-integrity contract, and the currency/rate conventions, while the output schema covers return values and the schema covers each parameter's type and bounds. Nothing an agent needs to invoke it correctly is missing.

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

Parameters3/5

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

Schema coverage is 100%, so the schema already documents every parameter including enums and ranges; baseline is 3. The description adds useful framing — which inputs are mandatory in practice (actual loan amount, term, fixed-period length, rate inputs per applicable phase), the EUR/APR units, and the prohibition on fabricated example values — but it does not explain parameter interactions such as bankMargin vs variableBaseRate or overpaymentPeriodType/overpaymentYearsCount beyond what the schema states.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

Opens with a specific verb and resource: 'Simulates a Cyprus mortgage with a payment schedule that reconciles paid amounts to principal and interest.' The Cyprus/mortgage framing plus the amortization-and-reconciliation scope clearly separates it from siblings like audit_mortgage_statement, parse_mortgage_statement_text and compare_rent_vs_buy.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Gives explicit when-to-use ('estimate a Cyprus mortgage payment, amortization, overpayments or rate scenarios') and when-not ('For document checklists or general mortgage information, do not call the calculator; answer or research directly'), plus an unsupported-configuration exclusion (KFIK and cash-collateral). An agent can route correctly without inference.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources