Skip to main content
Glama

FINLY Mortgage Knowledge

Loan to value | יחס הלוואה לשווי

calculate_ltv_ratio
Read-onlyIdempotent

Loan to value | יחס הלוואה לשווי. Divide the explicitly provided numerator by denominator. Both are integer agorot, not shekels (1 NIS = 100 agorot); use the same unit for both. The result is a plain ratio (0.6 means 60%). No regulatory caps, eligibility verdict, fallback rates or customer identifiers.

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": {
      "loan_agorot": "<loan_agorot>",
      "property_value_agorot": "<property_value_agorot>"
    },
    "name": "calculate_ltv_ratio"
  }
}

Input Schema

NameRequiredDescriptionDefault
loan_agorotYesInteger agorot, not shekels: 1 NIS = 100 agorot, so multiply a shekel amount by 100. Example: NIS 1,200,000 is 120000000.
property_value_agorotYesInteger agorot, not shekels: 1 NIS = 100 agorot, so multiply a shekel amount by 100. Example: NIS 1,200,000 is 120000000.

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. Changed3 schema fields changed
    • addedInput schema / properties / loan_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 / property_value_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."
    • addedOutput schema / properties / result / properties / ltv_ratio / description
      Added value: +"Plain ratio, not a percent: 0.6 means 60%."
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent, non-destructive, closed-world behavior, so the bar is lower. The description still adds real value: it declares the unit contract (agorot not shekels), the output interpretation (0.6 = 60%), and what the tool deliberately will NOT do (caps, verdicts, fallback rates, customer identifiers) — behavior an agent could otherwise wrongly assume.

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?

The unit constraint and result interpretation are front-loaded in two tight sentences, and the scope exclusions are compressed into one clause. Minor waste: the bilingual title is repeated verbatim from the title field, and the unit convention is stated in the description as well as in both schema properties.

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 pure two-integer calculation with an output schema present, nothing an agent needs is missing: inputs, units, result format, and scope limits are all covered. Return-value structure is already carried by the output schema, so the description does not need to repeat it.

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

Parameters4/5

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

Schema coverage is 100% and both parameters already document the agorot convention with an example, so the baseline is 3. The description goes one step further by stating 'use the same unit for both', a cross-parameter consistency requirement the schema does not express, which is genuine added meaning.

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

Purpose5/5

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

The description names the operation precisely ('Divide the explicitly provided numerator by denominator') and pins down the result semantics ('a plain ratio (0.6 means 60%)'). It also fences the scope with explicit negatives (no regulatory caps, eligibility verdict, fallback rates, customer identifiers), so an agent can distinguish it from a broader LTV/eligibility tool without opening the 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?

It tells the agent the inputs must be 'explicitly provided' and that no fallback rates are applied, which implicitly says: do not infer or look up missing values. However, it never states when to prefer this over a sibling such as calculate_pti_ratio, nor any precondition beyond unit correctness, so usage is implied rather than guided.

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