Skip to main content
Glama

flatin.pt — Portuguese property taxes

Look up the IMI rate of a municipality

imi_rate
Read-onlyIdempotent

The yearly property tax (IMI) rate in one Portuguese municipality, by name or four-digit code. Collected from the Autoridade Tributária portal and checked line by line for all 308 municipalities. Where a municipality sets no single rate (it is set per parish), the answer says so instead of returning zero.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
municipalityYesMunicipality name in Portuguese (Porto, Lisboa, Vila Nova de Gaia) or its four-digit code (1312)

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / municipality / description
      Previous value: -"Municipality name (Porto, Vila Nova de Gaia) or its four-digit code (1312)"New value: +"Municipality name in Portuguese (Porto, Lisboa, Vila Nova de Gaia) or its four-digit code (1312)"
  2. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnly/idempotent/non-destructive behavior, so the bar is lower. The description adds valuable context: the data source (Autoridade Tributária), quality assurance across all 308 municipalities, and the important behavior of explaining per-parish rates instead of returning zero.

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, with the core purpose first, followed by data provenance and a key edge-case caveat. Every sentence adds distinct value and there is no filler.

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 single-parameter lookup whose safety profile is fully covered by annotations, the description is nearly complete. It explains accepted inputs and the main exception, though the absence of an output schema means the exact response format is slightly under-specified.

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?

The schema already describes the single parameter at 100% coverage, so the baseline is 3. The description adds concrete accepted formats and examples (Portuguese name or four-digit code), which meaningfully clarifies how to supply the municipality value.

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?

Title and description name a specific verb ('Look up') and resource ('IMI rate of a municipality'), with the input forms (name or four-digit code) made explicit. This clearly distinguishes it from the sibling cost/calculation tools.

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 makes clear what the tool does and when its edge case applies, but it never explicitly tells the agent when to prefer this over imi_annual_cost or imt_calculate. Usage is implied rather than directly guided.

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