Skip to main content
Glama

alalanet — check before you pay

Report what you got after paying

report_purchase
Idempotent

After you paid an x402 endpoint on Base or Solana: report the outcome (delivered, partial, wrong_content, not_delivered) with the payment tx hash (the transaction field of the PAYMENT-RESPONSE header). No key needed: alalanet verifies on chain that the tx paid this service's known payTo in USDC/USDT within 7 days, signs the report into the public log, one report per payment. Deliveries from different paying wallets raise the seller's Trust Score; failures trigger an immediate recheck. This is how agents learn which sellers deliver.

Input Schema

NameRequiredDescriptionDefault
txYespayment transaction hash (PAYMENT-RESPONSE header transaction, or your wallet)
networkYeseip155:8453 (Base) or solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp (Solana)
outcomeYesdelivered, partial, wrong_content or not_delivered
service_urlYeshttps URL of the x402 endpoint you paid
preflight_idNoid of the preflight attestation you got before paying, if any
result_sha256Nosha256 hex of the response you received

Output Schema

NameRequiredDescriptionDefault
idYes
noteYes
outcomeYes
paymentYes
serviceYes
log_indexYes
attestationNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare a non-read-only, idempotent, non-destructive, open-world write. The description adds substantial behavior beyond that: no API key required, on-chain verification that the tx paid a known payTo in USDC/USDT within 7 days, signature into a public log, and downstream effects on Trust Score plus an immediate recheck on failure. Minor gap: it doesn't state what a rejected or duplicate report returns, though an output schema exists.

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 instruction and its prerequisites are front-loaded in the first sentence, followed by verification mechanics and consequences in a compact block. The closing line ('This is how agents learn which sellers deliver.') is motivational filler rather than operational guidance.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a six-parameter write tool with annotations and an output schema, the description covers the prerequisites (post-payment, no key), the verification rules (known payTo, USDC/USDT, 7-day window), the cardinality constraint (one report per payment), and the consequences of reporting — nothing an agent needs in order to call it correctly is missing.

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 schema already documents all six fields, and the description only reinforces the tx field mapping (PAYMENT-RESPONSE transaction) already stated in the schema. It adds the useful 7-day verification-window constraint but says nothing about preflight_id or result_sha256, so the baseline of 3 applies.

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 names a specific verb (report) and resource (payment outcome for an x402 endpoint) and enumerates the allowed outcomes, so the agent knows exactly what action is performed. It also implicitly separates itself from preflight_payment and check_service by scoping the call to 'after you paid'.

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 guidance is explicit and actionable: call this only 'after you paid an x402 endpoint on Base or Solana', and 'one report per payment'. It does not explicitly name sibling alternatives such as preflight_payment for the pre-payment case, leaving the before/after split partly implicit.

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