Skip to main content
Glama

get_station_context

Read-onlyIdempotent

Same official municipality data as get_municipality_context, resolved from a station: pass a station name (Shinjuku / 新宿 / Musashi-Kosugi) or a Japan Station Master station_id (e.g. st_00001), and it returns the context for that station's municipality. Official values only — no scores.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
fieldsNoOptional comma-separated subset: vacancy,ridership,population,hazard,land_price,livability.
station_idNoJapan Station Master station_id (e.g. st_00001). Alternative to station_name.
station_nameNoStation name in English/romaji (Shinjuku) or Japanese (新宿). Provide this or station_id.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
hazardNoHazard categories.
stationNoResolved station.
vacancyNoHousing-vacancy counts.
ridershipNoRidership trend.
land_priceNoLand prices near the centroid.
livabilityNoLivability counts.
populationNoPopulation / future estimate.
attributionNoData source(s), license and provenance — an object, or an array of sources.
municipalityNoMunicipality + code.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "description": "Official data for a station's municipality.",
      +  "properties": {
      +    "attribution": {
      +      "description": "Data source(s), license and provenance — an object, or an array of sources."
      +    },
      +    "hazard": {
      +      "description": "Hazard categories."
      +    },
      +    "land_price": {
      +      "description": "Land prices near the centroid."
      +    },
      +    "livability": {
      +      "description": "Livability counts."
      +    },
      +    "municipality": {
      +      "description": "Municipality + code."
      +    },
      +    "population": {
      +      "description": "Population / future estimate."
      +    },
      +    "ridership": {
      +      "description": "Ridership trend."
      +    },
      +    "station": {
      +      "description": "Resolved station."
      +    },
      +    "vacancy": {
      +      "description": "Housing-vacancy counts."
      +    }
      +  },
      +  "type": "object"
      +}
  2. Changed3 schema fields changed
    • changedInput schema / properties / station_id / description
      Previous value: -"Japan Station Master station_id (e.g. st_00001)."New value: +"Japan Station Master station_id (e.g. st_00001). Alternative to station_name."
    • addedInput schema / properties / station_name
      Added value: +{
      +  "description": "Station name in English/romaji (Shinjuku) or Japanese (新宿). Provide this or station_id.",
      +  "type": "string"
      +}
    • changedInput schema / required
      Previous value: -[
      -  "station_id"
      -]New value: +[]
  3. Added

TDQS

A4.4/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and destructiveHint=false. The description adds context by specifying the data source (same official municipality data) and what is excluded ('no scores'), which goes beyond the structured annotations. It does not mention rate limits or error handling, but for a read-only lookup this is sufficient.

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 sentences, front-loaded with the key reference to get_municipality_context. Every sentence adds meaningful information (input options, output type, data policy) without redundancy.

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?

Given an output schema exists and annotations cover safety, the description explains the core use case well. It clearly indicates how to specify input (station name or ID) and what the output represents. It omits hypothetical edge cases, but overall it is complete for a tool of this complexity.

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 covers 100% of parameters with descriptions, providing a baseline of 3. The tool description adds valuable examples (Shinjuku / 新宿 / Musashi-Kosugi and st_00001) and clarifies the mutual exclusivity implicit between station_name and station_id, enriching the schema's bare parameter descriptions.

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 returns official municipality context resolved from a station, with specific input examples (station name or station_id). It also distinguishes from get_municipality_context and clarifies 'no scores', making its purpose unambiguous.

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?

It explicitly references get_municipality_context and explains the key difference—resolved from a station—which tells when to use this tool. It gives clear input instructions, though it does not explicitly state when not to use it or name alternative tools beyond the municipality counterpart.

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