Skip to main content
Glama
tokyo-transit-mcp
by loosephoto

Get Running Status

get_running_status
Read-onlyIdempotent

Fetches real-time train running status for Tokyo transit operators and lines from official sources, returning per-line normal, delayed, partially suspended, or suspended service states.

Instructions

🚦 リアルタイム運行状況検索 - 指定事業者(または全事業者)の列車運行状況を公式ページから取得し、路線別ステータス(平常運転/遅延/一部運休/運転見合わせ)で返す。operator 指定で絞り込み、省略/ all で全事業者。language(ja/en/zh)指定で応答言語を強制可能。

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

Input Schema

NameRequiredDescriptionDefault
languageNo応答言語の強制指定(省略時は operator から自動判定)
operatorNo事業者キー(例: jreast, tokyometro, tobu。省略 or all で全事業者)

Output Schema

NameRequiredDescriptionDefault
statusYesSUCCESS / NO_DATA / ERROR など
messageNo
detected_languageNoja / en / zh

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changedv2.58.27
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "$schema": "http://json-schema.org/draft-07/schema#",
      +  "additionalProperties": true,
      +  "properties": {
      +    "detected_language": {
      +      "description": "ja / en / zh",
      +      "type": "string"
      +    },
      +    "message": {
      +      "type": "string"
      +    },
      +    "status": {
      +      "description": "SUCCESS / NO_DATA / ERROR など",
      +      "type": "string"
      +    }
      +  },
      +  "required": [
      +    "status"
      +  ],
      +  "type": "object"
      +}
  2. Addedv2.58.7

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, open-world, non-destructive behavior, and the description adds real value on top: it discloses that data is fetched live from official pages (explaining the open-world hint) and that responses can be forced into ja/en/zh. It stops short of mentioning rate limits, caching, or failure modes for unavailable operators.

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?

A single dense, front-loaded block: purpose first, then output shape, then parameter scoping. Every clause carries meaning and there is no filler or repetition.

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

Completeness5/5

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

With only 2 optional, fully-documented parameters, an output schema covering return values, and annotations covering the safety profile, the description supplies everything else an agent needs — data source, response categories, and the all-operators default — leaving no material 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 both parameters are already fully documented, including the enum and the auto-detection fallback. The description restates the operator filtering and the ja/en/zh language forcing but adds no syntax or format detail beyond the schema, so the baseline of 3 applies.

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?

States a specific verb (取得/fetch) and resource (リアルタイム運行状況, train running status) and enumerates the exact return categories (平常運転/遅延/一部運休/運転見合わせ), so an agent can immediately distinguish it from siblings like get_timetable or get_operator_routes.

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 explains how to scope the call — operator to narrow, omit or 'all' for all operators — but gives no guidance on when to prefer this tool over alternatives or when not to use it (e.g. historical vs real-time queries). Usage is implied rather than explicitly routed.

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