v1_preflight
Preflight an x402 resource URL to avoid wasted payments. Evaluates reachability, terms, price, catalog, and age to produce a spend-guard score from 0 to 100.
Instructions
[costs $0.01 USDC per call] Score an x402 resource URL before paying it: reachability, terms, catalog presence, age. Spend-guard preflight: deterministic 0-100 score for any x402 resource URL before an agent pays it. One SSRF-guarded probe of the live 402 (terms decode, payTo, price sanity) plus origin /.well-known/x402.json plus our collector's Bazaar presence and observed age. Rubric: start 50; +15 valid 402; +10 terms decode; +5 payTo; +5 price<=$5 (-10 above); +10 catalog; +15 Bazaar-listed; +10 age>=7d (+5 >=1d); -20 unreachable. Raw signals in every response; auditable. Not an endorsement.
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": {
"resource": "<resource>"
},
"name": "v1_preflight"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resource | Yes | The x402 resource URL to preflight, exactly as advertised. |