Skip to main content
Glama

Measure TLS and post-quantum key exchange

scan_tls

Run a new, rate-limited TLS 1.3 scan of a public host (default port 443) to observe whether it negotiates hybrid post-quantum key exchange (X25519MLKEM768) and issue a signed Ed25519 JWS receipt (v1, policy qa-pqc-transport 1.0) verifiable offline via /.well-known/jwks.json. Use when you need a fresh measurement; use get_tls_evidence first if stored evidence is sufficient. Starts an external connection and stores a publicly accessible result. Does not judge application safety.

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

Input Schema

NameRequiredDescriptionDefault
hostNoPublic hostname or IP address to probe for TLS 1.3 and X25519MLKEM768 key exchange, for example mcp.example.com.
portNoTCP port running TLS (default 443).
domainNoBackward-compatible alias for host when scanning port 443.
endpoint_typeNoOptional endpoint classification recorded in the signed receipt metadata (e.g. mcp_remote, a2a, https).
discovered_manifestNoOptional discovery manifest path observed on the target host.

Output Schema

NameRequiredDescriptionDefault
verifyYes
receiptYes
signed_receipt_jwsYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed10 schema fields changed
    • changedInput schema / properties / discovered_manifest / description
      Previous value: -"Optional manifest path observed on the target."New value: +"Optional discovery manifest path observed on the target host."
    • addedInput schema / properties / discovered_manifest / examples
      Added value: +[
      +  "/.well-known/agent-card.json",
      +  "/.well-known/mcp.json"
      +]
    • changedInput schema / properties / domain / description
      Previous value: -"Alias for host (backward compatible)."New value: +"Backward-compatible alias for host when scanning port 443."
    • addedInput schema / properties / domain / examples
      Added value: +[
      +  "example.com"
      +]
    • changedInput schema / properties / endpoint_type / description
      Previous value: -"Optional endpoint classification, e.g. mcp_remote or a2a."New value: +"Optional endpoint classification recorded in the signed receipt metadata (e.g. mcp_remote, a2a, https)."
    • addedInput schema / properties / endpoint_type / examples
      Added value: +[
      +  "mcp_remote",
      +  "a2a",
      +  "https"
      +]
    • changedInput schema / properties / host / description
      Previous value: -"Public hostname or IP address to scan, for example mcp.example.com."New value: +"Public hostname or IP address to probe for TLS 1.3 and X25519MLKEM768 key exchange, for example mcp.example.com."
    • addedInput schema / properties / host / examples
      Added value: +[
      +  "cloudflare.com",
      +  "mcp.example.com"
      +]
    • changedInput schema / properties / port / description
      Previous value: -"TLS port (default 443)."New value: +"TCP port running TLS (default 443)."
    • addedInput schema / properties / port / examples
      Added value: +[
      +  443,
      +  8443
      +]
  2. Changed7 schema fields changed
    • addedInput schema / properties / discovered_manifest
      Added value: +{
      +  "description": "Optional manifest path observed on the target.",
      +  "maxLength": 256,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • changedInput schema / properties / domain / description
      Previous value: -"Public DNS hostname, for example example.com. HTTPS port 443 only."New value: +"Alias for host (backward compatible)."
    • addedInput schema / properties / endpoint_type
      Added value: +{
      +  "description": "Optional endpoint classification, e.g. mcp_remote or a2a.",
      +  "maxLength": 64,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / host
      Added value: +{
      +  "description": "Public hostname or IP address to scan, for example mcp.example.com.",
      +  "maxLength": 253,
      +  "minLength": 1,
      +  "type": "string"
      +}
    • addedInput schema / properties / port
      Added value: +{
      +  "default": 443,
      +  "description": "TLS port (default 443).",
      +  "maximum": 65535,
      +  "minimum": 1,
      +  "type": "integer"
      +}
    • 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.3/5.0
Behavior4/5

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

Annotations declare openWorldHint=true, readOnlyHint=false and idempotentHint=false; the description goes beyond them by disclosing that it starts an external connection, stores a publicly accessible result, is rate-limited, and emits a signed Ed25519 JWS receipt verifiable offline. The side-effect disclosure ('stores a publicly accessible result') is exactly the kind of context annotations cannot convey. It stops short of stating actual rate limits or failure/retry behavior, so it is not a 5.

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?

Front-loaded with the core action, then the condition-to-use and the negative scope; no wasted sentences. The middle sentence is clause-dense with receipt versioning and policy IDs, but that detail is functional rather than filler. Slightly heavy packaging keeps it from a 5.

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?

An output schema exists, so return-value detail need not be described, and the annotations already flag the open-world/non-idempotent profile. What remains missing is operational detail on rate limits and what happens on scan failure, which matters for a tool that makes external connections. Still, an agent has enough to call it correctly and interpret the result.

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 the schema already documents all five parameters including the host/domain alias and optional receipt metadata. The description only restates the default port 443 and the 'public host' constraint, adding little parameter meaning beyond the structured fields. Baseline 3 is appropriate.

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 and resource ('Run a new, rate-limited TLS 1.3 scan of a public host') plus the exact observation target (X25519MLKEM768 negotiation) and the receipt artifact produced. It explicitly distinguishes itself from the sibling get_tls_evidence, so an agent can choose between them 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 Guidelines5/5

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

Gives an explicit when-to-use ('need a fresh measurement') and a named alternative with its selection condition ('use get_tls_evidence first if stored evidence is sufficient'). It also bounds scope with a negative exclusion ('Does not judge application safety'), leaving little to inference.

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.