check_expiry
Verdict for up to 5 domains at once: status OK | WARN | CRITICAL | UNKNOWN per domain combining the served certificate (verification, days left, null when the server cannot be measured) and domain registration expiry (RDAP), plus Korean alert lines. Use this for inventories, CI gates (fail unless status is OK) and periodic checks.
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": {
"domains": "<domains>"
},
"name": "check_expiry"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domains | Yes | Domain names | |
| critDays | No | Days before expiry that count as CRITICAL "expiring soon" (default 15; must be < warnDays) | |
| warnDays | No | Days before expiry that count as WARN (default 30; the default shrinks for short-lived certificates) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| results | Yes | ||
| checkedAt | No |