Skip to main content
Glama

Read stored TLS evidence without scanning

get_tls_evidence
Read-onlyIdempotent

Read the latest valid stored signed TLS receipt by jti or host:port (or legacy domain evidence) without starting a network scan. Use this read-only lookup first before calling scan_tls. Returns RECEIPT_EXPIRED if the stored receipt expired. A missing record is not proof that a domain is unsafe.

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

Input Schema

NameRequiredDescriptionDefault
jtiNoExact signed receipt identifier (jti) returned previously by scan_tls.
hostNoTarget hostname or host:port to look up the latest stored signed receipt without running a network scan.
portNoTLS port for host lookup (default 443).
domainNoPublic DNS hostname (backward-compatible alias for host on port 443).
targetNoNormalized host:port target identifier.

Output Schema

NameRequiredDescriptionDefault
verifyYes
receiptYes
signed_receipt_jwsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • changedInput schema / properties / domain / description
      Previous value: -"Public DNS hostname (backward compatible alias)."New value: +"Public DNS hostname (backward-compatible alias for host on port 443)."
    • addedInput schema / properties / domain / examples
      Added value: +[
      +  "example.com"
      +]
    • changedInput schema / properties / host / description
      Previous value: -"Target hostname or host:port to look up the latest stored signed receipt."New value: +"Target hostname or host:port to look up the latest stored signed receipt without running a network scan."
    • addedInput schema / properties / host / examples
      Added value: +[
      +  "cloudflare.com"
      +]
    • changedInput schema / properties / jti / description
      Previous value: -"Receipt ID (jti) returned by scan_tls."New value: +"Exact signed receipt identifier (jti) returned previously by scan_tls."
    • addedInput schema / properties / jti / examples
      Added value: +[
      +  "rcpt_01JXYZ..."
      +]
    • changedInput schema / properties / port / description
      Previous value: -"TLS port (default 443)."New value: +"TLS port for host lookup (default 443)."
    • addedInput schema / properties / port / examples
      Added value: +[
      +  443
      +]
    • changedInput schema / properties / target / description
      Previous value: -"Normalized target host:port."New value: +"Normalized host:port target identifier."
    • addedInput schema / properties / target / examples
      Added value: +[
      +  "cloudflare.com:443"
      +]
  2. Changed7 schema fields changed
    • changedInput schema / properties / domain / description
      Previous value: -"Public DNS hostname, for example example.com. HTTPS port 443 only."New value: +"Public DNS hostname (backward compatible alias)."
    • addedInput schema / properties / host
      Added value: +{
      +  "description": "Target hostname or host:port to look up the latest stored signed receipt.",
      +  "maxLength": 253,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / jti
      Added value: +{
      +  "description": "Receipt ID (jti) returned by scan_tls.",
      +  "maxLength": 128,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / port
      Added value: +{
      +  "default": 443,
      +  "description": "TLS port (default 443).",
      +  "maximum": 65535,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • addedInput schema / properties / target
      Added value: +{
      +  "description": "Normalized target host:port.",
      +  "maxLength": 260,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • removedInput schema / required
      Removed value: -[
      -  "domain"
      -]
    • changedOutput schema / (root)
      Previous value: -nullNew value: +{
      +  "additionalProperties": true,
      +  "properties": {
      +    "receipt": {
      +      "properties": {
      +        "exp": {
      +          "type": "integer"
      +        },
      +        "iat": {
      +          "type": "integer"
      +        },
      +        "iss": {
      +          "type": "string"
      +        },
      +        "jti": {
      +          "type": "string"
      +        },
      +        "nbf": {
      +          "type": "integer"
      +        },
      +        "policy_verdict": {
      +          "required": [
      +            "policy_id",
      +            "policy_version",
      +            "policy_uri",
      +            "result",
      +            "grade",
      +            "fail_reasons",
      +            "warnings"
      +          ],
      +          "type": "object"
      +        },
      +        "rcpt_ver": {
      +          "type": "string"
      +        },
      +        "scan": {
      +          "type": "object"
      +        },
      +        "sub": {
      +          "type": "string"
      +        },
      +        "target": {
      +          "type": "object"
      +        },
      +        "tls_audit": {
      +          "type": "object"
      +        }
      +      },
      +      "required": [
      +        "iss",
      +        "sub",
      +        "iat",
      +        "nbf",
      +        "exp",
      +        "jti",
      +        "rcpt_ver",
      +        "target",
      +        "scan",
      +        "tls_audit",
      +        "policy_verdict"
      +      ],
      +      "type": "object"
      +    },
      +    "signed_receipt_jws": {
      +      "type": "string"
      +    },
      +    "verify": {
      +      "properties": {
      +        "authoritative": {
      +          "const": "signed_receipt_jws",
      +          "type": "string"
      +        },
      +        "issuer": {
      +          "type": "string"
      +        },
      +        "jwks_uri": {
      +          "type": "string"
      +        },
      +        "typ": {
      +          "type": "string"
      +        }
      +      },
      +      "required": [
      +        "issuer",
      +        "jwks_uri",
      +        "typ",
      +        "authoritative"
      +      ],
      +      "type": "object"
      +    }
      +  },
      +  "required": [
      +    "receipt",
      +    "signed_receipt_jws",
      +    "verify"
      +  ],
      +  "type": "object"
      +}
  3. 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, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description still adds real context beyond them: no network scan is started, an expired receipt yields RECEIPT_EXPIRED, and a missing record is explicitly not evidence of an unsafe domain — a meaningful interpretive caveat. It does not cover precedence among the lookup keys, which is the remaining behavioral gap.

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

Conciseness5/5

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

Three tight sentences, front-loaded with the action and scope, followed by usage routing and then error/caveat semantics. No sentence restates the name or title without adding information.

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 an output schema present, return values need not be described, and the definition still calls out the RECEIPT_EXPIRED case and the negative-result interpretation. The only shortfall is the absence of guidance on key precedence given that all five parameters are optional.

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 all five parameters are already documented in the schema, establishing a baseline of 3. The description adds only the framing that lookups happen 'by jti or host:port (or legacy domain evidence)', which lightly reinforces the alternative key modes but does not explain precedence or what happens when no key is supplied (required parameters = 0).

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 opens with a specific verb and resource — 'Read the latest valid stored signed TLS receipt' — and immediately names the lookup keys (jti or host:port, plus legacy domain evidence) and the explicit contrast with a network scan. An agent can distinguish this from scan_tls without opening either 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?

It gives explicit ordering guidance: 'Use this read-only lookup first before calling scan_tls', which effectively names the alternative and the condition that selects it. It stops short of stating when to skip this tool (e.g. no stored receipt, need fresh data) beyond the implied scan_tls fallback.

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.