x420_tls_certificate
TLS certificate check: Connects to a public host and reports the presented TLS certificate: subject, issuer, SANs, validity window, days remaining, chain trust, protocol and cipher. Source: direct handshake. Not professional, legal, insurance, engineering, medical, financial or tax advice. Price: $0.03 USDC per call (x402 on Base). This hosted tool does NOT pay and does NOT return the deliverable: it validates the input and returns payment instructions (pay_to, network, price and the x402 URL to pay at). GET the url; read PAYMENT-REQUIRED from the 402; retry with PAYMENT-SIGNATURE (x402 v2). Or run the local x420-mcp server with your own wallet key to pay automatically. Deliverable once paid: JSON: subject, issuer, sans[], valid_from, valid_to, days_remaining, expired, authorized, covers_host, protocol, cipher.
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": {
"host": "<host>"
},
"name": "x420_tls_certificate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | Yes | public hostname | |
| port | No | TCP port (default 443) |