Skip to main content
Glama

Gachi Data API — Japan Station & Accessibility Data

get_toilet_by_station

Read-onlyIdempotent

Look up wheelchair-accessible / multipurpose toilets inside a train station, including floor, gender, equipment (wheelchair, ostomate, diaper table) and the nearest exit. Covers 526 Tokyo stations (Tokyo Bureau of Social Welfare data). Major stations outside Tokyo (Yokohama, Kawasaki, Omiya, Chiba, Fujisawa, Shin-Yokohama…) return an in-station layer that groups accessible toilets by ticket gate — inside vs outside — per railway operator. Accepts Japanese (新宿, 横浜) or romaji (Shinjuku, Yokohama) for major stations.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stationYesStation name in Japanese (新宿, 渋谷) or romaji for major stations (Shinjuku, Shibuya, Kita-Senju).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
noteNoHuman-readable note.
countNoToilets returned.
errorNoSet when nothing was found.
layerNoData layer (e.g. in_station_gate).
sourceNoData source label.
stationNoResolved station (English).
toiletsNoAccessible toilets with floor, gender, equipment and nearest exit.
station_jaNoStation name in Japanese.
attributionNoData source(s), license and provenance — an object, or an array of sources.
station_name_sourceNoHow the name was resolved.

TDQS

A4.5/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, and non-destructive behavior. The description adds valuable context beyond annotations: the data source (Tokyo Bureau of Social Welfare), station coverage, and the special in-station layer grouped by ticket gate and railway operator for major stations. This gives the agent a clear picture of edge-case behavior.

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?

Three sentences, each earning its place: the first states the core purpose and output fields; the second defines coverage and special behavior for major stations; the third specifies input formats with examples. No fluff, well front-loaded, and appropriately sized for the tool's complexity.

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?

Given the tool's simplicity (one parameter), the description covers all essential aspects: what it retrieves, the geographic scope, data source, input varieties, and special grouping behavior for major stations. An output schema exists, so return-value details are already structured. The description is complete for safe and correct invocation.

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?

The schema covers the single parameter with 100% coverage, providing the baseline of 3. The description enhances this by explaining accepted formats (Japanese and romaji), providing examples, and clarifying that romaji is only for major stations. This adds practical guidance for correctly filling the parameter.

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 uses a specific verb ('look up') and clearly identifies the resource: wheelchair-accessible/multipurpose toilets inside train stations. It enumerates details (floor, gender, equipment, nearest exit) and distinguishes itself from sibling tools like get_public_toilet_by_city, which focuses on city-level public toilets.

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 provides clear context: it works for 526 Tokyo stations and major stations outside Tokyo with a different grouping behavior. It also specifies acceptable input formats (Japanese/romaji) and hints that romaji is only for major stations. However, it does not explicitly state when NOT to use it or name alternative tools, so it stops short of a full 5.

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.

TDQS

A4.3/5.0
Disambiguation3/5

Several tools overlap in function: get_active_alerts and get_station_alerts both return the same JMA alerts but with different input types, and get_municipality_context and get_station_context provide identical municipality data. However, the descriptions clarify the input differences, and other tools like get_toilet_by_city vs get_toilet_by_station are distinct enough.

Naming Consistency4/5

Most tools follow a consistent 'get_<noun>' pattern (get_active_alerts, get_municipality_context), but 'ping' and 'station_search' deviate from this convention. Still, the naming is largely predictable and readable.

Tool Count5/5

With 10 tools, the server is well-scoped for its purpose of station and accessibility data. Each tool serves a distinct function within the domain, and the count is within the ideal 3-15 range.

Completeness4/5

The tool surface covers the core workflows: discovery (station_search), station details (context, hazard, toilet), live alerts, and train status. Minor gaps exist such as the lack of a direct station info tool or the mention of 'search_ramen' which is not actually provided, but these are not critical.