Skip to main content
Glama

Pipeline Leak Survey Record Check

wever_pipe-leak-survey-record-check
Read-only

Agent Pipeline Records: submit a pipeline leak survey record, survey and graded leak paper with the frequency and windows the record states: the reading moment; the program with the days between surveys of each segment, the days allowed to repair a grade 1 leak and the interval start; the segment or area codes the record lists; each survey entry with its id, the segment code, the method class (flame ionization, optical gas imaging, laser methane, combustible gas indicator, aerial survey or other method) and the day surveyed; each graded leak entry with its id, the segment code, the grade class (grade 1, grade 2 or grade 3), the day found and the recheck day; each repair entry and each recheck entry with its id, the leak entry it answers and the day recorded. The signed report gives the program and the entries behind it, each listed segment against its survey frequency, each grade 1 leak against a repair inside the stated days, each grade 2 leak against a recheck or repair by its recheck day, and each leak against the segments the record lists, and counts them, and names divergent pipeline leak survey records: a lapsed survey interval against the stated frequency, a grade 1 leak with no repair entry in the stated period, a grade 2 leak past its stated recheck day, and a leak entry for a segment the record does not list; then a repair or recheck dated before its leak was found and an entry with no date, with the fix for each and what would change the verdict. No frequency or repair window leaves those points unverified. Segments, leaks and entries match by letters and digits, grades and methods as written, dates by the day, and anything due after the reading moment waits. Operator survey fields only: no entry carries a reporter, a resident, a landowner or a name, and public leak reports are no input. Verdict pipeline_leak_survey_record_divergent, pipeline_leak_survey_record_partial, pipeline_leak_survey_record_unverified or pipeline_leak_survey_record_consistent. POST /api/pipe-leak-survey-record-check. Reads the pipeline records the pipeline 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 runs no pressure test, performs no dig, patrol, survey or repair, operates no valve or line and contacts no authority, landowner, resident or crew, and the records stay in the report, with no network request, fetch, message, payment or external write. Agent Pipeline Records reads a pipeline operator’s own integrity, pressure-test, line pipe, cathodic protection, leak survey, repair, right-of-way and release-event paper, the pipeline integrity, hydrostatic test, line pipe, cathodic protection survey, leak survey, repair, right-of-way and incident records, and never a person’s record in any form: operator qualification (OQ) records and evaluation files in any form (49 CFR 192.805 and 195.505), welder qualification and certification records and welding procedure paper in any form, inspector, tester and surveyor credential files in any form, drug and alcohol testing records (49 CFR Part 199), control room logs and shift records naming controllers and controller fatigue records, injury, fatality and hospitalization reports in any form (casualty-defined accident reports included), public leak reports and any record naming a reporting resident or landowner, and personnel, payroll and contractor-crew records in any form are no input to any check, and neither are names, identity documents, contact details, health content, incident narratives or allegation paper. Operator qualification and other worker credentials belong to Agent Labor Verification; hazardous-waste manifests and remediation cleanup paper belong to Agent Waste and Recycling Records; energy bills, tariffs, nominations and utility contracts belong to Agent Energy; insurance and spill-liability claim paper belongs to Agent Claims; product shipment, terminal loading and delivery paper belongs to Agent Logistics; and meter proving records belong to Agent Water Records. The family’s ground is the pipeline operator’s own paper trail: assessments and digs against the integrity record’s interval and due days, pressure tests against the stated ratio and hold, line pipe material and MAOP against the stated basis, cathodic protection surveys and rectifier checks against their intervals, leak surveys and graded leaks against their frequency and windows, repairs against the anomaly list, right-of-way patrols, encroachments and crossings against their frequencies, and release events against their notification and filing rules. 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-pipeline-records-contract. Human page: https://weverlabs.com/agent-pipeline-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": {
      "program": "<program>",
      "segments": "<segments>",
      "surveys": "<surveys>",
      "leaks": "<leaks>"
    },
    "name": "wever_pipe-leak-survey-record-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoThe reading moment, a calendar day such as 2026-03-02.
leaksYesGraded leak entries.
programYes
repairsNoRepair entries.
surveysYesSurvey entries.
rechecksNoRecheck entries.
segmentsYesSegment or area codes the record lists.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnly, closed-world and non-destructive, and the description still adds real context: it runs no pressure test, dig, patrol, survey or repair, contacts no authority or crew, makes no network request or external write, keeps records in the report, and returns an Ed25519 signed receipt. It also discloses cost and auth mechanics (0.10 USDC per call on Base via x402, 10 free signed-wallet calls per 30 days, X-Wever-Wallet-Proof bound to the JSON arguments). Not disclosed: why the call is non-idempotent when results are read-only and deterministic-looking.

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?

A single paragraph of several hundred words with no headings, lists or line breaks, mixing purpose, verdicts, field semantics, scope exclusions, family boilerplate, pricing and authentication. The front-loaded purpose is good, but the omitted-scope block and the 'family's ground' sentence dominate the text without helping an agent invoke this specific tool.

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: the four verdicts are enumerated, and the report contents (signed verdict, evidence read, findings with fixes, what would change the verdict) and the divergence classes are stated. Between that and the 86%-covered schema, an agent has what it needs to call the tool, though the four-way verdict boundary between 'partial' and 'unverified' is only implied by the clause about absent frequency or repair windows.

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 already 86%, so the baseline is 3, but the description adds matching and timing semantics the schema does not: segments, leaks and entries match by letters and digits, grades and methods match as written, dates match by day, and anything due after the reading moment is deferred; a missing frequency or repair window leaves those points unverified. It does partly waste effort restating the enum classes (flame ionization, optical gas imaging, grade 1/2/3) that the schema already lists.

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 states a specific action — submit a pipeline leak survey record and have its survey frequency, grade 1 repair window and graded-leak recheck days verified — and the closing sentence names the distinct verdicts, which separates it from the sibling cathodic-protection, hydrostatic-test and repair-record checks. The verb/resource pair is precise, but it is buried inside one enormous run-on sentence, so an agent must parse a lot before the purpose surfaces.

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?

Input scope is spelled out in detail: operator survey fields only, no reporter/resident/landowner names, public leak reports excluded, and explicit routing of out-of-scope material to Agent Labor Verification, Waste, Energy, Claims, Logistics and Water Records. What is missing is tool-level guidance — nothing says when to pick this check over the repair-record or integrity-record check, or what prerequisites (e.g. a signed record, a wallet proof) must be satisfied first.

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