Skip to main content
Glama

ITBI SP · São Paulo real estate prices

Preço do m² numa rua (vendas reais do ITBI)

vendas_rua
Read-onlyIdempotent

Vendas do ITBI numa rua de São Paulo ou, com cidade, de Rio de Janeiro, Belo Horizonte, Porto Alegre, Recife ou Fortaleza: m² e valor medianos desde 2024 por tipo, série por ano e os prédios com mais vendas. Use para 'qual o m² na Rua Oscar Freire?'. Ruas homônimas: passe bairro. Price per m² on a street, 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": {
      "rua": "<rua>"
    },
    "name": "vendas_rua"
  }
}

Input Schema

NameRequiredDescriptionDefault
ruaYesNome da rua: "Rua Oscar Freire", "Alameda Olga".
bairroNoOpcional: bairro, para ruas com nome repetido.
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. Changed1 schema field changed
    • 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. Changed2 schema fields changed
    • changedInput schema / properties / bairro / description
      Previous value: -"Opcional: bairro, para ruas com nome repetido. Optional district."New value: +"Opcional: bairro, para ruas com nome repetido."
    • changedInput schema / properties / rua / description
      Previous value: -"Nome da rua: \"Rua Oscar Freire\", \"Alameda Olga\". Street name."New value: +"Nome da rua: \"Rua Oscar Freire\", \"Alameda Olga\"."
  3. First observed

TDQS

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds real behavioral context beyond them: the data source is ITBI, the window starts in 2024, the metric is a median, and coverage per city varies, with a pointer to the cobertura tool for each city's period and value basis. It does not describe pagination or result size.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The core is well front-loaded: what is returned, the example query, and the homonym caveat. However, the closing English sentence largely restates the opening Portuguese text, and the city list is repeated in both the description and the schema, which is avoidable bulk.

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 no output schema, the description carries the burden of describing returns and does so: median m² and value, per-type breakdown, yearly series, and top buildings. It also defers coverage details to the cobertura tool. The absence of any note on result size or how many buildings are listed is a minor gap for a three-parameter read tool.

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 description coverage is 100%, so the schema already documents rua, bairro and cidade, including the São Paulo default and the enum list. The description restates the bairro-for-homonyms rule and the default city rather than adding new syntax or format detail, so the baseline 3 applies.

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 verb and resource: ITBI sales on a street, returning median m² and value since 2024 by property type, a yearly series, and the buildings with most sales. It scopes the geography precisely (São Paulo by default, plus five named capitals) and gives a concrete example query, so an agent can separate it from the bairro- and prédio-level siblings.

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?

It states an explicit trigger ('Use para "qual o m² na Rua Oscar Freire?"') and a disambiguation rule for homonymous streets ('Ruas homônimas: passe bairro'). It does not name or exclude alternatives such as vendas_bairro or vendas_predio, so the when-not condition is left implicit.

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.