Find better-scored alternatives to an x402 endpoint
x402_find_alternativesFind semantically similar x402 endpoints with a higher trust score than a given resource URL, so you can compare alternatives before paying. Returns none if no endpoint out-scores it.
Instructions
Finds semantically similar endpoints that out-score a given one. Empty result means nothing beats it.
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": "x402_find_alternatives"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max alternatives to return (1-25, default 5) | |
| resource | Yes | Full x402 resource URL to find better alternatives for, e.g. https://api.example.com/v1/thing | |
| minScoreDelta | No | Minimum trust-score advantage an alternative must have over the subject (default 5) |