Skip to main content
Glama

Travel authorization check

wever_travel-authorization-check
Read-only

Agent Travel: submit one travel booking with the travel authorization behind it: optionally the traveler with an id and name; the authorization with its id, the approver, when it was approved, its currency, the most the booking may cost, the first and last travel dates approved, the cabins or classes approved (economy, premium economy, business or first), its purpose and the authorization as written; and the booking with its reference, when it was made, who booked it, its currency, what it cost in all and each flight, rail, hotel, car or other segment with its id, kind, from and to, departure and arrival with their offsets, carrier, number, the cabin booked and its price. The signed report gives the authorization, the booking, the booked total against the cap with its share and any amount over, every segment’s dates read by day against the approved window, every flight or rail cabin against the highest cabin approved, and the approval with whether it came before the booking and whether the approver is the traveler or the booking agent, and counts them, and names a booking over its authorization: a total over the cap, a segment outside the approved dates, a cabin above the approved cabins and a booking made before the approval; then a total at 95% or more of the cap, a booking in another currency and an approver who is the traveler or the booking agent, with the fix for each and what would change the verdict. No cap, no booked total, no approved dates, no approved cabins for a flight or rail segment or no approver leaves the booking unverified. This reads one booking against the authorization behind it: whether a buyer identity on a purchase receipt is the delegating party is wever_delegated-identity-check, a proposed action against a policy text is wever_policy-fit-check and the amount bands an approver covers are wever_approval-chain-check. Verdict travel_authorization_over, travel_authorization_partial, travel_authorization_unverified or travel_authorization_within. POST /api/travel-authorization-check. Reads the travel 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, booking or external write. Agent Travel reads a travel purchase an agent made, after the fact, from the traveler’s own records: the booking against the travel authorization, the itinerary against the trip as requested, the passenger details against the traveler’s ID, the fare rules against what the buyer was told, a change and a cancellation against the fare rules, the extras against what was authorized and needed, and a disruption against the carrier’s stated policy. Beside it, the Sports Trips tools such as wever_sports-trip-status plan, book and read a trip held on Wever, while a travel check reads a purchase made anywhere against its own records; wever_delegated-authority issues and reads the grant itself, while the authorization check reads one booking’s price, dates and class against the travel authorization behind it; and the Tokenized Asset Purchase checks such as wever_tokenized-quote-check read a tokenized asset purchase, while a travel check reads a travel booking. 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-travel-contract. Human page: https://weverlabs.com/agent-travel/.

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": {
      "authorization": "<authorization>",
      "booking": "<booking>"
    },
    "name": "wever_travel-authorization-check"
  }
}

Input Schema

NameRequiredDescriptionDefault
labelNoOptional name recorded in the report.
bookingYes
travelerNo
authorizationYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.3/5.0
Behavior5/5

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

Beyond the annotations (readOnly, openWorld=false, destructive=false), the description discloses the verdict taxonomy, the unverified preconditions (no cap, no booked total, no approved dates, no approved cabins for a flight/rail segment, or no approver), the finding categories and their 95%-of-cap and currency-mismatch thresholds, that records stay in the report with no network request or external write, and the payment/compliance mechanics (x402 0.10 USDC on Base, 10 free signed-wallet calls per 30 days, X-Wever-Wallet-Proof bound to the exact arguments, Ed25519 signed receipt). This is unusually complete behavioral disclosure that is not duplicated in the annotations.

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 core action is front-loaded, but the body is several dense run-on sentences totalling well over 300 words, with the report's contents explained twice ('The signed report gives...' and 'Returns a report with the verdict, the evidence read...'). The 'Agent Travel reads...' paragraph re-lists the product family rather than adding decision-relevant content for this call. It is over-specified prose rather than concise structure.

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 nested-object tool with 25% schema coverage and no output schema, the definition supplies everything an agent needs: the four verdicts, the unverified conditions, the finding thresholds and fixes, the payload/response shape, payment and authentication requirements, and links to the contract. Complexity is matched by the depth of the disclosure.

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 description coverage is only 25%, so the description must carry the load, and it does: it walks through the traveler (id and name), every authorization field (id, approver, approval time, currency, cap, approved window, approved cabins, purpose, text), and every booking field (reference, booked time, booker, currency, total, and per-segment id/kind/from/to/departure-arrival with offsets/carrier/number/cabin/price). What it adds on top is mostly field enumeration rather than new meaning, but it compensates well for the schema's sparse annotations and ties fields to how they are evaluated (e.g., cap, dates and cabin as the comparison axes).

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 action and scope: 'submit one travel booking with the travel authorization behind it,' and later the description narrows it to 'reads one booking against the authorization behind it.' It explicitly distinguishes itself from wever_delegated-identity-check, wever_policy-fit-check and wever_approval-chain-check, so an agent can route correctly. The only drag is that the core purpose is buried in very long prose before it is restated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines5/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The definition provides explicit when-to-use and when-not-to-use guidance, naming three sibling checks by name and the condition that selects each ('whether a buyer identity on a purchase receipt is the delegating party is wever_delegated-identity-check'). It also carves out the neighboring families: sports-trip tools plan/book trips held on Wever, delegated-authority issues the grant itself, and tokenized-quote-check reads asset purchases. Nothing about tool selection is left to inference.

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