Skip to main content
Glama

Metro fares

metro_fare
Read-only

Calculate single-journey metro fares in NT$ between two stations, including distance and passenger type, across Taiwan metro systems.

Instructions

Metro single-journey fares between two stations in NT$, per passenger type, with the distance. Example: system "TRTC", from "台北車站", to "淡水".

Input Schema

NameRequiredDescriptionDefault
toYesArrival metro station: name (台北車站, Ximen, 美麗島) or station ID (BL12).
fromYesDeparture metro station: name (台北車站, Ximen, 美麗島) or station ID (BL12).
systemYesMetro system: TRTC 臺北捷運 Taipei Metro, NTMC 新北捷運 (環狀線) New Taipei Metro, TYMC 桃園機場捷運 Taoyuan Airport MRT, TMRT 臺中捷運 Taichung MRT, KRTC 高雄捷運 Kaohsiung MRT, KLRT 高雄輕軌 Kaohsiung LRT, NTDLRT 淡海輕軌 Danhai LRT, NTALRT 安坑輕軌 Ankeng LRT.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.7/5.0
Behavior4/5

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

Annotations only say read-only and open-world; the description adds what comes back (fare in NT$, broken out by passenger type, plus distance), which is meaningful since no output schema exists. It stops short of naming the passenger types or stating whether cross-system trips are supported.

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?

One compact sentence followed by a concrete example, front-loaded with the core purpose. 'with the distance' is slightly tacked on but nothing is wasted.

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?

For a simple 3-parameter, read-only fare lookup with no output schema, the description covers purpose, currency, and the shape of the result. The remaining gap is which passenger types are returned and whether an unsupported station pair errors or returns null.

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 coverage is 100% and already documents station name/ID formats and every system enum value. The description's example adds a concrete TRTC/台北車站/淡水 call pattern, which is mildly useful but largely restates schema conventions.

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?

States a specific verb+resource: single-journey metro fares between two stations, with currency and per-passenger-type dimension. The 'metro' scope implicitly separates it from thsr_fare/tra_fare siblings, though it never names them.

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 by the worked example (system TRTC, from 台北車站, to 淡水). There is no explicit statement of when to choose this over thsr_fare or tra_fare, or any prerequisite such as both stations needing to be on the same system.

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