Skip to main content
Glama

SSL/TLS Certificate Check (expiry, issuer, SANs)

web_tls
Read-only

SSL/TLS certificate expiry check for a domain from Certificate Transparency logs (SSLMate Cert Spotter), not a live handshake: the most recent logged unexpired certificate's issuer CA and intermediate, valid from/to dates, days to expiry, expiring-soon flag (under 30 days), revocation status, key type, SANs, wildcard; 90-day issuance history with distinct CAs; plus a live HTTPS reachability check with HSTS and HTTP-to-HTTPS redirect. DNS via Cloudflare DoH. Price: $0.01 per successful call, paid in USDC with x402 v2; failed calls and calls that match nothing are not charged.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "web_tls"
  }
}

Input Schema

NameRequiredDescriptionDefault
urlNoAlternative to domain: an http(s) URL whose hostname is checked.
domainNoHostname to check, e.g. example.com or www.example.com (wildcard certificates covering it are included). Give domain or url.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A4.1/5.0
Behavior4/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations only declare readOnlyHint and openWorldHint; the description adds real behavioral context beyond that: exact upstream sources (Cert Spotter, Cloudflare DoH), the 30-day expiring-soon threshold, and pricing semantics ($0.01 per successful call in USDC via x402 v2, with failed/no-match calls free). It does not cover rate limits or how upstream failures surface.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness4/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Purpose and the crucial data-source caveat are front-loaded, and the long middle clause is dense with distinct facts rather than filler. It is a single run-on sentence that would scan faster as a short list, costing it the top mark.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness4/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

With no output schema, the description correctly enumerates the returned fields (issuer CA, validity dates, days to expiry, revocation, key type, SANs, wildcard, issuance history) plus the live reachability/HSTS/redirect check, and discloses cost. Only the url-vs-domain preference and error surfacing are left implicit.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters3/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so both parameters (url, domain) are already fully documented including examples and the 'give domain or url' relationship. The description adds only the detail that wildcard certificates covering the hostname are included, which is marginal beyond the schema baseline.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ('SSL/TLS certificate expiry check for a domain') and immediately scopes the data source ('from Certificate Transparency logs (SSLMate Cert Spotter), not a live handshake'), which separates it from live-fetch siblings like web_headers or web_check.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'not a live handshake' clause and the enumerated outputs tell an agent when this tool is the right pick (cert expiry, issuer, SANs, issuance history) rather than a page-fetch tool. It stops short of naming an explicit alternative or stating when not to use it, so it earns a 4 rather than a 5.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources