Skip to main content
Glama

Railroad Maintenance Record Check

wever_rail-maintenance-record-check
Read-only

Agent Railroad Records: submit a railroad maintenance record as planned equipment maintenance against completed work, parts and intervals, structure only: the reading moment; the equipment the operator’s record lists; each planned task with its id, the task code, the equipment, the interval in days the plan sets, the plan start day and the part codes the task requires; each work entry with its id, the task code, the equipment, its status (completed or deferred), the completion day and the part codes it records. The signed report gives the plan and the work behind it, each planned task against a completion inside its interval up to the reading moment, each pair of successive completions against the interval the plan sets, each task and work entry against the equipment the operator’s record lists, and each completion of a task that requires parts against the part codes it records, and counts them, and names divergent railroad maintenance records: a planned task past its interval with no completion, completions further apart than the interval, work for equipment the operator’s record does not list, and a completion missing the part codes its task requires; then a work entry naming a task the plan does not hold and a completed entry with no date, with the fix for each and what would change the verdict. No planned tasks or work entries leaves the record unverified. Tasks, entries and part codes match by letters and digits, equipment by its words with plurals folded, dates by the day, a deferred entry completes nothing, and anything due after the reading moment waits. It plans, assigns and supplies no work and reads no narrative, cost, supplier, invoice or payment field. Verdict railroad_maintenance_record_divergent, railroad_maintenance_record_partial, railroad_maintenance_record_unverified or railroad_maintenance_record_consistent. POST /api/rail-maintenance-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": {
      "equipment": "<equipment>",
      "plan": "<plan>",
      "work": "<work>"
    },
    "name": "wever_rail-maintenance-record-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
planYesPlanned maintenance tasks.
workYesCompleted and deferred work entries.
as_ofNoThe reading moment, such as 2026-03-02.
equipmentYesEquipment the operator’s record lists.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior5/5

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

Beyond the readOnly/closed-world annotations, the description discloses the verdict enum, the signed Ed25519 receipt, the x402 price and free-call allowance, the wallet-proof binding requirement, and the explicit statement that nothing is fetched, messaged, paid or written externally. It also gives matching semantics (letters and digits for tasks and parts, plurals folded for equipment, day-granular dates, deferred entries completing nothing, future-dated work waiting), which materially affects how results should be read.

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 first sentence alone runs over a hundred words and chains the whole data model, matching rules and verdict set into one block. Large portions are family-wide exclusion boilerplate that recurs across sibling tools, and the verdict list, pricing and policy disclaimers are appended without structure. The valuable content is present but not front-loaded or scannable.

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 four-parameter, no-output-schema check tool, the description covers the input structure, the matching rules, the verdict taxonomy, the empty-input fallback, the returned report contents (verdict, evidence, findings with fixes, what would change the verdict), and the access and payment mechanics. An agent has everything needed to call it and interpret the result.

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%, so the schema already defines all four parameters, and the description largely mirrors it (plan tasks with interval, start and parts; work entries with status and completion day; equipment list; reading moment). It adds genuine meaning beyond the schema by explaining that the reading moment bounds which work counts and that deferred entries complete nothing, which is not stated in the field descriptions.

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 opening states a specific verb and resource: submit a railroad maintenance record and check planned tasks against completed work, parts and intervals, producing a named verdict. The later paragraph distinguishes its ground (maintenance intervals and parts) from the family's track, signal, crossing, crew-hours and credential checks. It stops short of naming sibling tools directly, so the differentiation is inferable but not explicit.

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 states clearly what is out of scope and which data families own it (freight counts, customs filings, payment records, crew hiring, health, insurance, waste, vehicle, vessel), which effectively routes an agent away from this tool for those inputs. It also states the empty-input case leaves the record unverified. What is missing is a direct 'use this instead of X' pointer to the nearest sibling, e.g. the track-inspection or signal-inspection checks.

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