Skip to main content
Glama

tls_posture

Read-only

Grade a host's transport security A–F in one call, correlating tls_certificate (validity, chain trust, protocol, key/signature), cert_revocation (OCSP/CRL endpoints, must-staple) and hsts_preload_check (browser HSTS preload). Returns the letter grade, a 0–100 score, and the factors behind it (expired/weak-key/obsolete-protocol lower it; must-staple and HSTS preload strengthen it). A benign TLS handshake plus a keyless HSTS lookup — no probing. Read-only.

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

Input Schema

NameRequiredDescriptionDefault
hostYesHost name or IP, e.g. example.com
portNoTLS port (default 443)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already declare readOnlyHint and openWorldHint, yet the description adds real value: it discloses the underlying mechanic ('benign TLS handshake plus a keyless HSTS lookup — no probing') and the direction of the scoring factors. It omits things like rate limits, timeouts, or behaviour on unreachable hosts, so it is not fully exhaustive.

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?

Three dense sentences, front-loaded with purpose, then inputs correlated, then return shape and scoring direction. The parenthetical factor explanations are informative rather than filler, though the sentence on scoring factors is the least essential.

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?

There is no output schema, and the description compensates fully by stating exactly what comes back (letter grade, 0–100 score, contributing factors) and which factors push the grade up or down. Combined with the two-parameter schema and annotations, an agent has everything needed to call it correctly.

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 both parameters (host, port with default 443) are documented in the schema itself. The description adds no host syntax, port edge cases, or validation notes beyond what the schema states, so the 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?

Opens with a specific verb and resource ('Grade a host's transport security A–F') and immediately distinguishes itself from the granular siblings by naming the three checks it correlates (tls_certificate, cert_revocation, hsts_preload_check). An agent can tell this is the composite scoring tool rather than an individual check without consulting any schema.

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?

'in one call' signals that this is the aggregated path versus calling the three component checks separately, which is useful routing context. It stops short of an explicit when-not-to-use rule or a stated trade-off (e.g. per-component detail), so it falls just below the top band.

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