Skip to main content
Glama

Places Near Station

places_near_station
Read-onlyIdempotent

Find facilities in Japan near a named train or subway station, convenience stores (konbini: 7-Eleven, Lawson, FamilyMart), restaurants, pharmacies, hospitals, ATMs, banks, hotels, supermarkets near a Shinkansen, JR, subway or private-railway station. Answers "convenience stores within 500m of Shibuya station", "pharmacies near Shinjuku station", "hospitals near Namba station". Geocodes the station name within Japan, then searches OpenStreetMap around it. Returns each place's name, category, distance in metres and coordinates.

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "limit": 20,
      "station": "Shibuya Station, Tokyo",
      "category": "convenience_store",
      "radius_m": 500
    },
    "name": "places_near_station"
  }
}

Input Schema

NameRequiredDescriptionDefault
limitNoMax results (1-200, default 20).
stationYesStation or place name, e.g. "Shibuya Station", "Shinjuku Station, Tokyo", "Namba Station, Osaka". Adding the city helps disambiguate common names.
categoryYesWhat to find: "convenience_store", "station" (another station nearby), "hospital", "pharmacy", "restaurant", "cafe", "supermarket", "bank", "atm", "hotel", "post_office", "toilet", "parking", "temple", "shrine", "park", or an exact OSM tag like "shop=bakery".
radius_mNoSearch radius in metres (1-5000, default 500).

Output Schema

NameRequiredDescriptionDefault
countNo
queryNo
placesNo
sourceNo
resolved_stationNo
resolved_categoryNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / category / description
      Previous value: -"What to find: \"convenience_store\", \"station\" (another station nearby), \"hospital\", \"pharmacy\", \"restaurant\", \"cafe\", \"supermarket\", \"bank\", \"atm\", \"hotel\", \"post_office\", \"toilet\", \"parking\", \"temple\", \"shrine\", \"park\" — or an exact OSM tag like \"shop=bakery\"."New value: +"What to find: \"convenience_store\", \"station\" (another station nearby), \"hospital\", \"pharmacy\", \"restaurant\", \"cafe\", \"supermarket\", \"bank\", \"atm\", \"hotel\", \"post_office\", \"toilet\", \"parking\", \"temple\", \"shrine\", \"park\", or an exact OSM tag like \"shop=bakery\"."
  2. First observed

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so safety and idempotency are covered structurally. The description adds real value beyond them: the Japan-only geocoding step and the OSM lookup pipeline explain why a station name rather than coordinates is required. It still omits failure behavior when geocoding fails and any rate/coverage limits.

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

Conciseness3/5

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

The first sentence is a run-on that says "near a ... station" twice, once for the category list and again for the rail-operator qualifier, which makes it slower to parse than needed. The example queries and the geocode-then-search sentence are well placed and front-loaded, but the duplication costs it.

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?

An output schema exists, so the brief return-value summary (name, category, distance in metres, coordinates) is a bonus rather than a requirement. For a four-parameter read-only lookup the definition covers scope, input shape and pipeline adequately; only error/ambiguity handling for failed geocoding is left unaddressed.

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 station, category, radius_m and limit are already self-documenting, and the description largely restates them (radius expressed as "within 500m", category examples). It adds only the geographic constraint that the station must resolve inside Japan; that is useful but marginal, 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 uses a specific verb and resource — "Find facilities in Japan near a named train or subway station" — and enumerates the supported categories (konbini, restaurants, pharmacies, hospitals, ATMs, banks, hotels, supermarkets). The line "Geocodes the station name within Japan, then searches OpenStreetMap around it" implies it differs from a coordinate-based sibling like places_near_point, but it never names that alternative explicitly, so sibling differentiation stays implicit.

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?

Concrete usage scenarios are quoted ("convenience stores within 500m of Shibuya station", "pharmacies near Shinjuku station") which make the intended query shape unambiguous. It gives clear positive context but no exclusions — nothing says when to prefer a point-based search or what to do when the station name is ambiguous beyond the schema's city hint.

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.