Skip to main content
Glama

Rail Accidents

rail_accidents
Read-onlyIdempotent

US train accidents and derailments reported to the Federal Railroad Administration (FRA Form 54, 1975-present). Returns individual rail equipment accident reports, derailments, train collisions, obstruction and other impactswith date, reporting railroad (e.g. UP, BNSF, CSX, NS, Amtrak), accident type, FRA primary cause code and description (e.g. H702 "Switch improperly lined", T110 "Wide gage"), state and county, train speed, hazmat cars released, people evacuated, killed, injured and damage cost. Newest first. Filter by year, state, railroad, cause code or accident type. Use for "train derailments in Ohio in 2023", "Norfolk Southern accidents", "rail accidents caused by broken rails".

Example tool call

This call uses example arguments supplied in the tool’s input schema.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "year": 2023,
      "limit": 5,
      "state": "OH",
      "railroad": "NS"
    },
    "name": "rail_accidents"
  }
}

Input Schema

NameRequiredDescriptionDefault
yearNoCalendar year of the accident (1975-present), e.g. 2023.
limitNoMax reports to return (default 25, max 200).
stateNoUS state as a two-letter code or full name, e.g. "OH" or "Ohio".
railroadNoReporting railroad: a reporting-mark code ("UP", "BNSF", "CSX", "NS", "ATK") or part of its name ("Norfolk Southern").
cause_codeNoFRA accident cause code or its prefix: "H702" exactly, or "T" for all track causes, "H" human factors, "E" equipment, "S" signal, "M" miscellaneous.
accident_typeNoAccident type text, matched as a substring: "Derailment", "Head on collision", "Rear end collision", "Side collision", "Raking collision", "Hwy-rail crossing", "Obstruction", "Fire/violent rupture", "Other impacts".
min_damage_usdNoOnly accidents with total reported damage at or above this amount in US dollars.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedInput schema / properties / year / description
      Previous value: -"Calendar year of the accident (1975–present), e.g. 2023."New value: +"Calendar year of the accident (1975-present), e.g. 2023."
  2. First observed

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare read-only, idempotent, non-destructive, open-world behavior, so the bar is lower; the description adds genuinely new context: the upstream source (FRA Form 54), the temporal coverage starting 1975, that results are individual reports rather than aggregates, and that ordering is newest-first. It does not discuss pagination beyond the schema's limit, which keeps it from a 5.

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?

Front-loaded with the dataset and coverage window, then return fields, then ordering, then filtering, ending with use-case examples — a sensible funnel. The long field-enumeration sentence is dense but every element is informative; no filler or tautology.

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 carries the burden of describing return values and does so thoroughly, plus source, coverage window and sort order. Minor gaps remain around result volume/paging behavior and whether filters combine, but nothing an agent needs to call it correctly 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 parameter meaning is already fully documented, including examples, defaults and max values. The description restates the filter dimensions and repeats a couple of example codes (H702, T110) but adds no semantics the schema lacks, so baseline 3 applies.

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?

Specific verb+resource: returns individual FRA rail equipment accident reports (Form 54, 1975-present), with the exact entity types covered (derailments, collisions, obstruction, other impacts). The returned field list (date, reporting railroad, cause code, state/county, speed, hazmat, casualties, damage) makes the resource unmistakable and clearly distinct from an aggregate/summary tool.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Explicitly says what to use it for with three concrete example queries ("train derailments in Ohio in 2023", "Norfolk Southern accidents", "rail accidents caused by broken rails") and enumerates the filter dimensions. It gives no exclusion guidance (e.g., when to prefer an aggregate sibling), so it falls short of a 5.

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.