Skip to main content
Glama

Railroad Crew Hours Record Check

wever_rail-crew-hours-record-check
Read-only

Agent Railroad Records: submit a railroad crew hours record as aggregate hours on and off duty by role and period against the limits the operator’s own record states: the reading moment; the limits with the most on-duty hours in one duty period and the least rest between duty periods the record states; each period entry with its id, the role (locomotive engineer, conductor, dispatcher, signal employee or other role), its first and last day, the positions in the aggregate, the on-duty and off-duty hours, the longest duty period and the shortest rest between duty periods any position in the aggregate recorded, and the exceptions the record states. The signed report gives the hours and the records behind them, each period’s longest duty against the stated maximum and its shortest rest against the stated minimum where it states no exception, each period’s on-duty and off-duty hours against its positions times the hours in the period, and each role for a gap between its periods, and counts them, and names divergent railroad crew hours records: a longest duty above the stated maximum, a shortest rest below the stated minimum, hours that do not recompute, and a period missing between recorded periods; then two entries for one role and period and an entry missing a count, with the fix for each and what would change the verdict. No period entries, or no stated limits beside periods, leaves those points unverified. Entries match by letters and digits, roles as written, periods by their first and last day, hours as whole numbers, and a period holds its positions times 24 hours for each day, both days counted. Aggregates only: no name, identity field, per-person schedule, tour of duty or individual timesheet is an input, and a named hours-of-service record does not match the input shape. Verdict railroad_crew_hours_record_divergent, railroad_crew_hours_record_partial, railroad_crew_hours_record_unverified or railroad_crew_hours_record_consistent. POST /api/rail-crew-hours-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": {
      "limits": "<limits>",
      "periods": "<periods>"
    },
    "name": "wever_rail-crew-hours-record-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoThe reading moment, such as 2026-03-02.
limitsYes
periodsYesAggregate hours by role and period.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4/5.0
Behavior5/5

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

Beyond the annotations (readOnly, closed-world, non-destructive) it discloses substantial operational context: it reads records only as supplied, operates nothing, inspects nothing in person, makes no network request, message, payment or external write, and returns an Ed25519-signed receipt. It also discloses the access model (X-Wever-Wallet-Proof bound to the exact JSON arguments and route) and the pricing structure (0.10 USDC per call via x402 exact plus 10 signed-wallet free calls per 30 days). This is exactly the auth/payment/scope context the annotations cannot carry, and nothing contradicts them.

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 description runs to roughly a thousand words for a three-parameter check, and large blocks — the enumeration of every Agent Railroad Records document type, the exhaustive list of forbidden data, and the routing of freight, customs, bookkeeping, hiring, healthcare, insurance, waste, automotive and maritime concerns to other families — do not help a caller select or invoke this tool. Front-loading is adequate (the operation and verdicts come first), but the density of comma-spliced clauses makes it hard to scan and several sentences could be deleted with no loss.

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?

There is no output schema, so the description carries the return burden and does so: it enumerates the four verdict values, describes the signed report contents (hours, evidence read, findings against maxima/minima, fixes, what would change the verdict), and explains the partial/unverified cases when limits or periods are absent. Combined with the annotation-covered safety profile, an agent has enough to call it correctly, though the boundary between the 'partial' and 'unverified' verdicts could be stated more crisply.

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?

With 67% schema description coverage on three parameters (one nested), the description goes meaningfully beyond the schema by stating matching and validation semantics: entries match by letters and digits, roles as written, periods by first and last day, hours as whole numbers, and 'a period holds its positions times 24 hours for each day, both days counted.' It also spells out what each period field means against the stated limits and what an entry missing a count triggers. Some fields (exceptions, positions) are only restated rather than elaborated, which keeps it below a 5.

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 first sentence states a specific operation on a specific resource: submitting aggregate crew hours on/off duty by role and period, checked against the operator's own stated duty_max and rest_min limits, with named verdict constants. It is distinguishable from siblings such as wever_rail-crew-credential-record-check because it explicitly limits scope to aggregate hours rather than credentials. The core purpose is clear, though it is embedded in a very long run-on sentence and the sibling differentiation has to be inferred from the family-scope paragraphs rather than stated directly.

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 concrete when-not guidance: 'No period entries, or no stated limits beside periods, leaves those points unverified' and 'Aggregates only: no name, identity field, per-person schedule, tour of duty or individual timesheet is an input, and a named hours-of-service record does not match the input shape.' It also routes adjacent domains (credentials, payroll/timesheets, incidents, customs) to other agent families. It stops short of naming the specific sibling a caller should use instead, e.g. wever_rail-crew-credential-record-check for role credentials.

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