Skip to main content
Glama
groundcobra009

yahoo-transit-mcp

駅の時刻表

get_timetable

Retrieve departure timetables for a station, filtered by line, direction, and time range. If the line or direction is ambiguous, a list of candidates is returned to refine the query.

Instructions

指定駅・路線・方面の発車時刻表を取得する。路線・方面が曖昧な場合は候補一覧をエラーとして返すので、それを見て絞り込んで再実行する。

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
lineNo路線名の部分一致(例: 山手線、東海道新幹線)
hourToNoこの時台以前のみ返す
dayTypeNoweekday=平日 / saturday=土曜 / holiday=日祝weekday
stationYes駅名 または 駅コード(search_stationで取得)
hourFromNoこの時台以降のみ返す
directionNo方面の部分一致(例: 品川・渋谷方面 なら 品川)
Behavior4/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It reveals a non-obvious behavior: ambiguous line/direction leads to an error containing a candidate list, prompting the user to refine. It does not mention rate limits or return format, but for a read-only timetable lookup, the disclosed ambiguity handling adds meaningful insight.

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?

The description is concise, consisting of two sentences. The first sentence states the core purpose, and the second explains the error-handling behavior. There is no redundant or extraneous information, and the structure is front-loaded with the main action.

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?

The tool has no output schema and no annotations, so the description must provide sufficient context. It covers the core function and the key ambiguity error behavior. The schema itself references search_station for station codes, which mitigates the need for the description to do so. Overall, it is fairly complete for a straightforward retrieval tool.

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 input schema has 100% description coverage for all six parameters, including examples and enums. The description adds no additional parameter-specific semantics beyond restating station/line/direction as the main selectors. Since the schema already documents parameters thoroughly, the baseline score of 3 is appropriate.

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 it retrieves departure timetables for a specified station, line, and direction. This is distinct from the sibling tools (search_station, search_route, get_train_status). The verb '取得する' and resource '発車時刻表' are specific and 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?

The description provides clear context for when to use the tool: obtaining timetables with optional line/direction filtering. It also instructs the user to refine and retry when ambiguous line/direction causes an error. However, it does not explicitly mention when not to use this tool or compare it to alternatives.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/groundcobra009/yahoo-transit-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server