Skip to main content
Glama

Sale Record (for SELLERS)

sale_record

Sale Record (for SELLERS): after each x402 sale, your middleware sends the tx hash (or PAYMENT-RESPONSE) + the route sold. OMENZ checks the payment really settled on Base to the payTo your route advertises right now, counts it once, and returns a signed sale receipt. Verified sales and distinct payers show in your public Seller Track Record, which buyers see in OMENZ Checkout before paying. Proof of real sales, not claims. By OMENZ. (MCP calls run in AYNE, the free playzone; production: POST https://www.omenz.org/api/tollbooth/v1/sale/record, $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": {
      "url": "<url>"
    },
    "name": "sale_record"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlYesfull https URL to check
methodNoHTTP method of the target endpoint (GET or POST)
tx_hashNotx hash
payment_responseNopayment response

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Beyond the annotations, the description discloses the important behavior: on-chain verification against the payTo address on Base, a signed receipt as output, and the public side effect that verified sales and distinct payers surface in a buyer-visible Seller Track Record. It also states the x402 price and production endpoint. One tension worth noting: 'counts it once' implies dedupe of repeated submissions, while idempotentHint=false says repeats are not guaranteed to return the same result — this is not a direct contradiction but is ambiguous.

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?

Roughly five sentences carry a lot of distinct information, and the verification/counting mechanic is stated early. Some space is spent on marketing framing ('Proof of real sales, not claims. By OMENZ.') and on endpoint/pricing boilerplate that does not help an agent invoke the tool.

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 payment-verifying write tool with no output schema, the description covers what is sent, what is checked, what is returned (a signed receipt), and the visible consequence. It stops short of stating what happens on a failed settlement check or how errors are surfaced.

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 the baseline applies. The description adds real meaning for tx_hash and payment_response (either is accepted) and explains that the route is what is being verified, but it never mentions the required 'url' parameter or the 'method' parameter, leaving the most important field's relationship to 'the route sold' unexplained.

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 makes clear this is the write-side counterpart that records an x402 sale and returns a signed receipt, which distinguishes it from read-side siblings such as seller_record and market_sellers. It never leads with a direct verb phrase ('record a sale'), instead narrating what 'your middleware sends' in third person, so the core action must be inferred from context.

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?

The trigger condition is explicit — call this after each x402 sale, supplying the tx hash (or PAYMENT-RESPONSE) plus the route sold. There is no when-not guidance and no explicit pointer to a sibling for reading the resulting track record, so the routing half of the guidance 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