Skip to main content
Glama

GoThere Japan Transit & Travel

Find stations, sights and events near a point

find_nearby
Read-only

Stations, sights and this week's events within walking distance of a place or a coordinate in Japan, nearest first, with estimated walking minutes. Give either place (a place ID) or lat and lng. Coordinates are used only to compute distances and are not stored. Returns origin, stations[] (with walkMinutes), sights[] (with walkMinutes, description, fee, rainy-day and step-free notes, routeEndpoint), events[] (this week, within 5 km), page.

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

Input Schema

NameRequiredDescriptionDefault
latNoLatitude (WGS84), within Japan. Three decimal places are enough.
lngNoLongitude (WGS84), within Japan.
langNoLanguage of names and texts in the response. Long descriptions exist in Japanese and English only; other languages fall back to English.en
limitNoMaximum number of sights (stations and events are capped at 5 each).
placeNoPlace ID to search around (use this instead of lat/lng when the user names a station or spot).
withinNoWalking time limit in minutes.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations only cover readOnlyHint and openWorldHint, so the description carries most of the burden and does well: it discloses that coordinates are used only for distance computation and are not stored, the result ordering, and the fixed 5 km radius for events versus walking-minute limits for stations/sights. It does not cover failure behavior (no location supplied, place ID not found, out-of-Japan coordinates).

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?

Two sentences, front-loaded with scope and ordering before the return shape; the dense return listing earns its space because no output schema exists. Slightly packed, but no filler.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, six optional parameters and a synthesis-style response, the description supplies the return structure (origin, stations[], sights[] with walkMinutes/fee/accessibility notes, events[], page) so the agent knows what it will get without calling. Remaining gaps (error cases) are minor for a read-only lookup.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real meaning the schema does not: none of the six parameters are marked required, and the description establishes that at least one of place or lat/lng must be supplied, plus that 'within' bounds the search and events use a separate fixed 5 km radius.

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?

Names the concrete resource set (stations, sights, this week's events) and the scope (within walking distance of a place or coordinate in Japan), with ordering and unit ('nearest first, with estimated walking minutes'). It is clearly not a routing tool or a place-detail tool. It stops short of naming siblings like find_events, which overlaps with the events component, so a 4 rather than a 5.

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?

'Give either place (a place ID) or lat and lng' tells the agent exactly which invocation mode to pick, and the schema reinforces it with 'use this instead of lat/lng when the user names a station or spot'. It lacks any when-not guidance or routing against find_events/search_places for the same subject matter.

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