Skip to main content
Glama

OMENZ Checkout (close)

checkout_close

OMENZ Checkout (close): ONE call after paying. Send checkout_id + the tx hash (or PAYMENT-RESPONSE header) + the response you got. Verifies settlement on Base against the authorized payee and amount, checks delivery against the seller's advertised output, returns a signed Spend Receipt (GOOD_BUY / PAID_NOT_DELIVERED / PAYMENT_NOT_CONFIRMED), gives the money back to the Shared Budget if you never paid, and updates the seller's track record. High volume: checkout/close/credit at 1% (min $0.0002). By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/checkout/close, $0.002 via x402.)

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": {
      "checkout_id": "<checkout_id>"
    },
    "name": "checkout_close"
  }
}

Input Schema

NameRequiredDescriptionDefault
schemaNoschema
tx_hashNotx hash
not_paidNonot paid
deliveredNodelivered
checkout_idYescheckout id
payment_responseNopayment response
release_if_unconfirmedNorelease if unconfirmed

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

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

Annotations declare a non-destructive, non-idempotent, open-world write, and the description adds substantial context beyond them: settlement verification on Base against the authorized payee/amount, refund of the Shared Budget when no payment occurred, seller track-record updates, and per-call pricing. The one gap is that idempotentHint=false is never explained — there is no warning about what a duplicate close does to the receipt or the seller's record.

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

Conciseness4/5

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

The core behavior and outcome codes are front-loaded in the first two sentences, which is exactly right for this tool. Some tail material ('By OMENZ', the AYNE playzone parenthetical, and the repeated pricing detail) is promotional rather than operational and could be trimmed.

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 no-output-schema mutation tool, the definition covers return values (the three status codes), side effects on the budget and seller record, and cost. Completeness is only slightly undercut by leaving the optional/edge-case parameters (not_paid, release_if_unconfirmed) unexplained, which matters if an agent is deciding whether to handle an unconfirmed payment.

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

Parameters3/5

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

Schema coverage is 100%, so baseline is 3, and the description does add value by tying payment_response to the 'PAYMENT-RESPONSE header' and by listing the minimum payload. However, four of the seven parameters (not_paid, delivered, release_if_unconfirmed, and the nested 'schema' object) are never mentioned, and their schema descriptions are tautological one-word restatements.

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

Purpose5/5

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

States a specific action (close a checkout after payment) and spells out the three things it does: verify settlement on Base, check delivery against the seller's advertised output, and issue a signed Spend Receipt with explicit outcome codes. The 'ONE call after paying' framing distinguishes it cleanly from opening/authorizing a checkout.

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?

Timing is explicit ('ONE call after paying'), and the required inputs are named (checkout_id plus tx hash or PAYMENT-RESPONSE header plus the response received). It stops short of naming a sibling alternative to call when you have not yet paid, so the boundary with checkout_open/authorize is implied rather than stated.

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