Skip to main content
Glama

Preço do m² por cidade ou bairro

preco_m2
Read-only

Mediana do preço do metro quadrado numa cidade ou num bairro específico, por tipo de imóvel e por operação (venda ou aluguel). Quando o bairro é informado, também traz o imóvel típico do bairro e a comparação com a mediana da cidade.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tipoNoTipo de imóvel. Padrão: apartamento.
bairroNoNome do bairro. Opcional: sem ele, responde a cidade inteira.
cidadeYesCidade. Uma das 6 cobertas pelo índice.
operacaoNoVenda ou aluguel. Padrão: venda.

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, and the description adds useful behavioral detail beyond that: it specifies that the result is a median, and that providing a bairro also returns the typical property for the bairro and a comparison with the city median. This gives the agent a clear idea of what extra data to expect.

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?

The description is two tightly packed sentences with no filler. The core metric and filters come first, and the optional bairro behavior is added as a clarifying second sentence. Every phrase earns its place.

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 read-only query tool with no output schema, the description communicates the input dimensions, the core result (median price per m²), and the conditional extra output (typical property and comparison). It does not specify units or an exact return shape, but the behavior is clear enough for an agent to call it correctly with the provided schema.

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?

The input schema covers 100% of parameters with enums and descriptions, including defaults for tipo and operacao and the meaning of bairro. The description reinforces those filters but adds little semantic value beyond restating that the metric varies by property type and operation. Baseline 3 is appropriate because the schema does the heavy lifting.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool returns the median square-meter price for a city or neighborhood, with filters for property type and sale/rental operation. It is more specific than the title and gives the metric being computed, but it does not explicitly differentiate itself from sibling tools like ranking_bairros or comparar.

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?

The description explains the optional neighborhood behavior but gives no guidance about when to prefer this tool over sibling tools such as ranking_bairros, comparar, or rendimento_aluguel. There is no explicit 'use this when...' or 'for rankings, use...' statement, leaving the agent to infer the tool's place in the workflow.

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.

TDQS

A4.1/5.0
Disambiguation5/5

Each tool has a clearly distinct purpose: comparison, methodology, single-place price lookup, neighborhood ranking, and rental yield. The closest pair, comparar and preco_m2, is separated by side-by-side comparison versus detailed single-place lookup, so an agent can choose reliably.

Naming Consistency4/5

Most names follow a consistent output-oriented lowercase Portuguese pattern with underscores for multi-word terms, such as preco_m2, ranking_bairros, and rendimento_aluguel. The only deviation is comparar, a verb instead of a noun, which is minor and does not cause confusion.

Tool Count5/5

Five tools is well-scoped for a focused real-estate metro-square-price domain. Each tool covers a distinct dimension of the index without redundancy, and no tool feels unnecessary.

Completeness5/5

The tool set covers the main user needs: obtaining m2 prices, comparing places, finding expensive or cheap neighborhoods, evaluating rental yield, and understanding the underlying methodology. There are no obvious dead ends or missing operations for the domain.