Skip to main content
Glama

Check a TLS certificate

check_certificate
Read-onlyIdempotent

Connects to a domain on port 443 and reports its TLS certificate: whether it is trusted and matches the name, the issuer, the expiry date and days left, the lifetime, the chain and the TLS version, what each of its server addresses serves (up to 4 IPv4 and 4 IPv6), and, for certificates from Let’s Encrypt, Google Trust Services, ZeroSSL or Sectigo, the renewal window the CA suggests (ACME Renewal Information).

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": {
      "domain": "<domain>"
    },
    "name": "check_certificate"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesA public domain name, like example.com. A URL also works: only its host name is used.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint and destructiveHint=false, so the safety profile is covered. The description adds genuine context beyond that: it makes an outbound network connection on port 443, caps address probing at up to 4 IPv4 and 4 IPv6 addresses, and notes that ACME renewal-window data is only available for four named CAs—an important conditional an agent would otherwise not know.

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?

One front-loaded sentence with the action first and the reported fields following; every clause carries substantive information. It is dense and the long enumeration requires careful reading, but there is no filler.

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 takes on the job of explaining return values and does so thoroughly—trust/match status, issuer, expiry and days left, lifetime, chain, TLS version, per-address results, and CA-suggested renewal window with its provider restriction. An agent knows what it will get and the limits of that data before calling.

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 description coverage is 100% and the single parameter is already documented as a public domain name that also accepts a URL (host only). The description adds nothing further about the domain argument, so the baseline 3 applies—the schema is doing the work here.

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

Purpose4/5

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

The description opens with a concrete verb and resource—'Connects to a domain on port 443 and reports its TLS certificate'—and enumerates exactly what is reported (trust, name match, issuer, expiry, chain, TLS version). That is clearly distinct from the sibling check_domain_expiry in substance, but the sibling is never named, so an agent must infer the split rather than being routed to it.

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

Usage Guidelines3/5

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

Usage is implied rather than stated: 'connects to a domain' and the mention of public-facing server addresses signal that this applies to live, publicly reachable hosts. There is no explicit when-to-use/when-not-to-use guidance and no reference to check_domain_expiry as the alternative for registration-expiry questions.

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