Skip to main content
Glama

Saasment Security MCP

Check TLS certificate and HTTPS headers

check_tls
Read-onlyIdempotent

Connect to port 443 of a public host only (SSRF-safe: resolve DNS, reject private/reserved IPs, connect to the validated IP, no cross-host redirects). Reports certificate subject/issuer/SANs/validity, chain validation, negotiated TLS version/cipher, limited-probe TLS 1.0/1.1 acceptance, HSTS, and key security headers (CSP, X-Content-Type-Options, X-Frame-Options/frame-ancestors, Referrer-Policy, Permissions-Policy). Cached about 30 minutes. Read-only. Requires the Node.js runtime.

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": {
      "url_or_host": "<url_or_host>"
    },
    "name": "check_tls"
  }
}

Input Schema

NameRequiredDescriptionDefault
url_or_hostYesHostname or https URL. Only port 443. Private, loopback, link-local, CGNAT, and metadata addresses are rejected after DNS resolution.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Added

TDQS

A3.9/5.0
Behavior4/5

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

Annotations already declare readOnlyHint/idempotentHint/destructiveHint=false, so the safety bar is lower, yet the description still adds real behavior: SSRF-safety measures (DNS resolution, private/reserved IP rejection, pinned validated IP, no cross-host redirects), a ~30 minute cache, and a Node.js runtime dependency. What's missing is failure behavior — how certificate errors, timeouts, or unreachable hosts are surfaced in the response.

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 dense, front-loaded paragraph: the scope/SSRF constraint leads, the reported artifacts follow, and operational notes (cache, read-only, runtime) close it out. Parenthetical enumeration is efficient, though the sentence is long enough that a reader must parse carefully to extract the port-443 restriction.

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?

With no output schema, the description carries the burden of explaining return content and does so explicitly (certificate fields, chain validation, TLS version/cipher, header checks). The remaining gap is error semantics and what a degraded/unreachable result looks like, minor for a single-parameter read-only probe.

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?

The single parameter has 100% schema description coverage, so the schema already documents that private, loopback, link-local, CGNAT, and metadata addresses are rejected after DNS resolution. The description largely restates those constraints rather than adding new formatting or parsing meaning (e.g., whether a bare host defaults to https). 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?

States a specific verb-plus-resource ('Connect to port 443', reports certificate subject/issuer/SANs/validity, chain validation, negotiated TLS version/cipher, HSTS, security headers) and a concrete output surface, which clearly separates it from siblings such as check_dns_security or scan_dependencies. An agent can tell exactly what this tool returns without opening the schema.

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 directed: 'public host only' and 'Only port 443' scope the calls that are valid, but there is no explicit when-to-use versus when-not, and no sibling (e.g., check_dns_security) is named as an alternative. The constraints narrow the domain but leave the routing decision to the agent.

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