Skip to main content
Glama

Neighborhood prices

kl_neighborhood_prices
Read-onlyIdempotent

Rank a city’s neighborhoods by median price per square meter in Toman, with optional district filtering and cheapest or priciest ordering, using Kilid’s neighborhood guide.

Instructions

Rank a city's neighborhoods by median price per m2 (Toman), from Kilid's neighborhood guide.

quality is RELIABLE, ESTIMATED or SUSPECT (thin data); neighborhoods without data are left out.

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": {
      "city_id": "<city_id>"
    },
    "name": "kl_neighborhood_prices"
  }
}

Input Schema

NameRequiredDescriptionDefault
sortNoOrder by price per m2.priciest
limitNoMax neighborhoods returned.
city_idYesCity id from kl_cities (Tehran is 272905).
districtNoMunicipal region number to keep, e.g. 1 for منطقه 1 (Tehran).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.2

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already establish read-only, idempotent, non-destructive, open-world behavior, so the description's job is to add data semantics — and it does: it defines the `quality` tiers (RELIABLE, ESTIMATED, SUSPECT for thin data) and discloses that neighborhoods lacking data are silently excluded. That omission rule is exactly the kind of behavior an agent could otherwise misread as missing results. It does not discuss currency conversion, ordering ties, or coverage limits of the underlying guide.

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 sentences, both load-bearing: the first states the operation and units, the second states the data-quality caveat and exclusion behavior. The core purpose is front-loaded with zero preamble.

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 more burden, and it partially meets it by naming the returned metric (median price per m2 in Toman) and one output field's semantics (`quality`). What is missing is confirmation of the remaining return shape and how ranking ties are handled, but the essential invocation knowledge is present.

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 city_id (with the kl_cities reference and the Tehran example), sort, limit, and district. The description adds no parameter-level detail beyond what the schema provides, which is the expected baseline when 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 opens with a specific verb and resource — 'Rank a city's neighborhoods by median price per m2 (Toman)' — and names its data source (Kilid's neighborhood guide), which sets it apart from generic listing tools. It doesn't explicitly contrast itself with kl_price_stats or kl_districts, so an agent must infer the boundary from the metric alone.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

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

Usage is implied rather than stated: the tool ranks neighborhoods by price, so the reader infers it fits comparative/exploratory questions. There is no explicit when-to-use or when-not guidance, and no mention of the sibling price tooling (kl_price_stats) that could plausibly cover a similar need.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.