Skip to main content
Glama
MIRAI Intelligence & Research MCP

MIRAI Intelligence & Research MCP

by Tarant336

Protocol / service fingerprinting

protocol_fingerprint
Read-onlyIdempotent

Identifies protocols and services in a packet capture using port and payload heuristics, leveraging Suricata or Zeek logs when available or pure-JS analysis otherwise.

Instructions

Fingerprint the protocols and services present in a capture by port and payload heuristics: HTTP, DNS, TLS, DHCP, SSDP, mDNS, NTP, Telnet, SNMP, MQTT and CoAP. If Suricata or Zeek are available they are run read-only over the capture for protocol logs; otherwise pure-JS heuristics are used.

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

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

B3.4/5.0
Behavior3/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so the safety profile is covered. The description adds genuine behavioral context beyond them by disclosing the two-tier execution path (Suricata/Zeek protocol logs run read-only when available, otherwise pure-JS heuristics), which implies differing fidelity or availability. It still says nothing about output form, latency, or what happens on an unsupported/undetected protocol, so it lands at a solid 3 rather than higher.

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?

Two sentences, front-loaded with the verb and resource, with the protocol list and the execution-path caveat packed in without waste. Every clause carries information an agent cannot get from the schema or annotations.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

For a single-path read tool with no output schema, the description should indicate what an agent receives back, especially since the fallback path means results may vary in shape or coverage between Suricata/Zeek and pure-JS modes. It covers what is scanned but not the returned structure or how detection confidence is expressed.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Only one parameter, pcapPath, and the schema documents it at 100% coverage including the workspace-relative constraint. With no parameters needing extra explanation the baseline is 4; the description adds nothing further about the path but nothing is required.

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?

States a specific verb and resource ('Fingerprint the protocols and services present in a capture') and then enumerates the exact protocol set (HTTP, DNS, TLS, DHCP, SSDP, mDNS, NTP, Telnet, SNMP, MQTT, CoAP), which tells an agent precisely what it will get. It stops short of naming how it differs from a sibling like c2_protocol_analyze, so it is clear in isolation but not sibling-differentiated.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines2/5

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

There is no when-to-use or when-not-to-use guidance and no named alternative, even though c2_protocol_analyze sits adjacent in the catalog. The Suricata/Zeek sentence describes internal mechanism, not the conditions under which an agent should pick this tool over another.

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