Skip to main content
Glama

City neighbourhoods

dv_districts
Read-onlyIdempotent

Fetch neighbourhoods for an Iranian city with IDs, centre points, and main streets; filter by partial name and limit results to support district-based ad searches.

Instructions

Neighbourhoods (محله) of one city with ids, centre point and the main streets inside (Tehran has about 450).

Search tools also take district names directly. Next: dv_neighbours, dv_nearby.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "dv_districts"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoتهران
limitNo
queryNoPart of a neighbourhood name, e.g. 'ونک'.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv0.3.0
    • removedInput schema / properties / city / description
      Removed value: -"City name or id; several comma-separated, e.g. 'تهران', 'mashhad', 'تهران,کرج'."
    • removedInput schema / properties / limit / description
      Removed value: -"Max neighbourhoods to return."
  2. First observedv0.1.0

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world, so the safety profile is covered. The description adds useful behavioral context the annotations lack: the result volume (~450 in Tehran) that bears on the limit default, and the fact that district names are accepted anywhere search tools run, which shapes how results get reused.

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 short sentences: the resource and its payload come first, then navigation pointers. No filler and no restatement of the title.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description partially compensates by naming the returned fields and giving scale. It leaves unresolved how defaults work for the city and limit parameters and whether the list is paged, which matters for a 450-item result set.

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?

Only one of three parameters (query) is documented in the schema, at 33% coverage, so the description must explain city and limit. It mentions the city implicitly as a single-city filter, but never says the city param defaults to Tehran, nor does it explain the limit semantics, and (420) the scale note only implicitly justifies paging.

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?

States a specific resource and scope: neighbourhoods (محله) of one city, plus what each record carries (ids, centre point, main streets). The scale note (Tehran has about 450) tells the agent what to expect. It does not explicitly say how it differs from dv_cities or dv_neighbours, though the sibling names plus 'Next:' hints help.

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?

Gives real usage context: search tools also take district names directly, so an agent knows resolving to ids is optional, and it points to the next tools (dv_neighbours, dv_nearby) for adjacency/geo work. It does not state exclusions or when to prefer dv_cities instead, so it stops 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.