Skip to main content
Glama

webaz_pay_order

Destructive

Pays a Direct Pay order (order_id) or checkout group (group_id) in USDC via x402 (api_key or OAuth payment:relay; see payment.x402 / checkout_group.pay_with in the order read). Without a payment: isError with the x402 PaymentRequired in structuredContent, signed by the buyer's own wallet (e.g. PayBox pay_x402 with accepts). With the signed PaymentPayload in _meta["x402/payment"] (or base64 in payment): submits it. Does not sign. Needs the owner's one-time consent on webaz.xyz (Me page, Passkey). X402_SETTLEMENT_PENDING: still settling; the same payment can be resent unchanged.

Input Schema

NameRequiredDescriptionDefault
api_keyNo
paymentNobase64 PaymentPayload (PAYMENT-SIGNATURE value)
group_idNo
order_idNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.1/5.0
Behavior5/5

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

Annotations already flag destructiveHint/openWorldHint, and the description adds substantially more: it explicitly says the tool does not sign, discloses the error shape (isError with PaymentRequired in structuredContent), specifies where the signed payload goes (_meta["x402/payment"] or base64 payment), and documents settlement-pending resend semantics. That is real behavioral context an agent cannot get from the structured fields.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness3/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and mode split are front-loaded, and every sentence carries content, but the single dense block mixes error semantics, auth, consent, and settlement retry into one run-on flow. A short structured split (no-payment path / payment path / prerequisites) would parse far faster for an agent.

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?

For a destructive, open-world payment tool with no output schema and only 25% schema coverage, the description covers the critical decision points: signing responsibility, consent prerequisite, error payload shape, and retry behavior. It omits what a successful response looks like beyond the error path, which is the main remaining gap.

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 25%, but the description compensates by explaining all four parameters' roles: order_id vs group_id as the two payment targets, api_key as auth alongside OAuth payment:relay, and payment as the base64 PaymentPayload. It does not spell out whether api_key is truly optional or how the two identifiers interact if both are supplied.

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?

States a specific verb and resource — pays a Direct Pay order (order_id) or checkout group (group_id) in USDC via x402 — which clearly separates it from siblings like webaz_request_x402_payment or webaz_place_order. The heavy protocol jargon (x402, PaymentPayload, _meta) slightly blurs the plain-language purpose, but the two operating modes are explicit.

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?

Gives a clear when-to-use-which-mode split: call without a payment to get isError plus the PaymentRequired payload, then call again with the signed PaymentPayload to submit. It also names the prerequisite (owner's one-time consent on webaz.xyz, Passkey) and the resend rule for X402_SETTLEMENT_PENDING. It stops short of naming a sibling as the alternative for the signing step, though it points at PayBox pay_x402.

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