Home purchase costs in Portugal / Custos de comprar casa
calcular_custos_compraCalculates the taxes and fees of buying a home in mainland Portugal with the official 2026 rates: IMT transfer tax (primary residence, second home, or under-35 exemption), stamp duty 0.8% and land registry (Casa Pronta). / Calcula IMT, imposto do selo e registo com as tabelas de 2026. Example arguments: {"preco_eur":500000,"finalidade":"habitacao_propria","com_credito":true}
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": {
"preco_eur": "<preco_eur>"
},
"name": "calcular_custos_compra"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| preco_eur | Yes | Purchase price in euros | |
| finalidade | No | habitacao_propria = buyer's permanent home; secundaria = second home, investment or rental | |
| com_credito | No | true if financed with a mortgage (registry fee is higher) | |
| comprador_ate_35 | No | true if all buyers are 35 or younger and it is their permanent home (IMT exemption up to 330,539 €) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fonte | No | ||
| imt_eur | No | ||
| total_eur | No | ||
| registo_eur | No | ||
| imposto_selo_eur | No |