Skip to main content
Glama

Check the TLS certificate

check_tls
Read-onlyIdempotent

Check a host's TLS certificate from the public certificate-transparency logs: issuer, valid from/until, days left, wildcard, how many names it covers, and whether the zone's CAA records allow that issuer. No connection to the site. at most 20 checks an hour per network and 30 an hour per site checked.

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_tls"
  }
}

Input Schema

NameRequiredDescriptionDefault
domainYesThe domain to look up (example.com), or any URL on it.

Output Schema

NameRequiredDescriptionDefault
urlNo
hostNo
toolYesThe tool's slug (its page is /tools/<slug>).
factsNoWhat was read, as labelled rows. From the site or a registry: unverified.
scoreNo0–100 over the checks.
checksNoFails first. `fix` is the one action to take; null on a pass.
readAtNoUnix seconds.
sourceNoWhere the facts came from.
listingYesWhether the site is listed on the directory: its page when it is (and claimUrl while nobody has proven they own it), where to list it when not.
toolUrlYesThe same check as a page on the site.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • changedOutput schema / required
      Previous value: -[
      -  "tool",
      -  "checks",
      -  "toolUrl",
      -  "listing"
      -]New value: +[
      +  "tool",
      +  "toolUrl",
      +  "listing"
      +]
  2. Changed6 schema fields changed
    • changedOutput schema / properties / listing / description
      Previous value: -"Whether the site is listed on the directory: its page when it is, where to list it when not."New value: +"Whether the site is listed on the directory: its page when it is (and claimUrl while nobody has proven they own it), where to list it when not."
    • addedOutput schema / properties / listing / properties / claimUrl
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / listing / properties / claimable
      Added value: +{
      +  "type": "boolean"
      +}
    • addedOutput schema / properties / listing / properties / name
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / listing / properties / productId
      Added value: +{
      +  "type": "string"
      +}
    • addedOutput schema / properties / listing / properties / slug
      Added value: +{
      +  "type": "string"
      +}
  3. Added

TDQS

A4.2/5.0
Behavior5/5

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

Beyond the annotations (readOnly, openWorld, idempotent), the description discloses two behavioral facts an agent cannot get from structured fields: results come from public CT logs with no connection to the target, and there are concrete rate limits (20/hour per network, 30/hour per site). Both materially change how and how often an agent should call it.

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?

Two dense sentences with the capability and result set front-loaded and no filler. The trailing rate-limit clause is slightly compressed ("30 an hour per site checked") and reads like an afterthought rather than a distinct structural element, which keeps it just short of 5.

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?

The tool is simple (one required parameter), has an output schema covering return values, and annotations covering the safety profile; the description fills the remaining gaps with data provenance and rate limits. No error or empty-result behavior is described, but that is a minor omission for a read-only lookup of this scope.

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 `domain` parameter already documents that a bare domain or any URL on it is accepted. The description's phrasing about "the zone's CAA records" hints at domain-versus-zone resolution but adds no real syntax or formatting guidance beyond the schema, so the baseline of 3 applies.

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?

The description names a specific verb and resource ("Check a host's TLS certificate") and enumerates exactly what is returned: issuer, validity window, days left, wildcard status, name count, and CAA compatibility. The clause "from the public certificate-transparency logs ... No connection to the site" separates it cleanly from live-scanning siblings such as check_site_security or check_hosting.

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 by the enumeration of results and the CT-log data source, so an agent can infer this is the right tool when it wants certificate metadata without touching the host. However, no sibling is named and no explicit when-not-to-use condition is stated, leaving alternatives like check_site_security to inference.

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