Skip to main content
Glama

What is around one neighborhood

neighborhood_facts
Read-only

Everything GeoLocale counted around one neighborhood: for each kind of place, the number within 1 km of the centre and the name and distance of the nearest one, plus the similar neighborhoods in other cities matched on the same counts. Counted from OpenStreetMap; the answer carries the date of the map data.

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": "<city>",
      "neighborhood": "<neighborhood>"
    },
    "name": "neighborhood_facts"
  }
}

Input Schema

NameRequiredDescriptionDefault
cityYesCity name, "name, country", or GeoLocale's id for the city, for example "lisbon".
neighborhoodYesNeighborhood name as GeoLocale lists it on the city's page.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changed
    • changedInput schema / properties / city / description
      Previous value: -"City name, \"name, country\", or the id from find_cities."New value: +"City name, \"name, country\", or GeoLocale's id for the city, for example \"lisbon\"."
    • changedInput schema / properties / neighborhood / description
      Previous value: -"Neighborhood name as GeoLocale lists it (compare_neighborhoods returns the names)."New value: +"Neighborhood name as GeoLocale lists it on the city's page."
  2. First observed

TDQS

A3.7/5.0
Behavior4/5

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

Annotations already cover the safety profile (readOnlyHint=true, openWorldHint=false), and the description adds real context beyond them: the 1 km radius from the neighborhood centre, the upstream source (OpenStreetMap), and that the answer carries the map-data date. It also discloses return contents, which matters since no output schema exists. It stops short of stating behavior on ambiguous or unknown neighborhood names.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Front-loaded with what the tool returns, followed by a short provenance sentence; nothing is redundant. The first sentence is dense and runs long, packing counts, nearest-place data, and similar-neighborhood matching into one clause chain, but every element earns its place as it substitutes for a missing output schema.

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 the burden of explaining return values and does so thoroughly, including provenance and data recency. For a two-parameter read-only lookup this is close to complete; the remaining gap is failure behavior when the neighborhood is not found or ambiguously named.

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%, so both parameters are already documented in the schema; the description adds only indirect meaning via the 1 km radius reference to 'the centre'. It does not clarify accepted formats, disambiguation, or how the neighborhood name must match GeoLocale's listing beyond what the schema says. Baseline 3 applies 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 names a specific resource (counts around one neighborhood) and enumerates exactly what is returned: per-place-type counts within 1 km, the nearest place's name and distance, and matched neighborhoods in other cities. This is clearly distinct from compare_neighborhoods and find_cities by implication, though it never names an alternative explicitly. The scope ('one neighborhood') is precise enough for an agent to choose correctly.

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 only implied through the phrase 'around one neighborhood' versus the sibling compare_neighborhoods; there is no explicit when-to-use or when-not-to-use statement, no prerequisites, and no guidance on choosing between this and comparison queries. The single-neighborhood scope is the only routing signal.

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