Skip to main content
Glama

onyx_x402_receipt_verify

Verify an x402 USDC settlement on Base or Base Sepolia. Given a tx hash, decodes the USDC Transfer log and confirms (or refutes) a claim of the form: 'tx X moved $Y USDC from A to B'. Returns success status, actual decoded values, and a clear discrepancy report if any field doesn't match. Free tier — useful for agents reconciling spend and operators auditing inbound payments. (price: $0 USDC, tier: free)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
networkNoChain to query. Must match where the tx was mined.base
tx_hashYes0x-prefixed 32-byte tx hash to verify.
expected_toNoOptional. Expected recipient address (0x...). If provided, verifier checks Transfer.to matches.
expected_fromNoOptional. Expected sender address (0x...). If provided, verifier checks Transfer.from matches.
expected_amount_usdcNoOptional. Expected USDC amount (whole USDC, not atomic). If provided, verifier checks Transfer.value matches (within 0.000001 tolerance).

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It explains the core behavior: decodes the USDC Transfer log, confirms/refutes the claim, and returns success status, decoded values, and a discrepancy report. However, it does not mention what happens on invalid tx hashes, wrong network, or missing logs, nor does it explicitly confirm the operation is read-only. This is adequate but has clear gaps.

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 description is concise, with three sentences and a parenthetical. It front-loads the primary action and provides additional context on outputs and use cases. The pricing note is slightly redundant with 'Free tier' but does not detract significantly. Overall, it is well-structured and efficient.

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?

Given the absence of an output schema, the description compensates by stating return values (success status, actual decoded values, discrepancy report). It also covers the main use cases and network scope. However, it omits error semantics and does not clarify how to distinguish between a failed verification vs. an invalid transaction, which would be helpful. The description is largely complete for a read-only verification tool.

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?

The input schema covers 100% of parameters with descriptions, so the baseline is 3. The description reinforces the meaning of expected parameters by framing them within the claim ('tx X moved $Y USDC from A to B'), but it does not add new parameter-level details beyond the schema, such as the tolerance for amounts. Thus, it meets the baseline without exceeding it.

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?

The description clearly states the tool's function: verify an x402 USDC settlement on Base or Base Sepolia by decoding the USDC Transfer log and confirming/refuting a claim. It uses a specific verb ('verify') and resource ('x402 USDC settlement'), and it distinguishes itself from sibling tools like general transaction guards by focusing on x402 receipt verification.

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 description provides clear usage context: 'useful for agents reconciling spend and operators auditing inbound payments.' It implies when to use it (verifying a specific claim about a USDC transfer) but does not explicitly mention alternatives or when not to use it. Since it gives clear context without exclusions, it earns a 4.

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.

TDQS

A4.2/5.0
Disambiguation5/5

Each tool targets a specific aspect of security or verification, from agent liveness to token risk to transaction preflight, with clear descriptions that prevent confusion. Even similar-sounding tools like tx_guard and tx_preflight cover distinct scenarios.

Naming Consistency5/5

All tools follow a consistent 'onyx_<descriptive_name>' pattern using snake_case, making it easy to infer purpose from the name. No mixing of styles or conventions.

Tool Count4/5

23 tools is on the higher end but justified by the broad scope of security services offered, covering many distinct verification needs without being excessive.

Completeness5/5

The tool set provides a comprehensive surface for agent security, including pre-payment checks, smart contract audits, token risk, merchant verification, and identity attestation. No obvious missing operations for the stated purpose.