{"server":"io.github.89rat/code402","count":24,"tools":[{"name":"balance_check","title":"Base Account Balance Snapshot","description":"Native ETH and one ERC-20 balance (default USDC) for an address on Base, raw and formatted. Result carries a signed receipt.","input_schema":{"type":"object","examples":[{"address":"0xc59c85e661d34084a7769f955d17fd38254a6235"}],"required":["address"],"properties":{"address":{"type":"string","description":"EVM address, 0x-prefixed."},"token_address":{"type":"string","description":"ERC-20 token contract address (optional; defaults to USDC on Base)."}}},"output_schema":{"type":"object","required":["valid","address"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"token":{"type":"object"},"valid":{"type":"boolean"},"native":{"type":"object"},"reason":{"type":"string"},"address":{"type":"string"},"retryable":{"type":"boolean"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"5000","price_ceiling":"25000"},"title":"Base Account Balance Snapshot","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"batch_validate","title":"Batch Identifier Checks (up to 50 items)","description":"Run up to 50 supported {tool, value} checks in one request. Each result states its scope. Compare the current batch quote with individual quotes; savings depend on batch size.","input_schema":{"type":"object","examples":[{"items":[{"tool":"iban-check","value":"GB82 WEST 1234 5698 7654 32"},{"tool":"lei-check","value":"529900T8BM49AURSDO55"},{"tool":"vat-mod97-check","value":"BE0417497106"}]}],"required":["items"],"properties":{"items":{"type":"array","items":{"type":"object","required":["tool","value"],"properties":{"tool":{"enum":["iban-check","lei-check","vat-mod97-check","company-number-format","swift-bic-check","aba-routing-check","ein-format-check","ifsc-check","abn-check","luhn-check","isbn-check","e164-check","sedol-check","isin-check","ean13-check","gstin-check","context-distill"],"type":"string","description":"which validator to run"},"value":{"type":"string","description":"the identifier (or text, for context-distill) to check"}}},"maxItems":50,"minItems":1,"description":"List of {tool, value} checks (max 50)."}}},"output_schema":{"type":"object","required":["count","results"],"properties":{"tool":{"type":"string"},"count":{"type":"number"},"scope":{"type":"string"},"results":{"type":"array"},"valid_count":{"type":"number"},"invalid_count":{"type":"number"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"50000","price_ceiling":"250000"},"title":"Batch Identifier Checks (up to 50 items)","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"block_info","title":"Base Block Header Info","description":"Base block header: number, timestamp, transaction count and base fee for the latest or a given block. Result carries a signed receipt.","input_schema":{"type":"object","examples":[{"block":"latest"}],"required":[],"properties":{"block":{"type":"string","description":"Block number as hex (0x…) or decimal, or a tag (latest/earliest/pending/finalized/safe); defaults to latest."}}},"output_schema":{"type":"object","required":["valid","block_number"],"properties":{"tool":{"type":"string"},"block":{"type":"string"},"scope":{"type":"string"},"valid":{"type":"boolean"},"reason":{"type":"string"},"tx_count":{"type":"number"},"retryable":{"type":"boolean"},"timestamp":{"type":"number"},"block_number":{"type":"number"},"base_fee_gwei":{"type":"number"},"timestamp_iso":{"type":"string"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"10000","price_ceiling":"50000"},"title":"Base Block Header Info","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"calculate_fx_savings","title":"Calculate cross-border FX savings","description":"Arithmetic comparison of a USDC settlement against comparator percentages YOU supply (bank_fee_pct, custodial_fee_pct) across 14 global fiat currencies. The comparators are assumptions, not measurements of any bank or provider; no protocol fee is deducted on this rail.","input_schema":{"type":"object","examples":[{"currency":"BRL","amount_usdc":50000}],"properties":{"amount":{"type":"number","description":"Gross invoice settlement volume in USD/USDC (alias)."},"currency":{"type":"string","description":"Target currency for local comparison (e.g. EUR, GBP, BRL, INR, ARS, PHP, NGN, SGD)."},"amount_usd":{"type":"number","description":"Gross invoice settlement volume in USD/USDC (alias)."},"amount_usdc":{"type":"number","description":"Gross invoice settlement volume in USD/USDC."}}},"output_schema":{"type":"object","required":["amount_usdc","retained_savings_usd","pct_retained"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"currency":{"type":"string"},"amount_usdc":{"type":"number"},"deel_fee_usd":{"type":"number"},"pct_retained":{"type":"number"},"local_currency":{"type":"object"},"legacy_swift_fee_usd":{"type":"number"},"retained_savings_usd":{"type":"number"},"code402_protocol_fee_usd":{"type":"number"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"5000","price_ceiling":"25000"},"title":"Calculate cross-border FX savings","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"check_price","title":"Zero-cost price index and gasless x402 quote generator","description":"Instant zero-cost pricing hook for code402 tools. Returns the live price, an opaque quote_id, TTL, and the settlement URL. Free forever — feeds the price index into an agent planner's context without creating any financial obligation. If the planner acts on the quote, it hits the settlement_url with an EIP-3009 signed voucher.","input_schema":{"type":"object","examples":[{"tool":"iban-check","amount":1}],"required":["tool"],"properties":{"tool":{"type":"string","description":"Target tool name (e.g. 'iban-check', 'vendor-onboarding-pack')"},"amount":{"type":"number","description":"Optional batch count or volume units (default 1)"}}},"output_schema":{"type":"object","required":["tool","valid","price","quote_id","settlement_url"],"properties":{"tool":{"type":"string"},"price":{"type":"number"},"scope":{"type":"string"},"valid":{"type":"boolean"},"ttl_ms":{"type":"number"},"currency":{"type":"string"},"quote_id":{"type":"string"},"settlement_url":{"type":"string"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"0","price_ceiling":"0"},"title":"Zero-cost price index and gasless x402 quote generator","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"clean_markdown_scraper","title":"Clean markdown scraper","description":"Fetch a public web page by URL (or take your HTML) and return Markdown plus headings. No JavaScript rendering. Result carries a signed receipt.","input_schema":{"type":"object","examples":[{"url":"https://example.com/"}],"required":[],"properties":{"url":{"type":"string","description":"Public http(s) page to fetch (ports 80/443 only). Provide exactly one of url or html."},"html":{"type":"string","description":"Raw HTML string to convert instead of fetching a URL (max 1 MiB). Provide exactly one of url or html."}}},"output_schema":{"type":"object","required":["markdown","wordCount"],"properties":{"code":{"type":"string"},"tool":{"type":"string"},"scope":{"type":"string"},"valid":{"type":"boolean"},"reason":{"type":"string"},"source":{"type":"object"},"headings":{"type":"array"},"markdown":{"type":"string"},"retryable":{"type":"boolean"},"wordCount":{"type":"number"},"fetched_on":{"type":"string"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"15000","price_ceiling":"75000"},"title":"Clean markdown scraper","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"context_distill","title":"Context distill","description":"Deterministic text digest: word count, top-5 most frequent meaningful words (stop words excluded), first sentence, and a keccak-256 content hash. Pure function — no external calls, no ML.","input_schema":{"type":"object","examples":[{"text":"The landlord demanded the deposit before the viewing. The deposit was paid before any viewing of the property."}],"required":["text"],"properties":{"text":{"type":"string","description":"Arbitrary text to distill (any length; hashing is over the exact input)."}}},"output_schema":{"type":"object","required":["valid","word_count"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"valid":{"type":"boolean"},"top_words":{"type":"array"},"word_count":{"type":"number"},"content_hash":{"type":"string"},"first_sentence":{"type":"string"},"meaningful_word_count":{"type":"number"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"5000","price_ceiling":"25000"},"title":"Context distill","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"crypto_ticker","title":"Crypto ticker","description":"Spot USD price for a crypto ticker or CoinGecko id from public price feeds, cached 60 s. Result carries a signed receipt.","input_schema":{"type":"object","examples":[{"symbol":"btc"}],"required":["symbol"],"properties":{"symbol":{"type":"string","description":"Ticker symbol (btc, eth, sol, …) or a CoinGecko asset id (bitcoin, ethereum, …)."}}},"output_schema":{"type":"object","required":["valid","symbol"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"valid":{"type":"boolean"},"cached":{"type":"boolean"},"reason":{"type":"string"},"symbol":{"type":"string"},"currency":{"type":"string"},"price_usd":{"type":"number"},"retryable":{"type":"boolean"},"fetched_at":{"type":"string"},"coingecko_id":{"type":"string"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"10000","price_ceiling":"50000"},"title":"Crypto ticker","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"erc20_balance","title":"ERC-20 Token Balance Snapshot","description":"Raw and formatted ERC-20 balanceOf for an address on Base, with decimals read from the token. Result carries a signed receipt.","input_schema":{"type":"object","examples":[{"address":"0xc59c85e661d34084a7769f955d17fd38254a6235","token_address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}],"required":["address","token_address"],"properties":{"address":{"type":"string","description":"Holder EVM address, 0x-prefixed."},"decimals":{"type":"number","description":"Token decimals override (optional)."},"token_address":{"type":"string","description":"ERC-20 token contract address, 0x-prefixed."}}},"output_schema":{"type":"object","required":["valid","address","token_address"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"valid":{"type":"boolean"},"reason":{"type":"string"},"address":{"type":"string"},"balance":{"type":"number"},"decimals":{"type":"number"},"retryable":{"type":"boolean"},"balance_raw":{"type":"string"},"token_address":{"type":"string"},"decimals_source":{"type":"string"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"5000","price_ceiling":"25000"},"title":"ERC-20 Token Balance Snapshot","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"fx_spot_price_oracle","title":"FX spot price oracle","description":"Reference fiat and stablecoin conversion rate from a static table, not a live feed. Returns rate and inverse; result carries a signed receipt.","input_schema":{"type":"object","examples":[{"base":"EUR","quote":"USD"}],"required":["base","quote"],"properties":{"base":{"type":"string","description":"Base currency symbol (e.g. USDC, EUR, GBP, JPY)."},"quote":{"type":"string","description":"Quote currency symbol (e.g. USD, EUR, JPY)."}}},"output_schema":{"type":"object","required":["pair","rate","inverse","timestamp","source"],"properties":{"pair":{"type":"string"},"rate":{"type":"number"},"source":{"type":"string"},"inverse":{"type":"number"},"timestamp":{"type":"number"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"10000","price_ceiling":"50000"},"title":"FX spot price oracle","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"gstin_check","title":"GSTIN check (India)","description":"Validate an Indian GSTIN by structure (2-digit state code + PAN + entity code + 'Z') and its mod-36 cross-sum checksum.","input_schema":{"type":"object","examples":[{"gstin":"27AAPFU0939F1ZV"}],"required":["gstin"],"properties":{"gstin":{"type":"string","description":"15-character Indian Goods and Services Tax Identification Number."}}},"output_schema":{"type":"object","required":["valid","reason"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"valid":{"type":"boolean"},"reason":{"type":"string"},"country":{"type":"string"},"normalized":{"type":"string"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"5000","price_ceiling":"25000"},"title":"GSTIN check (India)","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"iban_check","title":"IBAN Structure and Checksum Check","description":"Validate IBAN structure and MOD-97 checksum. Does not establish account ownership, beneficiary identity or absence of fraud.","input_schema":{"type":"object","examples":[{"iban":"GB82 WEST 1234 5698 7654 32"}],"required":["iban"],"properties":{"iban":{"type":"string","description":"IBAN to validate; spaces allowed."}}},"output_schema":{"type":"object","required":["valid","reason"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"valid":{"type":"boolean"},"reason":{"type":"string"},"country":{"type":"string"},"normalized":{"type":"string"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"5000","price_ceiling":"25000"},"title":"IBAN Structure and Checksum Check","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"ifsc_check","title":"IFSC Format Check","description":"Check the 11-character Indian IFSC format, including its fifth-character zero. No bank-branch registry lookup or account verification.","input_schema":{"type":"object","examples":[{"ifsc":"HDFC0000123"}],"required":["ifsc"],"properties":{"ifsc":{"type":"string","description":"11-character Indian Financial System Code."}}},"output_schema":{"type":"object","required":["valid","reason"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"valid":{"type":"boolean"},"reason":{"type":"string"},"country":{"type":"string"},"normalized":{"type":"string"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"5000","price_ceiling":"25000"},"title":"IFSC Format Check","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"india_supplier_check","title":"India Supplier Verification Pack","description":"One call, one receipt: GSTIN + PAN + UPI VPA + IFSC for an Indian counterparty. Four deterministic structural checks, each stating its own scope. Built for cross-border procurement where the buyer is an agent that cannot open an INR account.","input_schema":{"type":"object","examples":[{"pan":"AAACP1234M","vpa":"merchant@okhdfcbank","ifsc":"HDFC0001234","gstin":"27AAPFU0939F1ZV"}],"required":[],"properties":{"pan":{"type":"string","description":"PAN (10 chars, optional)"},"vpa":{"type":"string","description":"UPI VPA handle (optional)"},"ifsc":{"type":"string","description":"IFSC bank code (optional)"},"gstin":{"type":"string","description":"GSTIN (15 chars, optional)"}}},"output_schema":{"type":"object","required":["checked_count","all_valid"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"results":{"type":"array"},"verdict":{"type":"string"},"corridor":{"type":"string"},"all_valid":{"type":"boolean"},"next_steps":{"type":"string"},"checked_count":{"type":"number"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"20000","price_ceiling":"100000"},"title":"India Supplier Verification Pack","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"instant_json_schema_verifier","title":"Instant JSON schema verifier","description":"Validate JSON data payloads against schema definitions. Preflighted for agent tool call pipelines.","input_schema":{"type":"object","examples":[{"data":{"name":"Apex Agent","version":2},"schema":{"required":["name","version"],"properties":{"name":{"type":"string"},"version":{"type":"number"}}}}],"required":["data","schema"],"properties":{"data":{"type":"object","description":"The JSON data object to validate against the schema."},"schema":{"type":"object","description":"The JSON schema object with expected properties and types."}}},"output_schema":{"type":"object","required":["valid","errors","execution_ms"],"properties":{"valid":{"type":"boolean"},"errors":{"type":"array"},"execution_ms":{"type":"number"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"5000","price_ceiling":"25000"},"title":"Instant JSON schema verifier","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"lei_check","title":"LEI Structure and Checksum Check","description":"Validate a 20-character LEI and MOD-97 check digits. No registry lookup, active-registration check or legal-entity identity verification.","input_schema":{"type":"object","examples":[{"lei":"529900T8BM49AURSDO55"}],"required":["lei"],"properties":{"lei":{"type":"string","description":"20-character Legal Entity Identifier."}}},"output_schema":{"type":"object","required":["valid","reason"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"valid":{"type":"boolean"},"reason":{"type":"string"},"country":{"type":"string"},"normalized":{"type":"string"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"5000","price_ceiling":"25000"},"title":"LEI Structure and Checksum Check","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"pre_disbursement_guard","title":"Counterparty Risk Indicators","description":"Evaluate supplied identifiers, domain-age evidence and mismatch signals. Requires a preceding receipt hash. An advisory result is not verified identity, fraud clearance or authorization to release funds.","input_schema":{"type":"object","examples":[{"vendor_domain":"billing@acme-consulting.co.uk","company_number":"01234567","recipient_iban":"GB82WEST12345698765432","declared_country":"GB","prev_receipt_hash":"0x0000000000000000000000000000000000000000000000000000000000000000","invoice_amount_usd":4500}],"required":[],"properties":{"lei":{"type":"string","description":"ISO 17442 Legal Entity Identifier (optional)."},"vat_number":{"type":"string","description":"EU VAT number (optional)."},"vendor_domain":{"type":"string","description":"Vendor website domain or invoicing email address (optional)."},"company_number":{"type":"string","description":"Official corporate registration number, e.g. UK Companies House 8 digits/chars (optional)."},"recipient_iban":{"type":"string","description":"Recipient bank IBAN (optional)."},"declared_country":{"type":"string","description":"2-letter ISO country code where vendor claims to be registered (optional, e.g. 'GB', 'US', 'DE')."},"physical_address":{"type":"string","description":"Vendor physical office address (optional)."},"prev_receipt_hash":{"type":"string","description":"Preceding verification receipt hash (may also be passed via X-PREV-RECEIPT-HASH header)."},"invoice_amount_usd":{"type":"number","description":"Disbursement transaction amount in USD (optional)."}}},"output_schema":{"type":"object","required":["clear_to_disburse","risk_level","risk_score","decision"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"checks":{"type":"object"},"summary":{"type":"string"},"decision":{"type":"string"},"risk_level":{"type":"string"},"risk_score":{"type":"number"},"flags_triggered":{"type":"array"},"recommendations":{"type":"array"},"clear_to_disburse":{"type":"boolean"},"inspected_counterparty":{"type":"object"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"5000","price_ceiling":"25000"},"title":"Counterparty Risk Indicators","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"receipt_verify","title":"Verify any XDR-1 receipt — free, stateless, any issuer","description":"Verifies a signed XDR-1 receipt from ANY x402 service: recomputes the canonical digest and recovers the signer, then compares it to the declared signer. Free forever — no account, no quota, no storage (stateless). A valid receipt proves the signer signed that tool call at that timestamp; it does NOT prove funds moved or any business claim.","input_schema":{"type":"object","examples":[{"receipt":{"v":"XDR-1","ts":0,"tier":"free","tool":"iban-check","nonce":"0x…","payer":"0xc59c85e661d34084a7769f955d17fd38254a6235","amount":"0","signer":"0xa036e2e3e19c6d02f30b3a9eb0acd057e6d9a5c8","recipient":"0xc59c85e661d34084a7769f955d17fd38254a6235","signature":"0x…","input_hash":"0x…","output_hash":"0x…","tool_version":"1"}}],"required":["receipt"],"properties":{"receipt":{"type":"string","description":"The full XDR-1 receipt object: v, tool, tool_version, input_hash, output_hash, payer, recipient, amount, nonce, ts, tier, signer, signature (optional successor/stream_state)."}}},"output_schema":{"type":"object","properties":{"scope":{"type":"string"},"valid":{"type":"boolean"},"digest":{"type":"string"},"canonical":{"type":"string"},"declared_signer":{"type":"string"},"signer_recovered":{"type":"string"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"0","price_ceiling":"0"},"title":"Verify any XDR-1 receipt — free, stateless, any issuer","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"sanctions_address_screen","title":"Address Snapshot & Operator Policy Comparison","description":"Exact EVM-address comparison against the identified address snapshot and existing operator block policy. Current legal status is unknown; is_sanctioned is null. valid=false preserves a local block; valid=null never authorizes a transaction. Names are not screened. Missing, stale or incomplete evidence is explicit; no UN/EU coverage or sanctions clearance is provided.","input_schema":{"type":"object","examples":[{"subject":"0x7f367cc41522ce07553e823bf3be79a889debe1b"}],"required":["subject"],"properties":{"subject":{"type":"string","description":"EVM address (0x...) or ISO 3166-1 country code / jurisdiction name"}}},"output_schema":{"type":"object","required":["tool","valid","is_sanctioned","blocklist_match","current_legal_status","screening_status"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"valid":{"type":["boolean","null"]},"reason":{"type":"string"},"subject":{"type":"string"},"match_type":{"type":"string"},"is_sanctioned":{"type":"null"},"blocklist_match":{"type":["boolean","null"]},"snapshot_sha256":{"type":"string"},"snapshot_status":{"type":"string"},"sanction_program":{"type":["string","null"]},"screening_status":{"type":"string"},"current_legal_status":{"type":"string"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"5000","price_ceiling":"25000"},"title":"Address Snapshot & Operator Policy Comparison","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"swift_bic_check","title":"SWIFT/BIC Structure Check","description":"Check SWIFT/BIC structure and country code. Does not establish bank existence, active routing or beneficiary identity.","input_schema":{"type":"object","examples":[{"bic":"DEUTDEFF500"}],"required":["bic"],"properties":{"bic":{"type":"string","description":"SWIFT/BIC code, 8 or 11 characters; spaces/dashes allowed."}}},"output_schema":{"type":"object","required":["valid","reason"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"valid":{"type":"boolean"},"reason":{"type":"string"},"country":{"type":"string"},"normalized":{"type":"string"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"5000","price_ceiling":"25000"},"title":"SWIFT/BIC Structure Check","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"token_contract_risk","title":"Token contract facts (Base)","description":"Deterministic Base contract facts: ERC-20 metadata, proxy slots, owner(), privileged-function selectors and flags. Not a safety verdict. Result carries a signed receipt.","input_schema":{"type":"object","examples":[{"address":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"}],"required":["address"],"properties":{"chain":{"enum":["base"],"type":"string","description":"Optional. Only 'base' (Base mainnet) is supported."},"address":{"type":"string","description":"Contract address on Base, 0x + 40 hex."}}},"output_schema":{"type":"object","required":["valid","address","is_contract","flags","scope"],"properties":{"tool":{"type":"string"},"block":{"type":"object"},"chain":{"type":"string"},"erc20":{"type":"object"},"flags":{"type":"array"},"owner":{"type":"object"},"proxy":{"type":"object"},"scope":{"type":"string"},"valid":{"type":"boolean"},"reason":{"type":"string"},"address":{"type":"string"},"opcodes":{"type":"object"},"retryable":{"type":"boolean"},"flag_counts":{"type":"object"},"is_contract":{"type":"boolean"},"privileged_selectors":{"type":"array"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"20000","price_ceiling":"100000"},"title":"Token contract facts (Base)","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"tx_activity","title":"Tx Activity & Contract Detection","description":"Outbound transaction count (nonce) and contract-or-EOA check for an address on Base. Result carries a signed receipt.","input_schema":{"type":"object","examples":[{"address":"0xc59c85e661d34084a7769f955d17fd38254a6235"}],"required":["address"],"properties":{"address":{"type":"string","description":"EVM address, 0x-prefixed."}}},"output_schema":{"type":"object","required":["valid","address","tx_count"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"valid":{"type":"boolean"},"address":{"type":"string"},"tx_count":{"type":"number"},"is_contract":{"type":"boolean"},"first_funded_heuristic":{"type":"boolean"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"5000","price_ceiling":"25000"},"title":"Tx Activity & Contract Detection","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"vat_mod97_check","title":"Belgian VAT MOD-97 Check","description":"Check the supported Belgian VAT format and MOD-97 checksum. BE only; not VIES, other EU VAT formats, registration status or tax compliance.","input_schema":{"type":"object","examples":[{"vat_number":"BE0417497106"}],"required":["vat_number"],"properties":{"vat_number":{"type":"string","description":"Belgian VAT id in the supported BE mod-97 format (BE prefix optional); not a VIES lookup."}}},"output_schema":{"type":"object","required":["valid","reason"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"valid":{"type":"boolean"},"reason":{"type":"string"},"country":{"type":"string"},"normalized":{"type":"string"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"5000","price_ceiling":"25000"},"title":"Belgian VAT MOD-97 Check","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"},{"name":"vendor_onboarding_pack","title":"Vendor Identifier Check Pack","description":"Check supplied IBAN, LEI, Belgian VAT and UK company-number fields in one result. Structural checks only; no ownership, registry or fraud clearance.","input_schema":{"type":"object","examples":[{"lei":"529900T8BM49AURSDO55","iban":"GB82 WEST 1234 5698 7654 32","vat_number":"BE0417497106","company_number":"12345678"}],"required":[],"properties":{"lei":{"type":"string","description":"Vendor LEI (optional)."},"iban":{"type":"string","description":"Vendor IBAN (optional)."},"vat_number":{"type":"string","description":"Vendor VAT number, BE mod-97 (optional)."},"company_number":{"type":"string","description":"Vendor UK company number (optional)."}}},"output_schema":{"type":"object","required":["checked_count","all_valid"],"properties":{"tool":{"type":"string"},"scope":{"type":"string"},"results":{"type":"array"},"verdict":{"type":"string"},"all_valid":{"type":"boolean"},"checked_count":{"type":"number"}}},"annotations":{"x402":{"note":"Flat at-cost floor; a cost-linked guard may raise the floor under sustained Base fee spikes (never demand surge). The 402 challenge body is authoritative.","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","payTo":"0xc59c85e661d34084a7769f955d17fd38254a6235","scheme":"exact","chainId":8453,"network":"base","currency":"USDC","price_floor":"20000","price_ceiling":"100000"},"title":"Vendor Identifier Check Pack","readOnlyHint":true,"openWorldHint":true,"idempotentHint":true},"source":"probe","observed_at":"2026-10-19T17:39:41.151Z"}],"next_cursor":null,"next_actions":[{"action":"get_connection","description":"Connection block to call these tools","href":"/v1/servers/io.github.89rat%2Fcode402/connection?target=mcpServers","arguments":{"name":"io.github.89rat/code402","target":"mcpServers"}},{"action":"get_server","description":"Full descriptor with trust and connectability","href":"/v1/servers/io.github.89rat%2Fcode402","arguments":{"name":"io.github.89rat/code402"}}]}