Skip to main content
Glama

Train status

get_train_status
Read-onlyIdempotent

Retrieve a live Amtrak train journey status by train number and optional service date, including every stop, scheduled and actual times, delays, track, and current location.

Instructions

Journey for one Amtrak train: every stop in order with scheduled, estimated, and actual times in the station's local zone, delay minutes, track when posted, whether the stop is completed, and where the train is now (last stop, next stop, and map position). Pass the train number and an optional origin service date.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "train": "<train>"
    },
    "name": "get_train_status"
  }
}

Input Schema

NameRequiredDescriptionDefault
trainYesTrain number, such as 67. Leading zeros and a leading A are ignored.
serviceDateNoService date YYYY-MM-DD. For a train this is the day it left its origin. Omit to use the trip closest to now.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, open-world, non-destructive behavior, so the safety profile is covered. The description adds genuinely useful behavior context beyond that: times are in the station's local zone, tracks are shown 'when posted', and it discloses current-position fields (last stop, next stop, map position). Auth, rate limits, and error behavior for invalid train numbers remain unstated.

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?

Two sentences, front-loaded with the core purpose and scope, followed by the call signature. The long enumeration of returned fields is dense but each clause conveys a distinct output element.

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?

With no output schema, the description must carry the return-value burden, and it does so thoroughly by listing times, delays, track, completion state, and current position. Minor gaps remain around error behavior and whether data is live versus cached.

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 documented in the schema, including the origin-date semantics and leading-zero handling. The description's 'train number and optional origin service date' merely restates them without adding format detail, making the baseline 3 appropriate.

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 opens with a specific verb-and-resource framing ('Journey for one Amtrak train') and enumerates the returned fields, so the agent knows exactly what data it gets. The 'one train' scope implicitly contrasts with sibling get_train_positions, but no sibling is named explicitly.

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?

It says to pass a train number and an optional origin service date, and the schema clarifies that omitting the date uses the trip closest to now. There is no explicit guidance on when to prefer this over get_train_positions or get_station_board.

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