minia2a_check_endpoint
Validate x402 endpoints for autonomous-agent readiness via nine checks—reachability, payment challenge, amount, network, recipient, trial, registration, handshake—and return a 0–100% PASS/FAIL score.
Instructions
Validate any x402 endpoint for autonomous-agent (Claude Code auto-mode) readiness. Checks 9 signals: HTTP reachability, JSON content-type, payment challenge (canonical PAYMENT-REQUIRED header or legacy x-402-* headers), payment amount, network, recipient, trial info, registration path, and /api/agent-ready handshake. Returns a score (0-100%) with per-check PASS/FAIL detail. Use this before calling a paid endpoint to verify it works with autonomous agents.
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": {
"endpointUrl": "<endpointUrl>"
},
"name": "minia2a_check_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endpointUrl | Yes | The endpoint URL to validate (e.g., 'https://minia2a.uk/x402/gas') |