Skip to main content
Glama

List neighbourhoods

sh_list_neighbourhoods
Read-onlyIdempotent

List neighbourhoods, optionally filtered by Persian city, to help users identify areas for short-term rental searches and location-based stays.

Instructions

List neighbourhoods, optionally filtered by city.

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": "sh_list_neighbourhoods"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityNoPersian city name.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

B3.3/5.0
Behavior2/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=true, so the safety profile is fully covered. The description adds only the optional-filter fact, which is already visible from required=0 in the schema; it says nothing about result volume, completeness of the neighbourhood list, or how an unrecognized city is handled.

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?

One short sentence with the resource first and the optional modifier second; there is no filler, hedging, or redundant 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?

For a single-optional-parameter read-only list tool this is minimally sufficient, and annotations carry the safety profile. However, with no output schema the description could legitimately say what a neighbourhood record or response looks like, and it omits that entirely.

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 coverage is 100% and the single parameter already documents that it expects a Persian city name. The description merely restates that the city acts as a filter, adding no format, casing, or matching-behavior detail beyond the schema, so the baseline of 3 applies.

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 gives a specific verb and resource ("List neighbourhoods") plus the one scoping dimension (city filter), which is clear enough to distinguish it from siblings like sh_list_search_filters or sh_search_destinations. It does not explicitly name or contrast any sibling, so it stops short of the top mark.

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?

"Optionally filtered by city" implies the calling context (use when you want the full list or a city subset), but there is no explicit when-to-use versus when-to-use-an-alternative guidance, no exclusions, and no note on prerequisites such as needing the Persian form of the city name.

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