Skip to main content
Glama

FINLY Mortgage Knowledge

Monthly payment | חישוב החזר חודשי

calculate_payment
Read-onlyIdempotent

Calculate a hypothetical fixed-rate unindexed annuity from explicit inputs. All money fields are integer agorot, not shekels (1 NIS = 100 agorot; NIS 1,200,000 is principal_agorot 120000000), in the input and in the result. Annual interest is a decimal fraction (4.5% is 0.045). No bank offer, eligibility or savings recommendation.

Tool call template

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

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "principal_agorot": "<principal_agorot>",
      "nominal_annual_decimal": "<nominal_annual_decimal>",
      "term_months": "<term_months>"
    },
    "name": "calculate_payment"
  }
}

Input Schema

NameRequiredDescriptionDefault
term_monthsYesTerm in months: 20 years is 240.
principal_agorotYesInteger agorot, not shekels: 1 NIS = 100 agorot, so multiply a shekel amount by 100. Example: NIS 1,200,000 is 120000000.
nominal_annual_decimalYesAnnual nominal rate as a decimal fraction, not a percent: 4.5% is 0.045.

Output Schema

NameRequiredDescriptionDefault
toolYes
as_ofYes
resultNo
statusYes
receiptYes
evidenceNo
no_actionNo
request_idYes
assumptionsYes
limitationsYes
next_actionsYes
response_kindYes
schema_versionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed6 schema fields changed
    • addedInput schema / properties / nominal_annual_decimal / description
      Added value: +"Annual nominal rate as a decimal fraction, not a percent: 4.5% is 0.045."
    • addedInput schema / properties / principal_agorot / description
      Added value: +"Integer agorot, not shekels: 1 NIS = 100 agorot, so multiply a shekel amount by 100. Example: NIS 1,200,000 is 120000000."
    • addedInput schema / properties / term_months / description
      Added value: +"Term in months: 20 years is 240."
    • addedOutput schema / properties / result / properties / monthly_agorot / description
      Added value: +"Integer agorot, not shekels: divide by 100 for NIS. Example: 659956 agorot is NIS 6,599.56."
    • addedOutput schema / properties / result / properties / total_interest_agorot / description
      Added value: +"Integer agorot, not shekels: divide by 100 for NIS. Example: 659956 agorot is NIS 6,599.56."
    • addedOutput schema / properties / result / properties / total_paid_agorot / description
      Added value: +"Integer agorot, not shekels: divide by 100 for NIS. Example: 659956 agorot is NIS 6,599.56."
  2. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety behaviour is covered. The description still earns credit by disclosing that the function is purely deterministic on caller-supplied inputs and, importantly, that monetary output is also expressed in agorot rather than shekels, which affects how the agent presents the result.

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?

Three sentences, front-loaded with the purpose, followed by unit conventions and the scope disclaimer; nothing is padded. Minor redundancy with the schema's unit text keeps it from a 5, but the ordering is sensible and there is no filler.

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

Completeness4/5

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

With a full output schema present, the description rightly omits return-value detail, and annotations cover the safety profile. For a three-parameter deterministic calculator the remaining omissions (e.g. whether a full amortisation schedule is returned, or treatment of fees/linked indexation) are minor but not fully closed off.

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 description coverage is 100%, so the schema already documents every parameter, and the description's unit notes (agorot multiplication by 100, 4.5% as 0.045) restate the schema's own examples nearly verbatim. It adds only the point that the result shares the same agorot unit, so the baseline of 3 is appropriate.

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

Purpose5/5

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

The description opens with a precise verb and resource: "Calculate a hypothetical fixed-rate unindexed annuity," and pins down the nature of the figure (unindexed, fixed-rate, hypothetical). It also fences off adjacent intents ("No bank offer, eligibility or savings recommendation"), so an agent can distinguish this from the ratio calculators and knowledge-search siblings without opening any schema.

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

Usage Guidelines3/5

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

The phrase "from explicit inputs" and the exclusion of offers, eligibility and savings recommendations imply that this is a pure arithmetic tool rather than a sourcing or advisory one. However, there is no explicit when-to-use statement or named alternative for related computations such as LTV or PTI, leaving routing to inference from the title.

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