Skip to main content
Glama
machine-utility-foundry

machine-utility-foundry

report_x402_delivery_outcome

Idempotent

Report whether a paid x402 endpoint delivered valid data or failed after payment, verified on-chain via a Base Mainnet settlement txHash, to slash honeypot endpoints or confirm good delivery.

Instructions

[FREE — On-Chain Base USDC Tx Verified] Submit a settled Base Mainnet txHash to slash a 402-honeypot endpoint that failed after payment (POST_PAYMENT_FAILURE) or confirm valid delivery (DELIVERED_VALID). Anti-Sybil gated via live eth_getTransactionReceipt.

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": {
      "targetUrl": "<targetUrl>",
      "txHash": "<txHash>",
      "outcome": "<outcome>",
      "payerSignature": "<payerSignature>"
    },
    "name": "report_x402_delivery_outcome"
  }
}

Input Schema

NameRequiredDescriptionDefault
txHashYes66-char 0x-prefixed Base Mainnet settlement transaction hash from `PAYMENT-RESPONSE`.
outcomeYesWhether the endpoint delivered valid data after settlement or failed/rugged post-payment.
targetUrlYesPublic https:// URL of the paid x402 endpoint that settled your payment.
payerSignatureYes65-byte EIP-191 personal_sign hex signature from the paying wallet over `muf-delivery-feedback-v1\ntargetUrl:<normalizedUrl>\ntxHash:<lowercaseTxHash>\noutcome:<outcome>`.

Output Schema

NameRequiredDescriptionDefault
reasonNo
txHashYes
outcomeYes
recordedYes
targetUrlYes
settledUsdcNo
payerAddressNo
merchantPayToNo
snapshotSha256Yes
verifiedOnChainYes
endpointVerifiedDeliveriesYes
endpointPostPaymentFailuresYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior3/5

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

Annotations declare openWorldHint=true, idempotentHint=true, destructiveHint=false, and readOnlyHint=false, and the description is consistent with a gated write. The genuinely additive detail is that submissions are anti-Sybil gated via a live eth_getTransactionReceipt check, meaning unverifiable or mismatched txHashes will be rejected rather than recorded. That is useful context beyond the annotations, though it does not describe what happens to the endpoint's reputation record or any rate limits on submissions.

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

Conciseness5/5

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

Two tight sentences with the cost/verification badge and the core action front-loaded, then the gating mechanism. No filler, and every clause (free, Base Mainnet, txHash, the two outcomes, on-chain verification) contributes distinct information.

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?

With an output schema present, annotations covering the safety profile, and full schema-level parameter documentation, the description supplies what is missing: the prerequisite of a settled transaction and the on-chain verification gate. It could say more about the consequence of a slash on the target endpoint's score, but nothing essential for correct invocation is absent.

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 description coverage is 100%, with patterns, enum values, and the exact canonical signature payload string already documented in the schema. The description's references to txHash (PAYMENT-RESPONSE origin) and the two outcome values largely restate what the schema already provides. Baseline 3 is appropriate since the schema carries the parameter burden.

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 verb (submit) plus resource (a settled Base Mainnet txHash) and the two exact outcomes it can register (slash a POST_PAYMENT_FAILURE honeypot, confirm DELIVERED_VALID). This is unambiguously distinct from the sibling tools, which cover reputation stats, routing previews, and attestations rather than delivery feedback.

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 makes the trigger condition clear: you must already have a settled on-chain transaction and either a delivery success or a post-payment failure to report. It also flags the operation as FREE and on-chain verified, which sets expectations. It does not explicitly say when not to use the tool or name a sibling alternative, so it stops short of a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.