Skip to main content
Glama

השוואת ביטוח חיים למשכנתא

compare_mortgage_life_insurance
Read-onlyIdempotent

Compare mortgage life insurance premiums of Israeli insurers by the borrower's age and gender, the mortgage amount and its years. Returns the first monthly premium per insurer for a non-smoker and for a smoker, low to high. Prices are the insurers' own published first-year premiums from the Capital Market Authority's price list, before underwriting and discounts.

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": {
      "age": "<age>",
      "gender": "<gender>",
      "loan": "<loan>",
      "years": "<years>"
    },
    "name": "compare_mortgage_life_insurance"
  }
}

Input Schema

NameRequiredDescriptionDefault
ageYesAge in years.
loanYesMortgage amount in shekels.
yearsYesMortgage term in years, 1-30.
genderYesmale or female.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • removedInput schema / properties / smoker
      Removed value: -{
      -  "description": "true if the person smokes or smoked in the last 2 years.",
      -  "type": "boolean"
      -}
    • changedInput schema / required
      Previous value: -[
      -  "age",
      -  "gender",
      -  "smoker",
      -  "loan",
      -  "years"
      -]New value: +[
      +  "age",
      +  "gender",
      +  "loan",
      +  "years"
      +]
  2. First observed

TDQS

A4.5/5.0
Behavior5/5

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

Annotations already cover the safety profile (readOnly, idempotent, non-destructive, closed-world), and the description adds the materially important behavior: results are split for non-smoker and smoker, sorted low to high, and are the insurers' own published first-year premiums from the Capital Market Authority list. The caveat that prices are before underwriting and discounts is exactly the kind of interpretive context an agent needs to present figures correctly.

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

Conciseness5/5

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

Three sentences: what is compared, what comes back and in what order, and where the numbers come from plus their limitations. The purpose and return shape are front-loaded and no sentence repeats the schema or the annotations.

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?

With no output schema, the description carries the burden of describing the return value and does so precisely (first monthly premium per insurer, two smoking strata, ascending order). Provenance and pre-underwriting caveats complete the picture for a simple four-parameter read tool.

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%, so the baseline is 3; the description still adds meaning by framing age and gender as the borrower's attributes and loan as the mortgage amount, and by disclosing that smoking status is not an input but is answered for both cases in the output. That resolves a likely agent question the schema alone leaves open.

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?

States a specific verb and resource ('Compare mortgage life insurance premiums of Israeli insurers') and immediately narrows the domain with the exact inputs used and the exact unit returned. The mortgage-life qualifier separates it from the generic life-insurance sibling in the catalog without needing the sibling named.

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 description makes the applicable scenario clear (a borrower of a given age/gender with a given mortgage amount and term) but never states when to use this instead of compare_life_insurance or what to do when the needed inputs aren't known. There are no exclusions or prerequisites, 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