Skip to main content
Glama

SSL certificate lookup

sslLookup
Read-onlyIdempotent

Get the SSL/TLS certificate a domain currently serves, fetched live. Use this to check expiry dates, the issuer, covered hostnames (SANs) or key type, or to debug HTTPS errors. Set chain=true to include intermediate and root certificates when diagnosing trust-chain problems, and sslRaw=true only when you need the raw OpenSSL output, which is long. For DNS records use dnsLookup; for domain ownership use liveWhoisLookup; for an overall risk verdict on the domain use domainReputation. Costs 1 credit, plus 1 credit per 2 certificates with chain=true. Returns each certificate's subject (common name, organisation), issuer, validity dates, serial number, signature algorithm, key algorithm and size, and extensions: covered hostnames (SANs), key usages, issuer and OCSP URLs, and certificate policies. A domain with no certificate returns a "no data found" (HTTP 404) message. Behavior: read-only. Makes one request to the WhoisFreaks API for your WhoisFreaks account (identified by the WHOISFREAKS_API_KEY environment variable or, on the hosted server, by the API key sent with the request or the account connected with OAuth) and uses that account's API credits; nothing is created or changed. If the call fails, the result is a short message instead of data, for example: the API key was refused (invalid, or plan or credits used up) with what to do next, domain extension not supported (HTTP 403), no data found (HTTP 404), or rate limit reached (HTTP 429).

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": {
      "domainName": "<domainName>"
    },
    "name": "sslLookup"
  }
}

Input Schema

NameRequiredDescriptionDefault
chainNoIf true, return the full certificate chain (end-user certificate through intermediate CA to root CA). Default: false
formatNoResponse format. Default: json
sslRawNoIf true, include the raw OpenSSL response in the output. Default: false
domainNameYesDomain name to retrieve SSL certificate for. Accepts: example.com | https://example.com | http://example.com

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.4/5.0
Behavior3/5

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

The description discloses behavior well beyond the annotations: explicit credit pricing (1 credit, plus 1 per 2 certificates with chain=true), the auth path (WHOISFREAKS_API_KEY or hosted key/OAuth) and that the call is account-billed, plus enumerated failure modes with HTTP codes (403 unsupported extension, 404 no data, 429 rate limit) and a 404 'no data found' result. However, the bounds of the credit cost are not capped, and much of the safety profile is already covered by readOnlyHint/idempotentHint/destructiveHint=false, so the added value over structured data is partial rather than decisive.

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?

Front-loaded with purpose then usage then cost, with no filler sentences. The return-value enumeration and the error taxonomy are long, but since there is no output schema they carry needed weight rather than padding.

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

Completeness5/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 supplies the return shape (subject, issuer, validity, serial, signature and key algorithm, SANs, key usages, OCSP URLs, policies) and the empty-result behavior, and it covers cost, auth, and failure paths. Nothing an agent needs in order to call this correctly or interpret its output is missing.

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

Parameters4/5

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

Schema coverage is 100%, so a baseline of 3 applies, and the description earns above that by adding why-and-when semantics for chain and sslRaw (chain grows the response and the cost; sslRaw output 'is long') that the schema's 'Default: false' text does not convey. The format parameter is left to the schema alone, which keeps it from a 5.

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?

Opens with a specific verb and resource: 'Get the SSL/TLS certificate a domain currently serves, fetched live.' It then enumerates the concrete questions the tool answers (expiry, issuer, SANs, key type, HTTPS debugging) and explicitly routes DNS, ownership, and reputation needs to dnsLookup, liveWhoisLookup, and domainReputation, so it is unmistakable against its siblings.

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

Usage Guidelines5/5

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

Gives explicit when-to-use guidance plus named alternatives with the condition that selects each one. It also states when to turn on optional flags ('chain=true ... when diagnosing trust-chain problems', 'sslRaw=true only when you need the raw OpenSSL output, which is long'), which is genuine decision support rather than a restatement of the schema.

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