Skip to main content
Glama

Ranking de bairros por preço do m²

ranking_bairros
Read-only

Lista os bairros de uma cidade ordenados pelo preço do m², do mais caro ao mais barato (ou o inverso). Serve para responder qual é o bairro mais caro ou mais barato.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
tipoNoTipo de imóvel. Padrão: apartamento.
ordemNoPadrão: caro_primeiro.
cidadeYesCidade. Uma das 6 cobertas pelo índice.
limiteNoQuantos bairros retornar. Padrão 10. Use 0 para todos.
operacaoNoVenda ou aluguel. Padrão: venda.

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true and openWorldHint=false, so the description need not re-establish that this is a safe, closed-world read operation. The description adds nothing about output shape, default behavior, or edge cases beyond what annotations provide, so it only modestly clarifies ordering behavior.

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?

Two concise sentences, front-loaded with the primary action and ordering semantics, followed by a clear purpose statement. There is no filler, repetition, or unnecessary detail.

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 ranking tool with five parameters fully described in the schema, the description covers the essential purpose and intended use case. It does not describe return-value structure or explicit boundaries versus siblings, but those gaps are minor given the annotations and schema coverage.

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 all five parameters are already documented. The description only reinforces that the result is ordered by m² price and does not add new meaning about defaults, enums, or param interactions beyond the schema.

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 uses a specific verb and resource: it lists neighborhoods of a city ordered by price per m², and explicitly states the two possible orderings. It conveys the core function clearly, though it does not explicitly contrast itself with siblings like preco_m2 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 Guidelines4/5

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

The phrase 'Serve para responder qual é o bairro mais caro ou mais barato' gives clear use context: use this tool when the question is about the most expensive or cheapest neighborhood. It does not name alternatives or state when not to use it, but the intended scenario is reasonably clear.

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.