Check a 402 quote against what you expected before you sign it (paid, x402)
check_counterpartyPAID: grade an x402 challenge you are about to sign against what you expected -- payee, resource, network, asset and price -- and get back a verdict, score and reasons in the same response the payment settles. Pass the accepts[] entry you already hold: we never re-fetch the seller, because a second fetch would grade a different response than the one you are about to pay for. A missing or hostile field inside the quote is a FINDING in the answer, never a refusal. Call it once without payment to receive the price as an x402 PaymentRequired (Base USDC, and Solana USDC where offered); call it again with a signed payment in _meta['x402/payment'] to complete it. The receipt comes back in _meta['x402/payment-response']. No account, no API key. Complaints, questions, quote requests, or a service you wish we had: POST /feedback on this host -- free, no account. Every report is read and analysed daily; there is no individual reply.
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": {
"quote": "<quote>",
"claim": "<claim>"
},
"name": "check_counterparty"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| claim | Yes | What you believed before you asked: the URL you requested, and optionally the payee, network, asset and ceiling you agreed to. | |
| quote | Yes | One accepts[] entry out of the 402 you received, verbatim. Every field optional: an absent one is a finding. |