Skip to main content
Glama

Odpt Station Timetable

odpt_station_timetable
Read-onlyIdempotent

Scheduled departure timetable at a Japanese train station (Tokyo Metro, JR East, Toei and other Japan railway operators): destination, departure time, train type and direction, for weekday/Saturday/holiday calendars. Resolve the station first with odpt_resolve_station to get its exact station_id (or pass a plain station name and this will resolve it for you, taking the first match). Needs an ODPT developer consumer key via _apiKey; Pipeworx supplies one if omitted. Example: odpt_station_timetable({ station: "Shinjuku", operator: "Tokyo Metro" }).

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": {
      "station": "Hakusan",
      "operator": "Toei"
    },
    "name": "odpt_station_timetable"
  }
}

Input Schema

NameRequiredDescriptionDefault
_apiKeyYesOptional: your own ODPT developer consumer key. Pipeworx supplies one if omitted.
railwayNoOptional: keep only this railway, e.g. "odpt.Railway:TokyoMetro.Marunouchi".
stationYesStation name (English or Japanese) or an exact odpt.Station id from odpt_resolve_station.
calendarNoOptional: keep only this calendar, e.g. "odpt.Calendar:Weekday" or "odpt.Calendar:SaturdayHoliday".
operatorNoOperator to search when `station` is a plain name and could match more than one operator, e.g. "Tokyo Metro".

Output Schema

NameRequiredDescriptionDefault
sourceNo
stationNo
data_as_ofNo
timetablesNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive and open-world behavior, so the bar is lower. The description adds genuinely useful disclosure beyond them: the consumer-key/auth requirement, that Pipeworx supplies a key if omitted, and the risky silent behavior of 'taking the first match' when a plain name is ambiguous. It does not mention rate limits or result-size limits.

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?

Front-loaded with the resource and what it returns, followed by the resolution prerequisite, auth note, and a compact example — a sensible ordering with no filler. The _apiKey explanation appears in both the description and the schema, a minor 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?

For a read-only, open-world lookup with a full output schema and 100% documented params, the description covers what an agent still needs: how to identify the station, the ambiguity fallback, and auth. Nothing critical is missing, though a one-line note on result volume/paging would close the last gap.

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 the schema already documents all five parameters and the baseline is 3. The description reinforces station name-vs-id usage, the first-match fallback, and supplies a concrete example call, but the meaning of operator/railway/calendar filtering largely duplicates the schema text.

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?

States a specific verb+resource ('Scheduled departure timetable at a Japanese train station') and enumerates the returned fields (destination, departure time, train type, direction), plus the operators covered. It does not explicitly distinguish itself from the sibling odpt_train_timetable, so an agent must infer the station-vs-train scope difference from the name alone.

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?

Gives a clear workflow: resolve the station first via odpt_resolve_station, or pass a plain name and accept the first match. The _apiKey fallback is also explained. It stops short of saying when to prefer this over odpt_train_timetable or when-not to use it, so no exclusions are stated.

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.