Preflight an endpoint before a consequential call
mcpfax_preflight_checkCheck that an endpoint is live and that its terms have not changed, BEFORE you send it an expensive request. WHEN THIS PAYS FOR ITSELF: a $15 call with a 2% failure rate carries an expected loss of $0.30, so a $0.002 check is a 150x return. WHEN IT DOES NOT: before a $0.001 data lookup the same check is a 2x loss. Buy it before a consequential call — expensive inference, a purchase, a state-changing action — and not before a cheap one. Returns two halves. LIVE: one unpaid bounded probe (~2.2s cap) giving reachability, HTTP status, latency, whether an MCP server still answers initialize, and the price and payTo it is serving right now. HISTORICAL: reliability over our OBSERVED window (stated in days, never implied), payTo changes, price changes, tool-schema changes, first-seen date, and credit grade or an honest not-rated. Supply expected_price, expected_payto or expected_schema_hash and each is compared with old to new and the date we first observed the change. The verdict is ALLOW, WARN or UNKNOWN and is ADVISORY: it reports evidence, it is not a warranty, an audit, or a promise your call will succeed. UNKNOWN is a real answer and is returned whenever the evidence does not support the other two. If we have never observed the target AND cannot reach it, you get UNKNOWN and are charged nothing. Otherwise $0.002 USDC per call via x402 on Base.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | The endpoint you are about to call. Preferred form is the absolute https:// URL of the exact resource you will pay for, e.g. 'https://api.example.com/v1/search'. An observatory id also works: 'host:<hostname>' or 'mcp:<publisher>/<name>'. | |
| probe_method | No | HTTP method for the unpaid probe of a non-MCP endpoint, default GET. Only side-effect-free methods are accepted; this tool never sends a request that could change state at the target. A POST-only resource answers 404/405 here, which is reported as a property of the probe method. | |
| expected_payto | No | The payment destination you believe you are paying — an EVM address or a base58 Solana address. A mismatch is the strongest signal this tool produces. | |
| expected_price | No | What you believe the call costs. A decimal such as '0.01' is read as USD; a bare integer such as '10000' is read as atomic units. | |
| max_age_seconds | No | Your freshness bar, default 300. A stored observation older than this is still reported but may not support an ALLOW verdict. A stored observation newer than this can stand in for the live half if the live probe does not finish in time, and is labelled as recorded rather than live. | |
| expected_schema_hash | No | The schema hash a previous call to this tool returned in live.schema_hash. It covers tool names and input/output schemas, not titles or descriptions. |