Skip to main content
Glama

Wever Labs Agent Products

x402 Payment Gateway

wever_x402-payment-gateway
Destructive

Unavailable historical backend. Sandbox/demo: builds an example x402 challenge and binding hash from a supplied or default payment header. It does not verify a payment, prevent replay, settle funds or authorize resource access. Its unlock state is simulated. Accept x402-style optional authority references, bind them to a requested rail, and return unlock, receipt, and proof fields. Operating boundary: Accepts x402-style optional authority references for Wever Labs rail gating and returns challenge, binding, replay-protection, unlock, receipt, and callback fields. POST /api/x402-payment-gateway. Existing product credentials, signed mandates, and single-use action grants remain required where applicable. This adapter grants no authority and never supplies server credentials. This is a catalog proxy entry, not a guarantee of backend availability. Backend status and JSON errors are surfaced; unavailable or non-JSON backends produce tool errors.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
modeNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

C2.6/5.0
Behavior3/5

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

The description does add real behavioral context beyond the annotations: it states the tool does not verify payments, prevent replay, settle funds, or authorize access, that unlock state is simulated, that no credentials are supplied, and that non-JSON/unavailable backends produce tool errors. However these claims are tangled with contradictory framing ("Unavailable historical backend" vs. "Backend status and JSON errors are surfaced") and sit uneasily beside destructiveHint=true, so the agent is left unsure which effects are real.

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?

Leads with a confusing status fragment ("Unavailable historical backend") instead of the tool's function, then repeats the same idea twice in adjacent paragraphs ("Accept x402-style optional authority references, bind them to a requested rail..." and "Operating boundary: Accepts x402-style optional authority references..."). Dense boilerplate with hedging that dilutes rather than front-loads the core action.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

There is no output schema, and the description usefully names the returned fields (challenge, binding, replay-protection, unlock, receipt, callback) plus the error behavior, which is more than most definitions in this family. But it omits any description of the request body shape and routes, and the sandbox-versus-real ambiguity leaves the agent unable to judge consequences of a call.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

One parameter with 0% schema description coverage, and the schema is a free-form object (additionalProperties: true, maxProperties: 64) whose only named field, "mode," is undocumented. The description gestures at inputs ("optional authority references," "supplied or default payment header," "supply its documented mode, arguments, and required signed authority or grant") but never explains what those look like, so it does not compensate for the coverage gap.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose3/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description does contain a concrete verb+resource ("builds an example x402 challenge and binding hash from a supplied or default payment header"), but it is immediately hedged with "Unavailable historical backend," "Sandbox/demo," "catalog proxy entry," and "not a guarantee of backend availability." The agent cannot tell whether this is a real payment gateway, a demo stub, or a proxy, and nothing distinguishes it from overlapping siblings like wever_ap2-mandate-gateway, wever_payment-authority-inspector, or wever_rail-playground.

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

Usage Guidelines2/5

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

No statement of when to choose this tool versus the other 26 payment/rail siblings, and no exclusions. The only near-guidance is a prerequisite clause ("Existing product credentials, signed mandates, and single-use action grants remain required where applicable"), which is conditional and vague. An agent has no routing signal.

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.