Skip to main content
Glama

Gachi Data API — Japan Station & Accessibility Data

get_station_hazard

Read-onlyIdempotent

Official disaster-risk categories at a Japanese train station, relayed live from the MLIT 不動産情報ライブラリ (Real Estate Information Library): flood inundation-depth rank, landform / liquefaction classification, and storm-surge inundation-area presence (landslide & tsunami are license-restricted and return available:false with a link to the official maps). Returns the official values/categories as-is — no composite score, no judgment. Accepts a station name in Japanese (新宿, 武蔵小杉) or romaji (Shinjuku, Musashi-Kosugi). For research/analytics; NOT a substitute for official government hazard maps or evacuation decisions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
station_nameYesStation name in Japanese (新宿, 武蔵小杉) or romaji (Shinjuku, Musashi-Kosugi).

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hazardNoOfficial categories: flood inundation depth, landform/liquefaction, storm-surge.
stationNoResolved station + coordinates.
disclaimerNoUsage disclaimer (not a substitute for official maps).
attributionNoData source(s), license and provenance — an object, or an array of sources.

TDQS

A4.4/5.0
Behavior5/5

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

Annotations already indicate readOnly, openWorld, idempotent, and non-destructive nature. The description goes further by disclosing that landslide and tsunami data are license-restricted and return available:false with a link to official maps, and that the tool returns official values as-is with no composite score or judgment. This adds valuable behavioral context about data availability and interpretation beyond the annotations.

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 is moderately sized and front-loaded with the core purpose. Each sentence provides substantive information (source, categories, licensing, return semantics, input format, usage caveat), though the input format sentence is redundant with the schema and could be trimmed without loss. Overall, the structure is clear and information-dense.

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 output schema exists, the description doesn't need to explain return values, but it still addresses key contextual elements: data source, specific hazard categories, licensing limitations, output semantics, input format, and appropriate usage. This makes the tool's behavior and limitations clear for an AI agent, especially for a niche Japanese data source.

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 fully documents the single parameter 'station_name' with examples in Japanese and romaji, achieving 100% coverage. The description repeats this input format but adds no semantic detail beyond the schema, so it meets the baseline but does not exceed it.

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 clearly states the tool's function: returning official disaster-risk categories at a Japanese train station from the MLIT Real Estate Information Library. It specifies the exact categories (flood inundation-depth rank, landform/liquefaction classification, storm-surge presence) and distinguishes itself from siblings like get_station_alerts and get_station_context by focusing on hazard categories rather than alerts or general context.

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 for when to use the tool ('For research/analytics') and explicitly warns against using it as a substitute for official government hazard maps or evacuation decisions. However, it does not explicitly name alternative tools or state when NOT to use this tool in favor of a sibling, though the distinct subject matter implies appropriate use cases.

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.