Skip to main content
Glama

flatin.pt — Portuguese property taxes

imt_calculate

What buying a home in Portugal costs on top of the price: IMT (property transfer tax), Imposto do Selo (stamp duty) and an estimate for the deed and registration. Official 2026 tables, including the reduced scale for buyers aged 35 or under. Returns amounts in cents and formatted in euros, with the source of the tables.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
valueYesProperty price in euros, e.g. 250000 or 250000.50
territoryNoMainland Portugal (continente) or the Azores and Madeira (regioes_autonomas). Default: continente
primary_homeNoThe buyer's own permanent home (habitação própria e permanente). Default: true
buyer_is_youngNoThe buyer is 35 or under and this is their first home. Only applies when primary_home is true. Default: false

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations, the description carries the full burden. It discloses that returns are in cents and formatted in euros, and that it includes the source of the tables, which is useful. However, it does not reveal the actual return structure (e.g., whether it returns an object with breakdown or just a total) or any assumptions beyond 'primary_home' and 'buyer_is_young'. The mention of official tables adds credibility but lacks detail on edge cases (e.g., what happens for non-first-home purchases).

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?

The description is concise and front-loaded with the key purpose, then adds relevant detail about the tables and young buyer discount. It is a single sentence that covers scope, inputs, and outputs without redundancy. The only minor inefficiency is the phrase 'what buying a home in Portugal costs on top of the price' which is slightly wordy but useful.

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 tool with 4 parameters, high schema coverage, and no output schema, the description is reasonably complete. It explains the purpose, the inputs (via context), the outputs (cents and euros, source), and identifies the key variant (young buyer scale). It could be improved by explicitly stating how the result is structured (e.g., a breakdown) and any limitations (e.g., does not include other taxes), but for the complexity level, it is adequate.

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?

Schema coverage is 100%, so the schema already describes each parameter. The description adds the value of mentioning the reduced scale for young buyers, which maps to the 'buyer_is_young' parameter, and confirms 'primary_home' is for habitação própria. However, it does not add format details beyond the schema (e.g., how to represent property value with decimals) nor clarify the interaction between 'primary_home' and 'buyer_is_young' beyond what is in the schema.

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?

The description clearly states the tool calculates the extra costs of buying a home in Portugal, specifically listing IMT, stamp duty, and deed/registration costs. It also distinguishes itself from sibling tools by mentioning official 2026 tables and the reduced scale for young buyers, making its purpose and scope immediately clear.

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 implies this tool is used for upfront purchase costs (IMT, stamp duty, deed) versus the sibling tools like imi_annual_cost (annual property tax) and imi_rate (tax rates). However, it does not explicitly state when to use this tool over the alternatives, nor does it mention any exclusions, such as not including notary fees or other taxes.

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