Skip to main content
Glama

plan_route_map

Plan a rail or subway journey between two stations and view the route as a vertical timeline with station names, departure/arrival times, line colors, and transfer points.

Instructions

Plan a rail/subway journey and render it as a Yahoo!乗換案内-style vertical timeline (an inline interactive view on claude.ai). The view shows stations, departure/arrival times, line names in their official colors, and transfer points stacked vertically; the same itinerary is also returned as text. 'from' and 'to' are each a station name (e.g. "新宿") or a "lat,lon" coordinate. By default shows the best (fastest) itinerary; use 'routeIndex' to pick another. Prefer this over plan_journey when a visual route is helpful.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
toYesDestination: a station name or a "lat,lon" coordinate.
fromYesOrigin: a station name or a "lat,lon" coordinate.
routeIndexNoWhich itinerary to show, 0 = best/fastest (default 0).
Behavior4/5

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

Despite no annotations, the description discloses key behaviors: returns both visual timeline and text, shows stations, times, line colors, transfer points, accepts station names or coordinates. It could mention potential limitations like API availability or language support.

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 well-structured and concise, with the main purpose in the first sentence. It avoids redundancy and every sentence adds value.

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 no output schema, it adequately explains return format (visual timeline and text) and covers all parameters. Could briefly mention error handling or supported regions, but overall complete for the tool's 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 coverage is 100% so baseline is 3. Description adds meaning by explaining 'from' and 'to' can be station names or 'lat,lon' coordinates, and routeIndex selects itinerary (0=best). This goes beyond the schema's short 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 'Plan a rail/subway journey and render it as a Yahoo!乗換案内-style vertical timeline' with specific verb-resource pairing and distinguishes from sibling 'plan_journey' by emphasizing the visual output.

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

Usage Guidelines5/5

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

Explicitly advises 'Prefer this over plan_journey when a visual route is helpful', providing clear when-to-use guidance. Also explains default best itinerary and routeIndex for 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/ojimpo/otp-mcp'

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