Skip to main content
Glama

ChatHome — Luxembourg Real Estate

Calculate Buy vs Rent

calculate_buy_vs_rent
Read-onlyIdempotent

Compare buying and renting the same Luxembourg home over time from an explicit price, comparable monthly rent and mortgage-rate assumption, with optional down payment, loan term, horizon and property tax. Uses the website simulator. winner stays null until every acquisition cost is confirmed or quoted; knownCostWinner is conditional on the costs known now. A scenario, not a verdict. Returns a link that opens the website tool prefilled. Link pageUrl to credit the ChatHome calculator.

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": {
      "price": "<price>",
      "monthlyRent": "<monthlyRent>",
      "mortgageRatePct": "<mortgageRatePct>"
    },
    "name": "calculate_buy_vs_rent"
  }
}

Input Schema

NameRequiredDescriptionDefault
priceYesPurchase price in EUR
communeNoLuxembourg commune, for commune-specific duties
monthlyRentYesMonthly rent for a comparable home in EUR
loanTermYearsNo
downPaymentPctNo
mortgageRatePctYesExplicit annual mortgage-rate assumption in percent
timeHorizonYearsNo
annualPropertyTaxNo
eligibleAcquirerCountNoBuyers whose Bëllegen Akt eligibility is confirmed; omit when unknown
confirmedUnusedBellegenBalanceNoConfirmed unused Bëllegen Akt balance; omit when unknown

Output Schema

NameRequiredDescriptionDefault
winnerYes
pageUrlYes
toolUrlYes
currencyYes
limitationYes
schemaVersionYes
knownCostWinnerYes
comparisonCompleteYes
unknownAcquisitionCostsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • addedOutput schema / properties / pageUrl
      Added value: +{
      +  "format": "uri",
      +  "type": "string"
      +}
    • changedOutput schema / required
      Previous value: -[
      -  "schemaVersion",
      -  "currency",
      -  "winner",
      -  "comparisonComplete",
      -  "knownCostWinner",
      -  "unknownAcquisitionCosts",
      -  "toolUrl",
      -  "limitation"
      -]New value: +[
      +  "schemaVersion",
      +  "currency",
      +  "winner",
      +  "comparisonComplete",
      +  "knownCostWinner",
      +  "unknownAcquisitionCosts",
      +  "pageUrl",
      +  "toolUrl",
      +  "limitation"
      +]
  2. Changed2 schema fields changed
    • addedInput schema / properties / confirmedUnusedBellegenBalance
      Added value: +{
      +  "description": "Confirmed unused Bëllegen Akt balance; omit when unknown",
      +  "maximum": 1000000,
      +  "minimum": 0,
      +  "type": "number"
      +}
    • addedInput schema / properties / eligibleAcquirerCount
      Added value: +{
      +  "description": "Buyers whose Bëllegen Akt eligibility is confirmed; omit when unknown",
      +  "maximum": 10,
      +  "minimum": 0,
      +  "type": "integer"
      +}
  3. Added

TDQS

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, openWorld and non-destructive, so the safety profile is covered. The description adds genuinely useful caveats beyond that - 'winner stays null until every acquisition cost is confirmed or quoted', 'knownCostWinner is conditional on the costs known now', and the fact that it returns a prefilled website link rather than a computed verdict - which is real value, though the mechanics of the simulated result remain thin.

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?

Purpose is front-loaded in the first clause and every sentence carries information about inputs, result semantics or the returned link. There is mild redundancy between 'Uses the website simulator' and 'Returns a link that opens the website tool prefilled', and the trailing attribution note about pageUrl is a slightly odd placement but costs little.

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

Completeness3/5

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

For a 10-parameter tool this covers the core inputs, the conditional-result caveat and the output link, and an output schema exists to carry return values. Gaps remain around the three unmentioned parameters and around what the simulator actually computes, which matters given the tool's comparative complexity.

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?

With 60% schema coverage and 10 parameters, the description reinforces the three required inputs (explicit price, comparable rent, explicit mortgage-rate assumption) and names several optional ones, usefully implying the rate must be supplied rather than fetched. However, commune, eligibleAcquirerCount and confirmedUnusedBellegenBalance - all with real semantic weight for the cost calculation - get no explanation here.

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

Purpose4/5

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

States a specific verb and comparison ('Compare buying and renting the same Luxembourg home over time') plus the exact inputs that drive it, which is far more informative than the title alone. It does not name a sibling such as calculate_mortgage or calculate_acquisition_costs to route the agent away, so it stops short of full differentiation.

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?

Usage is only implied: the description lists which inputs are required versus optional, and the closing 'A scenario, not a verdict' signals this is exploratory rather than authoritative. There is no explicit when-to-use/when-not statement and no pointer to the sibling calculators that produce the mortgage or acquisition-cost figures this tool consumes.

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