Skip to main content
Glama
duksh

PeerGlass

by duksh

peerglass_tls_inspect

Read-onlyIdempotent

Analyze TLS certificates to verify validity, detect self-signed certificates, check TLS configuration, and audit HSTS deployment for secure connections.

Instructions

Connect to hostname:port over TLS and return full certificate details: subject, issuer, Subject Alternative Names (SANs), expiry date, days remaining, self-signed flag, TLS protocol version, cipher suite, chain length, and HSTS header presence.

Useful for:

  • Verifying certificate validity before expiry

  • Detecting self-signed or untrusted certificates

  • Checking TLS configuration (version, cipher suite)

  • Auditing HSTS deployment

Args: params (TLSInspectInput): - hostname (str): Target hostname (e.g. 'cloudflare.com') - port (int): TCP port — default 443 - response_format (str): 'markdown' (default) or 'json'

Returns: str: Certificate details, expiry countdown, issuer chain, and HSTS status.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
paramsYes

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/duksh/peerglass'

If you have feedback or need assistance with the MCP directory API, please join our Discord server