Skip to main content
Glama
MIRAI Intelligence & Research MCP

MIRAI Intelligence & Research MCP

by Tarant336

TLS metadata / fingerprint analysis

pcap_tls_metadata_analyze
Read-onlyIdempotent

Parse TLS handshake metadata from PCAP files without decryption to extract versions, cipher suites, SNI, ALPN, JA3-style fingerprints, and certificate common names for forensic analysis.

Instructions

Parse TLS ClientHello/ServerHello METADATA ONLY (no decryption is ever attempted): version, cipher suites, SNI, ALPN, supported groups, a JA3-style fingerprint (MD5 over version+ciphers+extensions+curves+point-formats), and certificate subject/issuer common names when a ServerHello Certificate message is present (best-effort DER parsing). 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": {
      "pcapPath": "<pcapPath>"
    },
    "name": "pcap_tls_metadata_analyze"
  }
}

Input Schema

NameRequiredDescriptionDefault
pcapPathYesPath to the artifact, relative to the authorized workspace root.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already establish readOnly, idempotent and non-destructive, so the trailing 'Read-only' adds nothing. What does add value is the explicit no-decryption guarantee, the disclosed fingerprint construction (MD5 over version+ciphers+extensions+curves+point-formats) which makes the output interpretable, and the 'best-effort DER parsing' caveat that warns certificate fields may be absent or partial.

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?

Single front-loaded sentence with the most important constraint (metadata only, no decryption) placed early. Every parenthetical carries real information, though the dense enumeration of fields and fingerprint inputs makes it heavy to scan on a first pass.

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, so the description must convey the return shape — and it does by listing the extracted fields and notes that certificate CNs appear only when a ServerHello Certificate message is present. For a one-parameter read-only analyzer, an agent has everything needed to call it and interpret results.

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 coverage is 100% for the single pcapPath parameter, and its workspace-root-relative constraint is already documented in the schema. The description neither restates nor extends the path semantics, so the baseline of 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 ('Parse') and resource ('TLS ClientHello/ServerHello metadata'), then enumerates exactly which fields are extracted (version, cipher suites, SNI, ALPN, supported groups, JA3-style fingerprint, certificate CNs). The phrase 'METADATA ONLY (no decryption is ever attempted)' separates it cleanly from a general pcap_analyze or payload-inspection tool.

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?

The description implies when this applies (a capture containing TLS handshakes) and rules out one adjacent expectation (it will not decrypt traffic). However, it never names an alternative or states a selection condition against siblings such as pcap_analyze, pcap_flow_analyze, or protocol_fingerprint, so routing still requires inference.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Deploy Server

Other Tools