Skip to main content
Glama

Metastate · Imóveis em Portugal

Official house prices per m² / Preços de mercado (INE)

consultar_precos_mercado
Read-only

Official median sale price per m² of homes sold, from Statistics Portugal (INE), for Lisbon, Cascais, Oeiras, Lisbon parishes and Portugal, plus buyer-origin and new-vs-existing splits. / Preço mediano por m² das casas vendidas, segundo o INE. Example arguments: {"zona":"Cascais"}

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": "consultar_precos_mercado"
  }
}

Input Schema

NameRequiredDescriptionDefault
zonaNoMunicipality or Lisbon parish, e.g. Cascais, Oeiras, Lisboa, Avenidas Novas, Parque das Nações. Empty = overview

Output Schema

NameRequiredDescriptionDefault
zonaNo
dadosNo
fonteNo
eur_m2No
periodoNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.5/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description adds useful provenance (official INE statistics, closed data set) but says nothing about data freshness, reference period, or whether results are cached — a material omission for price statistics.

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 English sentence is front-loaded with the metric and source, followed by scope and splits, then a compact example. The Portuguese sentence largely duplicates the English content without adding information, which is mild redundancy but not damaging.

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?

With one optional parameter, full schema coverage, an output schema, and complete read-only annotations, the description covers what an agent needs to invoke it correctly. The remaining gap is the absence of any reference period or update cadence for the statistics.

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% and the single parameter already documents accepted values and the empty-string overview behavior. The description adds a concrete example call ({"zona":"Cascais"}) that illustrates the expected argument format, but no additional semantics beyond 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 names a specific metric (median sale price per m²), a specific source (Statistics Portugal / INE), and enumerates the geographic scope (Lisbon, Cascais, Oeiras, parishes, Portugal) plus the available breakdowns (buyer origin, new vs existing). This is enough for an agent to distinguish it from siblings like calcular_custos_compra or pedir_avaliacao without opening the schema.

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

Usage Guidelines2/5

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

There is no explicit when-to-use guidance, no exclusions, and no named alternatives — the description only states what data is returned. An agent must infer that this is the right tool for official price benchmarking versus a valuation request or purchase-cost calculation.

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