Skip to main content
Glama

ITBI SP · São Paulo real estate prices

Preço do m² num bairro (vendas reais do ITBI)

vendas_bairro
Read-onlyIdempotent

Preço pago num bairro nos últimos 12 meses (ITBI): m² mediano, variação em 12 meses, faixa, posição no ranking, série por ano e ruas com mais vendas. São Paulo por padrão (96 distritos, bairros como Vila Olímpia e 'São Paulo' para a cidade); com cidade, bairros de Rio de Janeiro (Copacabana), Belo Horizonte (Savassi), Porto Alegre (Moinhos de Vento), Recife (Boa Viagem) e Fortaleza (Meireles), ou o nome da cidade para a cidade toda. Use para 'Pinheiros valorizou?'. Uma chamada por bairro. Neighborhood price per m², São Paulo plus 5 other Brazilian capitals via cidade.

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": {
      "bairro": "<bairro>"
    },
    "name": "vendas_bairro"
  }
}

Input Schema

NameRequiredDescriptionDefault
bairroYesBairro ou distrito: "Moema", "Vila Olímpia", "Tatuapé"; "São Paulo" para a cidade. Com cidade: "Copacabana", "Savassi", "Moinhos de Vento", "Boa Viagem", "Meireles".
cidadeNoOpcional: cidade. Sem cidade é São Paulo. Outras capitais com vendas do ITBI: rio-de-janeiro, belo-horizonte, porto-alegre, fortaleza, recife (a tool cobertura diz o período e a base do valor de cada uma). Optional city; default São Paulo.sao-paulo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / bairro / description
      Previous value: -"Bairro ou distrito: \"Moema\", \"Vila Olímpia\", \"Tatuapé\"; \"São Paulo\" para a cidade."New value: +"Bairro ou distrito: \"Moema\", \"Vila Olímpia\", \"Tatuapé\"; \"São Paulo\" para a cidade. Com cidade: \"Copacabana\", \"Savassi\", \"Moinhos de Vento\", \"Boa Viagem\", \"Meireles\"."
    • addedInput schema / properties / cidade
      Added value: +{
      +  "default": "sao-paulo",
      +  "description": "Opcional: cidade. Sem cidade é São Paulo. Outras capitais com vendas do ITBI: rio-de-janeiro, belo-horizonte, porto-alegre, fortaleza, recife (a tool cobertura diz o período e a base do valor de cada uma). Optional city; default São Paulo.",
      +  "enum": [
      +    "sao-paulo",
      +    "rio-de-janeiro",
      +    "belo-horizonte",
      +    "porto-alegre",
      +    "fortaleza",
      +    "recife"
      +  ],
      +  "type": "string"
      +}
  2. Changed1 schema field changed
    • changedInput schema / properties / bairro / description
      Previous value: -"Bairro ou distrito: \"Moema\", \"Vila Olímpia\", \"Tatuapé\"; \"São Paulo\" para a cidade. District or neighborhood."New value: +"Bairro ou distrito: \"Moema\", \"Vila Olímpia\", \"Tatuapé\"; \"São Paulo\" para a cidade."
  3. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive, closed-world behavior, and the description adds real context on top: the fixed 12-month lookback, the ITBI source, São Paulo as default geography, and the one-neighborhood-per-call constraint. It does not cover ambiguity handling (e.g. an unrecognized bairro name) or result limits, which keeps it below a 5.

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?

Front-loads the returned metrics, then coverage, then the usage example and calling rule; every sentence is topical. The closing English sentence duplicates content already given in Portuguese, which is functional for cross-language matching but adds length without new information.

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 two-parameter read-only lookup with no output schema, the description is close to self-sufficient: it names the metrics returned, the default geography, the alternative cities, and defers per-city period caveats to the cobertura tool. The main residual gap is what happens with an unknown or ambiguous bairro name.

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% with an enum on cidade and a documented default, so the schema already carries most parameter meaning; the description largely restates the same examples (Copacabana, Savassi, Moinhos de Vento). It adds one genuinely new pointer — that the cobertura tool documents each city's period and value basis — but that is a small increment over structured fields.

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?

States a specific resource (price paid per m² in a bairro), the data source (ITBI), the window (last 12 months), and enumerates exactly what comes back: median m², 12-month variation, range, ranking position, yearly series, and top streets. That enumeration also distinguishes it from siblings like ranking_bairros (ranking only) and vendas_rua/vendas_predio (street/building granularity).

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?

Gives a concrete triggering question ("Use para 'Pinheiros valorizou?'") and states the granularity rule "Uma chamada por bairro", so an agent knows the calling pattern. It offers no explicit exclusions versus near-neighbors such as resumo_bairro or vendas_rua, so the choice between overlapping tools is left to inference.

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.