Skip to main content
Glama

Heart Homes — Dubai property data

Rank buildings within a community

rank_buildings
Read-only

Buildings in one community ranked by 12-month median sale price or median annual rent - answers 'cheapest/most expensive buildings in X'. Rent coverage is partial: Ejari records carry no building name, so only buildings whose project name identifies them uniquely have rent stats. Buildings with fewer than 5 records are excluded.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
limitNo
orderYes
metricYes
communitySlugYesCommunity slug from search_locations

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.6/5.0
Behavior5/5

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

Beyond the readOnlyHint annotation, the description discloses important behavioral caveats: the 12-month median window, partial rent coverage due to Ejari records lacking building names, and exclusion of buildings with fewer than 5 records. This materially helps the agent set expectations.

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?

Three concise sentences with no filler. The core purpose is front-loaded, and each caveat sentence earns its place by explaining data limitations and filtering rules.

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?

The description covers scope, metrics, ordering, and data caveats, which is enough for correct tool selection and invocation. It does not describe the exact return shape, but with no output schema the title and core sentence sufficiently imply a ranked list of buildings.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is only 25%, but the description adds meaning for 'metric' (sale price vs annual rent) and 'order' (cheapest/most expensive). 'communitySlug' is already explained in the schema, while 'limit' remains schema-only, so the compensation is strong but not complete.

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 states a specific verb ('rank') and resource ('buildings in one community'), and clarifies the exact question it answers: 'cheapest/most expensive buildings in X'. This clearly differentiates it from sibling tools like rank_communities or get_building_stats.

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 description provides a clear usage context by mapping the tool to a specific user question. It does not explicitly name alternative tools or state when not to use this tool, so it falls short of a 5.

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