Skip to main content
Glama

search_nearby_amenities

Find nearby amenities like schools, hospitals, and parks in Singapore using coordinates. Returns results sorted by distance with filters for specific categories.

Instructions

Search for nearby amenities (schools, hospitals, clinics, hawker centres, parks, MRT stations, bus stops, supermarkets, pharmacies) around a coordinate in Singapore. Returns results sorted by distance. Requires coordinates — use search_area first to geocode an address if needed.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
latitudeYesLatitude of the search center point
longitudeYesLongitude of the search center point
radiusMetersNoSearch radius in meters (default 100, max 5000)
categoriesNoFilter by amenity categories. If omitted, searches all types. Options: school, hospital, clinic, food_court, marketplace, park, mrt, bus_stop, supermarket, pharmacy
limitNoMax results to return (default 50)
Behavior2/5

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

No annotations are provided, so the description must fully disclose behavior. It mentions results are sorted by distance, but lacks details on rate limits, authentication, or what happens with no results. Schema already defines parameter constraints, so description adds minimal behavioral insight.

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 efficient sentences: first defines purpose and outputs, second provides usage guidance. No redundant information; all content earns its place.

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?

Covers purpose, prerequisite, and sorting. Lacks description of return format or behavior on empty results, but given schema covers parameters and no output schema exists, it is reasonably complete for a simple search tool.

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 baseline is 3. Description adds minor value by mentioning sorting by distance and the list of amenity types (already in enum), but does not elaborate on parameter meanings beyond the schema.

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?

Description clearly states the tool searches for nearby amenities in Singapore with a specific list of types. It distinguishes itself from sibling 'search_area' by requiring coordinates and suggesting using search_area first for geocoding.

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?

Provides clear context: requires coordinates and advises using search_area if only an address is available. However, it does not explicitly state when not to use this tool or mention alternative tools for other scenarios.

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

Install Server

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/coolMukul/sg-property-mcp'

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