Skip to main content
Glama

Logistics exception check

wever_logistics-exception-check
Read-only

Agent Logistics: submit one shipment exception with its handling: the exception with its kind (delay, damage, loss, misdelivery, return to sender, customs hold, address problem or other), the day it occurred, the day it was recorded and its description; the stated terms with the days from the exception by which the buyer must be told, the remedies they give for it (refund, partial refund, replacement, reship, credit or none), the days by which the remedy is due and their text; each notice with its id, the day it was sent, whether it went to the buyer and whether it states the remedy; the remedy offered with the day, the currency and the amount; the resolution with its status (resolved, open, escalated or abandoned), the day, whether it is recorded against the shipment and the outcome; and optionally the day the handling is read on. The signed report gives the exception, the terms with the notice and remedy deadlines, the days the record took, every notice with the first to the buyer against the notice deadline and the days late, the remedy offered against the remedies the terms give and the remedy deadline, and the resolution with whether it is recorded and overdue, and counts them, and names mishandled handling: no notice to the buyer, a first notice after the window the terms state, a remedy the terms do not give, and an exception closed with no remedy where the terms give one; then a record made more than a day after the exception, notices that do not state the remedy, a remedy not yet offered, a remedy offered late, a resolution not recorded against the shipment and an exception still open past the remedy window, with the fix for each and what would change the verdict. No day the exception occurred or was recorded, no notice window, no remedies in the terms, no notices record, notices with no recipient, or no resolution leaves the handling unverified. This reads one shipment exception against the stated terms: a delayed or cancelled trip against the carrier’s policy is wever_travel-disruption-check, how an agent reports a task that failed for good is wever_failure-notice-check and a vendor’s refund and cancellation terms before the spend are wever_vendor-refund-check. Verdict logistics_exception_mishandled, logistics_exception_partial, logistics_exception_unverified or logistics_exception_handled. POST /api/logistics-exception-check. Reads the logistics records supplied 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; the records stay in the report, with no network request, fetch, message, payment, shipment booking, label purchase or external write. Agent Logistics reads a shipment’s logistics records after the fact, from the shipment’s own records: the shipment record against the order it serves, the promised delivery window against the booking and the arrival, the carrier’s terms against what was agreed, the tracking events for one shipment, the address across the order, the label and the carrier record, the customs material for a cross-border shipment, proof of delivery against the delivery terms and exception handling when something went wrong. Beside it, wever_shipping-check reads a shipping promise against its delivery evidence and reports the dispatch, delivery and cost mismatches with the days late and the amount over, while a logistics check reads one shipment’s booking, carrier, tracking, address, customs, delivery and exception records against the order, the promise made to the buyer and the terms agreed; wever_vendor-delivery-check reads a vendor’s whole delivery promise before the spend, while a logistics check reads one shipment’s own records after it shipped; and wever_boutique-record-shipment and wever_boutique-confirm-delivery record and confirm a boutique order’s shipment and delivery, while a logistics check reads the records and changes none. 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-logistics-contract. Human page: https://weverlabs.com/agent-logistics/.

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": {
      "exception": "<exception>",
      "terms": "<terms>"
    },
    "name": "wever_logistics-exception-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
as_ofNoThe day the handling is read on, for an exception still open, such as 2026-12-02.
labelNoOptional name recorded in the report.
termsYes
remedyNo
noticesNoEach notice about the exception.
exceptionYes
resolutionNo

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?

Annotations already declare readOnly/openWorld=false, but the description adds substantial context they do not: no network request, fetch, message, payment, shipment booking, label purchase or external write; paid 0.10 USDC per call on Base via x402 with 10 free signed-wallet calls per 30 days; the X-Wever-Wallet-Proof binding requirement; and an Ed25519 signed receipt on the returned report. It also enumerates the verdict set and the unverified conditions, which is exactly the behavioral detail an agent needs before paying for a call.

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 is a single semicolon-chained sentence that re-enumerates the entire input schema in prose, delaying the actual purpose statement ('This reads one shipment exception...') until deep in the text. It violates front-loading and duplicates structured data the schema already provides. The sibling and payment details are useful, but they are buried in an overly long block.

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 7-parameter nested tool with no output schema, the description covers what is needed: the input fields, the report contents (exception, terms, deadlines, notices, remedy, resolution, counts, findings with fixes), the four possible verdicts, the mishandled-handling categories, the unverified conditions, and the auth/payment model. Nothing essential for a correct call is missing, even if the presentation is dense.

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 only 43% and the schema is deeply nested, so the description carries the burden — and it does, walking through exception kind/dates/description, terms notice_days/remedies/remedy_days/text, notices id/sent_on/to_buyer/mentions_remedy, remedy day/currency/amount, and resolution status/day/recorded/outcome. The `label` parameter is never mentioned, and the prose form makes it harder to map fields than a list would.

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 definition names a specific verb+resource: 'This reads one shipment exception against the stated terms' and returns a signed report with one of four named verdicts. It distinguishes itself from several named siblings (travel-disruption, failure-notice, vendor-refund, shipping-check, vendor-delivery, boutique record/confirm). It loses a point because the opening sentence 'submit one shipment exception with its handling' reads like a write/submission rather than a read-and-check, which muddies the very first impression.

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?

Usage routing is explicit: a delayed/cancelled trip is travel-disruption-check, a failed task report is failure-notice-check, pre-spend vendor terms are vendor-refund-check, and a vendor's whole delivery promise is vendor-delivery-check versus this tool's single post-shipment record read. The 'unverified' conditions (no occurred/recorded day, no notice window, no remedies, no notices, no resolution) also tell the agent when the tool will decline to verify. It stops short of a crisp when-not-to-use statement beyond these contrasts.

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