Skip to main content
Glama

US Amtrak Real-Time Passenger Rail Telemetry MCP

Get Amtrak station details

get_amtrak_station_details
Read-onlyIdempotent

Retrieve full station metadata, street address, coordinates, timezone, and currently scheduled active trains for a 3-letter Amtrak station code.

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": {
      "station_code": "<station_code>"
    },
    "name": "get_amtrak_station_details"
  }
}

Input Schema

NameRequiredDescriptionDefault
station_codeYes3-letter Amtrak station code (e.g. "NYP", "WAS", "CHI", "BOS").

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint, and destructiveHint=false, so the safety profile is covered. The description adds real value by disclosing that the response includes live 'currently scheduled active trains' in addition to static metadata, but says nothing about error handling, rate limits, or data freshness beyond that phrase.

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 sentence with no filler; the verb and the scoping condition come first, and the returned fields are enumerated compactly. Nothing could be removed without losing information.

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 one-parameter read tool with rich annotations, the description covers the essentials and, absent an output schema, sketches the return contents (address, coordinates, timezone, active trains). It stops short of describing the response shape or failure behavior, which is the main remaining gap.

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

Parameters4/5

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

Schema coverage is 100% and the single parameter is already documented with examples (NYP, WAS, CHI, BOS). The description reinforces the '3-letter Amtrak station code' format, which usefully clarifies the expectation even though the schema allows 2–5 characters. This is a modest but genuine addition over the schema.

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 ('Retrieve') and names the resource plus the concrete payload: station metadata, street address, coordinates, timezone, and currently scheduled active trains. The qualifier 'for a 3-letter Amtrak station code' scopes it to a single station, which implicitly separates it from list_amtrak_stations, though 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?

Usage is only implied: an agent can infer this is the lookup to use when it already has a station code. There is no explicit when-to-use statement, no mention of when to prefer list_amtrak_stations or get_amtrak_train_status instead, and no note on what happens with an invalid code.

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

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.