Skip to main content
Glama

ChatHome — Luxembourg Real Estate

Calculate Acquisition Costs

calculate_acquisition_costs
Read-onlyIdempotent

Luxembourg resale purchase costs from a price and main-home use: registration and transcription duties, the Bëllegen Akt credit only when eligibility and balance are confirmed, the Luxembourg City surcharge only when confirmed, notary tariff estimate or quoted amounts. Lists unknown components and policy sources; knownTotal excludes unknowns. New-build (VEFA) purchases are refused. 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>",
      "residenceUse": "<residenceUse>"
    },
    "name": "calculate_acquisition_costs"
  }
}

Input Schema

NameRequiredDescriptionDefault
priceYesPurchase price in EUR
quotesNoAmounts from the user's own written quotes
financingNo
municipalityNo
purchaseKindNo
residenceUseYesWhether the buyer will live in it as main home
eligibleAcquirerCountNoBuyers whose Bëllegen Akt eligibility is confirmed; omit when unknown
municipalSurchargeAppliesNo
confirmedUnusedBellegenBalanceNoConfirmed unused Bëllegen Akt balance; omit when unknown

Output Schema

NameRequiredDescriptionDefault
pageUrlYes
toolUrlYes
currencyYes
isCompleteYes
knownTotalYes
limitationYes
schemaVersionYes
unknownComponentsYes

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",
      -  "knownTotal",
      -  "unknownComponents",
      -  "isComplete",
      -  "toolUrl",
      -  "limitation"
      -]New value: +[
      +  "schemaVersion",
      +  "currency",
      +  "knownTotal",
      +  "unknownComponents",
      +  "isComplete",
      +  "toolUrl",
      +  "pageUrl",
      +  "limitation"
      +]
  2. Added

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive, so the bar is lower, yet the description adds genuine behavior: conditional inclusion of the Bëllegen Akt credit and municipal surcharge, refusal of VEFA, and the output contract that unknown components are listed while 'knownTotal excludes unknowns'. That is meaningful context beyond the annotations. It does not state what happens on refusal (error vs. partial result), which keeps it from a 5.

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

Conciseness3/5

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

The purpose is front-loaded and the prose is dense with no filler sentences. But the final clause, 'Link pageUrl to credit the ChatHome calculator', references a parameter that does not exist in the input schema, which is confusing dead weight. The telegraphic comma-list style also makes the conditional rules harder to parse than necessary.

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?

For a 9-parameter calculator with an output schema, the description covers the important decision points: which inputs are conditional, that unknowns are surfaced rather than guessed, that knownTotal excludes them, and that new-build is out of scope. Only the semantics of financing and municipality remain unaddressed.

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?

With 56% schema coverage over 9 parameters, the description usefully supplements the schema: it ties residenceUse to main-home status, eligibleAcquirerCount to confirmed Bëllegen Akt eligibility, municipalSurchargeApplies to a confirmed surcharge, and quotes to 'notary tariff estimate or quoted amounts'. It leaves financing and municipality unexplained, so it does not fully close the coverage gap.

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?

The description states a specific verb and resource: computing Luxembourg resale purchase costs (registration/transcription duties, notary fees) from a price and main-home use. That scope cleanly separates it from the mortgage, rent, and buy-vs-rent siblings without naming them. It stops short of an explicit contrast statement, so a 4 rather than a 5.

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 implied by the scope ('resale purchase costs'), and there is one real exclusion: 'New-build (VEFA) purchases are refused.' The credit and surcharge gating ('only when eligibility and balance are confirmed', 'only when confirmed') tells the agent when to supply those inputs. However, no sibling is named as the alternative for new-build or for non-purchase calculations, so routing guidance is partial.

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