Skip to main content
Glama

Domain risk verdict + DNS, RDAP, TLS facts, pay per call (x402)

TLS certificate facts

ssl_certificate

Issuer, subject, valid-from and expiry, days left and the SAN list of the certificate a host serves (TLS handshake). $0.002 USDC per call via x402.

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

Input Schema

NameRequiredDescriptionDefault
hostYesHost name, e.g. example.com
portNoTLS port (443, 8443, 465, 993, 995, 853, 636, 990)
x_paymentNox402 payment: base64 PaymentPayload for the invoice returned by an unpaid call (same value as the X-PAYMENT / PAYMENT-SIGNATURE header).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observed

TDQS

A3.7/5.0
Behavior4/5

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

With no annotations, the description carries the full load and does add real context: it discloses the per-call price and payment rail ($0.002 USDC via x402) and the fact that the read is performed over a TLS handshake to the host. It also enumerates the returned fields, functioning as substitute output documentation. It omits failure behavior (handshake errors, timeouts, expired/untrusted chains).

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 sentences, zero filler, with the returned-field list front-loaded and the pricing condition placed last. Slight deduction for the opening fragment lacking a verb, which makes the first read marginally less scannable.

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?

For a 3-parameter tool with no annotations and no output schema, the description covers what is returned, how it is obtained, and what it costs — the essentials an agent needs. The remaining gap is error/edge-case behavior when the handshake fails or the certificate is invalid.

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 x_payment are already fully documented, including the port default and the enumerated port examples. The description adds no syntax or semantic detail beyond the schema, so the baseline 3 applies.

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?

Names the exact resources returned (issuer, subject, validity window, days left, SAN list) and identifies the mechanism as a live TLS handshake, which distinguishes it from rdap_lookup or dns_records that surface related-but-different data. It is not a verb-first phrasing, and it never explicitly names a sibling, so it falls short of a 5.

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 only implied: the '(TLS handshake)' note signals this reads the live served certificate and therefore needs a reachable host, which is a meaningful cue. There is no when-to-use/when-not guidance and no routing to alternatives such as rdap_lookup for registry-side certificate data.

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.