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 impacts — with 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".

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. First observed

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, openWorld, non-destructive, so safety is covered. The description adds substantive behavior: the source dataset, coverage window, ordering (newest first), and the exact fields returned including cause codes and casualty/damage fields — useful context beyond what annotations provide.

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?

The purpose and coverage are front-loaded, followed by return fields, ordering, filters and examples. It is a long sentence but each clause (dataset, fields, ordering, filters, use cases) carries information; minor redundancy in the cause-code examples.

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 does well to enumerate returned fields and default ordering, and all seven optional parameters are documented. It stops short of explaining whether filters combine with AND logic or how to page beyond the limit parameter, but nothing critical is missing for correct invocation.

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%, and the schema already documents every parameter including the cause-code prefix semantics and accident-type substrings. The description largely restates those filters and example values without adding new syntax or combination rules, so the baseline 3 applies.

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 states a specific resource (US train accidents/derailments from FRA Form 54, 1975–present) and specifies it returns individual reports rather than aggregates, which implicitly separates it from rail_accident_summary. It never names that sibling explicitly, so it falls short of full sibling differentiation.

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?

It gives clear usage context with concrete example queries ('train derailments in Ohio in 2023', 'Norfolk Southern accidents') and lists the available filter dimensions with a sensible ordering guarantee (newest first). It does not state when to prefer rail_accident_summary or note exclusions, so no explicit when-not guidance.

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.