Skip to main content
Glama

Railroad Track Inspection Check

wever_rail-track-inspection-check
Read-only

Agent Railroad Records: submit a railroad track inspection record, the track inspection file in its two entry classes: the reading moment; each scheduled inspection entry with its id, the track segment code, the inspection kind (visual, geometry, ultrasonic, walking or special), the due day and the inspected day; each defect entry with its id, the track segment code, the day found, the defect code, the defect category (geometry, rail flaw, tie, fastening, ballast, drainage, joint or other), the remediation due day, the remediation entry day and the remediation status (open or closed). The signed report gives the inspection file and the entries behind it, each inspection due by the reading moment against an inspected day, each defect past its remediation day against a remediation entry, each defect against an earlier closed defect with the same code on the same segment, and each defect marked closed against its remediation entry, and counts them, and names divergent railroad track inspection records: an inspection due with no inspected day, a defect past its remediation date, a defect repeated after closure, and a closure with no remediation entry; then an inspection held after its due day and a remediation dated before its defect, with the fix for each and what would change the verdict. No inspection or defect entries leaves the record unverified. Entries, segments and defect codes match by letters and digits, kinds and categories as written, dates by the day, and anything due after the reading moment waits. This reads the inspection and defect entries only: no narrative inspection report, accident report, crew record or train paper is an input. Verdict railroad_track_inspection_divergent, railroad_track_inspection_partial, railroad_track_inspection_unverified or railroad_track_inspection_consistent. POST /api/rail-track-inspection-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": {
      "inspections": "<inspections>",
      "defects": "<defects>"
    },
    "name": "wever_rail-track-inspection-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoThe reading moment, such as 2026-03-02.
defectsYesDefect entries with their remediation.
inspectionsYesScheduled track inspection entries.

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 readOnly/destructive annotations it discloses a lot of behavioral context: the operation is read-only, it 'operates nothing, inspects nothing in person, certifies no one', makes no network request or external write, it requires an X-Wever-Wallet-Proof bound to the exact arguments and route, it costs 0.10 USDC per call with 10 free signed-wallet calls per 30 days, and it returns an Ed25519-signed receipt. It also explains the decision logic (due vs inspected, defect vs remediation date, repeat-after-closure, closure without remediation). The only gap is that idempotentHint=false is not addressed — nothing says whether a repeated call is re-charged or duplicates a record.

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 in the first clause, but the body is a single sprawling block of several hundred words that spends substantial space enumerating irrelevant agent families (customs, healthcare, insurance, waste, automotive, maritime) and restating the same read-only guarantee three times. Much of that is boilerplate that does not change how the tool is invoked, and the key call-shaping sentences are hard to locate.

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 return-value burden and does so: it names all four verdicts, the findings and their fixes, and 'what would change the verdict'. Taken together with the 100%-covered input schema, an agent has enough to invoke the tool correctly, though the density of unrelated record-family exclusions makes the operational core harder to extract than it should be.

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 baseline would be 3; the description earns above that by adding matching rules that the schema does not state: 'entries, segments and defect codes match by letters and digits, kinds and categories as written, dates by the day, and anything due after the reading moment waits'. That tells the agent how identifiers are compared and how the as_of cutoff affects due dates. It still does not clarify optionality expectations — for example whether defects may reference segments absent from inspections.

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 clause gives a concrete verb and resource — 'submit a railroad track inspection record' — and enumerates the two entry classes (inspections and defects) plus the four possible verdicts, so an agent can tell this apart from the locomotive, signal, and grade-crossing checks. The purpose is nonetheless buried under a very long block of prose, and the distinction from siblings is only implied by scope wording rather than stated as an explicit routing rule.

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 exclusions: 'no narrative inspection report, accident report, crew record or train paper is an input', and it enumerates which record families belong to other agents (logistics, customs, bookkeeping, hiring, healthcare, insurance). What is missing is an explicit 'use this when X, use wever_rail-locomotive-inspection-record-check when Y' statement, so the agent must infer the boundary from the exclusion list.

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