Skip to main content
Glama

ChatHome — Luxembourg Real Estate

Calculate Rent Ceiling

calculate_rent_ceiling
Read-onlyIdempotent

Luxembourg legal rent ceiling (5% of revalued invested capital). monthlyRent gives the capital a rent implies; price, purchaseYear and buildingYear (optional land price and works) give the owner's ceiling with its working and confidence. Only confidence 'verified' is the legal figure. Not legal advice. Link pageUrl to credit the ChatHome calculator.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "calculate_rent_ceiling"
  }
}

Input Schema

NameRequiredDescriptionDefault
priceNoOwner side: purchase price in EUR
landPriceNoLand price when the deed separates it; omit otherwise
worksYearNo
monthlyRentNoRent to check: returns the invested capital it implies
worksAmountNo
buildingYearNo
purchaseYearNo

Output Schema

NameRequiredDescriptionDefault
pageUrlYes
toolUrlYes
currencyYes
rentCheckYes
limitationYes
ownerCeilingYes
schemaVersionYes

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

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already establish this is a safe, idempotent, read-only calculation, so the description adds genuine value on top: it explains that results carry a working and a confidence rating, that only 'verified' confidence is legally binding, and that outputs are not legal advice. It also discloses an attribution obligation (link pageUrl to credit the ChatHome calculator), which an agent would not otherwise know. It stops short of describing edge cases or failure behavior.

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, front-loaded with the legal concept before the input modes, then the confidence caveat, then the attribution requirement. The telegraphic style ('monthlyRent gives the capital a rent implies') is dense but every clause carries decision-relevant information; nothing is padding.

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 7-parameter, all-optional legal calculator with an output schema (so return values need no explanation), the description covers the two valid input combinations, confidence semantics, and attribution. The remaining gap is what happens when the caller supplies no mode-selecting parameter at all, which is left 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?

Schema description coverage is only 43%, so the description must carry weight, and it does: it maps parameters into two coherent input modes and clarifies that landPrice and works are optional supplements to the owner-side calculation. This disambiguates parameters the schema leaves thin (worksYear, worksAmount are only covered under the collective term 'works'). Not full marks because the works pair is never individually explained.

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 names a specific domain resource and formula: 'Luxembourg legal rent ceiling (5% of revalued invested capital)'. It then distinguishes two distinct computation directions (rent-to-capital via monthlyRent, owner-side ceiling via price/purchaseYear/buildingYear), which is more than a restatement of the name. It does not name any sibling calculator to contrast with, keeping it at 4 rather than 5.

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

Usage Guidelines4/5

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

It effectively states the two usage modes: supply monthlyRent when you have a rent to check, or supply price/purchaseYear/buildingYear when you are on the owner side, with land price and works as optional additions. It also gives a decision-relevant caveat that only confidence 'verified' is the legal figure. There are no explicit exclusions or named alternatives, so 4 rather than 5.

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