Skip to main content
Glama

Taiwan Railway fares

tra_fare
Read-only

Query Taiwan Railway single-journey fares in NT$ between two stations by train type and passenger type, including distance.

Instructions

TRA single-journey fares between two stations in NT$ per train type (自強, 莒光, 區間, ...) and passenger type, with the distance. Example: from "臺北", to "高雄".

Input Schema

NameRequiredDescriptionDefault
toYesArrival TRA station: name (臺北, 台中, Hualien) or station ID (1000).
fromYesDeparture TRA station: name (臺北, 台中, Hualien) or station ID (1000).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true and openWorldHint=true, so the safety profile is clear. The description adds valuable behavioral context by specifying that fares are returned per train type and passenger type, along with distance—information not present in annotations. No rate limits or error behavior are described, but that is less critical here.

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 a single, front-loaded sentence with an example, containing no redundant or filler content. Every part earns its place.

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?

Given the tool's simplicity, rich parameter schema, and the absence of an output schema, the description is complete enough: it clarifies the return content (fares per train type/passenger type, distance) and provides a usage example. Nothing essential for correct invocation is missing.

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 the schema already documents both parameters thoroughly. The description provides an example (from '臺北' to '高雄') that illustrates station name usage, but it adds little beyond what the schema already conveys. Baseline 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 states a specific verb (fares) and resource (TRA single-journey between two stations), and distinguishes itself from timetable/train siblings by focusing on fares. It also details the output breakdown by train type, passenger type, and distance.

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 context implies usage (when you need TRA fares between two stations), but there is no explicit guidance on when to choose this over alternatives like thsr_fare or tra_timetable. No exclusions or prerequisites are mentioned.

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