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

List Transit Operators

list_transit_operators
Read-onlyIdempotent

Lists Tokyo transit operators by mode, including rail, monorail, tram, bus, and ferry, with an optional type filter to find relevant operators for trip planning.

Instructions

交通事業者一覧 - 鉄道・AGT・モノレール・路面電車・フェリーの全事業者を種別フィルター付きで表示。

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

Input Schema

NameRequiredDescriptionDefault
languageNo
type_filterNo

Output Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed2 schema fields changedv2.58.27
    • changedInput schema / properties / type_filter / enum
      Previous value: -[
      -  "rail",
      -  "agt",
      -  "monorail",
      -  "tram",
      -  "all"
      -]New value: +[
      +  "rail",
      +  "agt",
      +  "monorail",
      +  "tram",
      +  "bus",
      +  "ferry",
      +  "all"
      +]
    • 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. Changed3 schema fields changedv2.58.7
    • addedInput schema / $schema
      Added value: +"http://json-schema.org/draft-07/schema#"
    • addedInput schema / additionalProperties
      Added value: +false
    • removedInput schema / required
      Removed value: -[]
  3. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, openWorldHint=true and destructiveHint=false, so the safety profile is fully covered structurally. The description adds a modest amount beyond that — it discloses the complete scope ('全事業者') and the covered transport modes — but says nothing about result volume, pagination, or ordering, which matters for an open-world list tool. With annotations doing most of the work, a 3 is appropriate.

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 front-loaded sentence with no filler: it names the resource, then the covered modes, then the filter. The label-dash-summary structure is skimmable. Slight loss because the compressed phrasing is where the missing bus/language coverage could have gone at nearly no length cost.

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?

The tool is simple (two optional enum parameters, an output schema exists so return shape needn't be described) and the annotations are rich, which lowers the burden considerably. Still, the description leaves the language parameter unaddressed and its mode list disagrees with the enum by dropping 'bus', so an agent cannot fully resolve behavior from the definition alone.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema description coverage is 0%, so the description must carry parameter meaning, and it only partially does. It mentions a type filter and names rail, AGT, monorail, tram and ferry, but omits 'bus' from the type_filter enum and never mentions the 'language' parameter (ja/en/zh) at all. Half the parameter surface is undocumented outside the bare enum values, so it fails to compensate for the coverage gap.

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 states a specific verb and resource ('交通事業者一覧' – list/display transit operators) and adds scope: all operators across rail, AGT, monorail, tram and ferry, with a type filter. An agent can tell this is a list-all tool rather than a lookup/search, though it never explicitly contrasts itself with siblings such as list_community_buses or list_ferry_ports.

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?

Usage is only implied: the word '一覧' plus '全事業者' signals a browse/enumerate use case, and the type filter hints at narrowing by mode. There is no explicit when-to-use vs. when-to-use-a-sibling guidance and no exclusions, so the agent must infer that this is the entry point before calling get_operator_routes or get_running_status.

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