Skip to main content
Glama

odpt_railway_timetable

Retrieves railway timetables from Japan’s ODPT public transit API using operator, line, and station identifiers; requires an ODPT API key.

Instructions

【ODPT/公共交通】鉄道時刻表取得(※APIキー登録必要・実装保留中)

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

Input Schema

NameRequiredDescriptionDefault
railwayNo路線(例: "odpt.Railway:TokyoMetro.Ginza")
stationNo駅(例: "odpt.Station:TokyoMetro.Ginza.Shibuya")
operatorNo事業者(例: "odpt.Operator:TokyoMetro")

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.4/5.0
Behavior3/5

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

No annotations are supplied, so the description carries the full burden. It does disclose two genuinely valuable traits: an authentication prerequisite (API key registration) and that the tool is currently unimplemented (実装保留中). It says nothing about return shape, whether all parameters are optional filters, or what happens with an empty parameter set.

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?

A single compact line with the resource front-loaded and the two caveats parenthesized at the end. Nothing is wasted. The category tag slightly overlaps the tool name's own ODPT prefix, a minor redundancy.

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

Completeness3/5

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

For a simple three-optional-parameter read tool with full schema coverage and no output schema, the description covers purpose plus the two caveats an agent most needs. It is still incomplete on parameter interaction and what a response contains, which matters here because there is no output schema or annotation to fill those gaps.

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% — all three string parameters (railway, station, operator) carry IDs with concrete examples. The description adds no meaning beyond that, so the baseline of 3 applies. It does not clarify whether the parameters are AND-combined filters or which combinations are valid.

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?

The description names a specific verb (取得 / retrieval) and resource (鉄道時刻表 / railway timetable), and pairs it with the domain tag 【ODPT/公共交通】. This clearly separates it from the sibling odpt_bus_timetable without needing to open either schema. It stops short of 5 only because it gives no scope detail (e.g., by station vs. by line vs. by operator).

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The description never says when to use this versus alternatives, nor how to combine the optional filtering parameters. It does, however, surface two usage-critical conditions — API key registration required and 実装保留中 (implementation pending) — which at least warn an agent before it calls the tool. That is useful but not a real when/when-not routing rule.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools