Skip to main content
Glama

Railroad Grade Crossing Record Check

wever_rail-grade-crossing-record-check
Read-only

Agent Railroad Records: submit a railroad grade crossing record, the crossing inventory with its warning-device and inspection entries, read from its inventory and inspection fields only: the reading moment; the inventory with the crossing inventory number code, the warning devices it lists (crossbuck, stop sign, flashing lights, gates, bells, pavement markings or other device) and the day it was updated; each warning-device entry with its id, the device, its status (in service, out of service or removed) and the day recorded; each inspection entry with its id, the device, the day inspected, the result (passed or failed) and the next due day it states. The signed report gives the inventory and the entries behind it, each listed device against its latest device entry, each device in service against the inventory, each listed device against its latest inspection and the next due day that inspection states, and each failed inspection against a later passing inspection of the same device, and counts them, and names divergent railroad grade crossing records: a listed device out of service or removed, a device in service the inventory does not list, a listed device past its next inspection due day or with no inspection, and a failed inspection with no later passing inspection; then a device the inventory lists twice and an entry with no date, with the fix for each and what would change the verdict. No inventory devices, device entries or inspection entries leaves the record unverified. Entries and the inventory number match by letters and digits, devices, statuses and results as written, dates by the day. Inventory and inspection fields only: crossing accident reports and casualty reports are no input, and the schema carries no accident, vehicle, driver, injury or narrative field. Verdict railroad_grade_crossing_record_divergent, railroad_grade_crossing_record_partial, railroad_grade_crossing_record_unverified or railroad_grade_crossing_record_consistent. POST /api/rail-grade-crossing-record-check. Reads the railroad records the railroad operator supplies in the call and returns a signed report with the verdict, the evidence read, the findings with their fixes, and what would change the verdict; it reads the records as supplied only: it operates nothing, inspects nothing in person, certifies no one and contacts no authority, crossing owner or crew member, and the records stay in the report, with no network request, fetch, message, payment or external write. Agent Railroad Records reads a railroad operator’s own locomotive, track, signal, crossing, crew-qualification, maintenance and incident paper, the locomotive inspection, track inspection, signal inspection, grade crossing, crew hours, crew credential, maintenance and incident records, and never cargo content, a border filing or a person’s record in any form: passenger records, train consist records and waybills in any form, cargo content, hazmat and dangerous-goods detail, crew lists and any name-bearing crew record, crew medical files, federal accident reports and casualty reports (grade-crossing accident reports included), railroad operations counts and repatriation records are no input to any check, and neither are names, identity documents, dates of birth, contact details, background checks, health content, payroll, incident narratives, allegation paper or surveillance logs. Freight and movement counts belong to Agent Logistics and Agent Inventory; customs entries and border filings belong to Agent Customs Records; bills of sale, leases, financing, freight charges and payment records belong to Agent Bookkeeping and the payment families; crew hiring, background checks, identity documents, payroll, wages and timesheets belong to Agent Hiring, Agent Labor Verification and Agent Bookkeeping; health and medical records belong to Agent Healthcare; insurance policies and claims belong to Agent Insurance and Agent Claims; waste and hazardous-waste manifests belong to Agent Waste and Recycling Records; vehicle records belong to Agent Automotive; and vessel records belong to Agent Maritime Records. The family’s ground is the railroad operator’s own paper trail: whether the locomotive record’s roster, registry, class, inspection status and certificates match the locomotive’s own entries, whether track inspections fall due on time and defects carry their remediation, whether signal devices are tested inside their stated intervals and failed tests are cleared, whether a grade crossing inventory matches its warning-device entries and its inspections stay current, whether aggregate crew hours sit inside the operator’s own stated limits, whether crew credentials cover the roles the record requires, whether maintenance keeps its intervals and parts, and whether incidents carry their notifications and filings. Paid URL: 0.10 USDC per call on Base via x402 exact, with the shared 10 signed-wallet free calls per rolling 30 days. Bind X-Wever-Wallet-Proof to the exact JSON arguments and the tool route. Returns a report with an Ed25519 signed receipt. Contract: /api/agent-railroad-records-contract. Human page: https://weverlabs.com/agent-railroad-records/.

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": {
      "inventory": "<inventory>",
      "devices": "<devices>",
      "inspections": "<inspections>"
    },
    "name": "wever_rail-grade-crossing-record-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoThe reading moment, such as 2026-03-02.
devicesYesWarning-device entries.
inventoryYes
inspectionsYesWarning-device inspection entries.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior5/5

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

Beyond the annotations, the description discloses that it only reads supplied records, performs no external write, network fetch, message, payment, physical inspection, or certification, and returns a signed Ed25519 receipt. It also adds pricing, wallet-proof authentication, free-call limits, report contents, and verdict semantics, all consistent with readOnlyHint=true, openWorldHint=false, and destructiveHint=false.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness2/5

Is the description appropriately sized, front-loaded, and free of redundancy?

The purpose is front-loaded, but the definition is massively overlong and includes family-wide exclusions, cross-domain ownership routing, contract and human-page links, and pricing details that do not help an agent invoke the tool. Several long run-on sentences make the definition harder to scan.

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?

For a complex nested-input tool with no output schema, the description explains the required inputs, verdicts, report contents, findings with fixes, and what would change the verdict. It is complete enough to call correctly and interpret the result, even though it is over-detailed.

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?

The schema already documents most fields at 75% coverage, but the description adds meaningful matching semantics: inventory numbers match by letters and digits, devices/statuses/results match as written, and dates match by day. It also restates the nested inventory, device, and inspection fields, though it does not add every constraint.

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 verb and resource: submit a railroad grade crossing record consisting of an inventory, warning-device entries, and inspection entries, with named verdicts. The scope is clear enough to separate it from most other rail record checks, though it does not explicitly name siblings such as signal-inspection or track-inspection checks.

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 explains the applicable record type and states that accident, casualty, vehicle, injury, and narrative fields are no input, while routing unrelated domains to other agents. However, it does not explicitly say when to use this check versus sibling rail checks like rail-signal-inspection-record-check, so selection among rail record tools remains inferred.

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.

Resources