Skip to main content
Glama

Tls Cert Expiry

tls_cert_expiry

Check TLS certificate expiry for a host, port, or local file to identify certificates nearing expiration and prevent outages.

Instructions

Check TLS certificate expiry for a host or local file.

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": "tls_cert_expiry"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostNo
pathNo
portNo

Output Schema

NameRequiredDescriptionDefault
errorNo
issuerNo
sourceYes
expiredNo
subjectNo
not_afterNo
not_beforeNo
days_remainingNo

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

C2.6/5.0
Behavior2/5

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

With no annotations supplied, the description carries the full behavioral burden and mostly fails to meet it: it does not say whether a network connection is opened for the host mode, whether there are timeouts, what permissions or privileges the local-file mode needs, or how failures (expired, unreachable, unparseable) are reported. The only behavioral signal is the implicit read-only nature of 'Check' and the host/file split.

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

Conciseness3/5

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

A single front-loaded sentence with no wasted words, which is structurally sound, but its brevity comes at the cost of under-specification rather than genuine economy. One additional clause about host-vs-path exclusivity would have cost little and added much.

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

Completeness2/5

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

An output schema exists, so return values need not be explained, but for a three-parameter tool with zero schema coverage and no annotations the description leaves too much undefined: parameter mutual exclusivity, port scope, network behavior, and failure modes. It is not complete enough for an agent to invoke confidently in the local-file case.

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

Parameters2/5

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

Schema description coverage is 0%, so the description must compensate, and it only vaguely maps 'host' and 'local file' to the host/path parameters. It says nothing about the mutually exclusive relationship between host and path, which one wins if both are supplied, or what the 'port' parameter (default 443) applies to.

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?

States a specific verb and resource ('Check TLS certificate expiry') and names the two input modes (host or local file), so the agent knows exactly what is inspected. No sibling tool in the list touches certificates, so the absence of explicit sibling differentiation is low risk.

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

Usage Guidelines2/5

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

There is no when-to-use guidance, no prerequisites, and no stated alternatives. The phrase 'for a host or local file' hints at the two scenarios but never says which to pick or when this tool is the right call versus, say, security_baseline or listening_ports.

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