Skip to main content
Glama

ssl_cert_info

Connect to host:port over TLS and return certificate details—issuer, subject, validity, days to expiry, SANs, TLS version, and cipher suite—to check expiry and domain coverage.

Instructions

host:port へ TLS 接続し、サーバ証明書の中身を返す(発行者・サブジェクト・有効期間・失効まで残り日数・SAN 一覧・TLS バージョン・暗号スイート)。証明書の期限切れ間近や、どのドメインをカバーしているかを確かめる時に使う。

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": {
      "host": "<host>"
    },
    "name": "ssl_cert_info"
  }
}

Input Schema

NameRequiredDescriptionDefault
hostYesホスト名(例 lit.link)。
portNo省略時 443。
timeoutNo秒。省略時 10。

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/5.0
Behavior3/5

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

With no annotations present, the description must carry the full behavioral burden. It discloses that a TLS network connection is made and enumerates the returned fields, which is valuable, but it says nothing about failure behavior (e.g. expired or self-signed certs), permissions, or rate limits. Adequate but with clear gaps for a network-facing tool.

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?

It is two sentences, front-loaded with the action and its output, followed by the use case. The parenthetical field list is long but each item earns its place by telling the agent what comes back.

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

Completeness4/5

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

There is no output schema and no annotations, yet the description thoroughly enumerates return values and states the intended use, so an agent can call it correctly. Only edge-case and error behavior are left unspecified.

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%, so host, port and timeout are already documented in the schema. The description only reinforces the host:port connection concept and adds no syntax or format detail beyond the schema, so baseline 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+resource: connect over TLS and return the server certificate contents, enumerated as issuer, subject, validity, days-to-expiry, SANs, TLS version and cipher suite. That return-field detail makes it clearly distinct from siblings like url_healthcheck or tcp_check even without naming them.

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

Usage Guidelines4/5

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

It gives an explicit when-to-use condition: verifying certificates near expiry or checking which domains are covered. It does not state when-not-to-use or name an alternative sibling, so it falls short of a 5.

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