Skip to main content
Glama

find_nearby_amenities

Find nearby amenities in Yerevan by kind and coordinates, with results sorted by distance. Supports bus stops, metro stations, kindergartens, hotels, medical centers, and more.

Instructions

Find the nearest amenities of a given kind to a lon/lat point, sorted by distance. Kinds: bus_stop, metro_station, air_sensor, waste_bin, kindergarten, hotel, construction, elevator, plaque, monument, cemetery, substation, medical_center. Good for 'nearest bus stop', 'closest air sensor', 'kindergartens within 1km'.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latYesLatitude (WGS84)
lonYesLongitude (WGS84)
kindYes
limitNo
radius_mNo
Install Server

TDQS

A4/5.0
Behavior4/5

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

With no annotations provided, the description carries the burden of behavioral disclosure. It reveals that results are sorted by distance and that the tool finds the nearest amenity of a chosen kind. It stops short of describing result fields, distance units, or empty-result behavior, but the core behavior is transparent.

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?

The description front-loads the main purpose, then provides the kind list and example queries. Each part earns its place, though the kind list duplicates the schema enum and could be shorter, so it is concise but not maximally tight.

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 five-param geospatial tool with no output schema and no annotations, the description covers the essential intent, sort order, valid kinds, and example tripes. However, it does not state what fields each returned amenity contains, explicitly define the radius and limit semantics beyond schema defaults, or describe fallback behavior when nothing is found.

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?

The schema covers lat, lon, and the kind enum, but only 40% of parameters have descriptions. The description adds practical value by listing kinds and illustrating radius_m with 'within 1km', but it never explains the limit parameter or explicitly defines radius units. It only partially compensates for the schema coverage gap.

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 ('Find'), a specific resource ('amenities of a given kind'), and explicit behavior ('sorted by distance'). It also enumerates the supported kinds, making the tool's scope clear and distinguishing it from sibling tools like query_near_point or search_street.

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 gives concrete intended-use examples: 'nearest bus stop', 'closest air sensor', 'kindergartens within 1km'. This clearly communicates when to use the tool, though it does not explicitly name alternatives or state when not to use it.

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

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/mheryerznkanyan/yerevan-gis-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server