Skip to main content
Glama
MIRAI Intelligence & Research MCP

MIRAI Intelligence & Research MCP

by Tarant336

PCAP analyze (detectors)

pcap_analyze
Read-onlyIdempotent

Analyze PCAP files offline to detect SYN, UDP, and HTTP floods, DNS amplification, and beacon regularity, returning measured values, confidence, false-positive notes, and mitigation advice.

Instructions

Deep multi-pass PCAP analysis with real detectors: SYN flood, UDP flood, HTTP flood, DNS amplification and beacon regularity. Returns per-detector measured values, threshold rationale, confidence, false-positive notes and mitigation advice. Offline analysis only; no traffic is generated.

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

Input Schema

NameRequiredDescriptionDefault
topNNoTop-N entries for supporting lists (default 10).
focusNoWhich detector to run (default general = all).
pcapPathYesWorkspace-relative path to a PCAP file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.6/5.0
Behavior4/5

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

Annotations already declare readOnlyHint=true, idempotentHint=true, destructiveHint=false, and openWorldHint=false. The description adds useful behavioral context beyond that: it says analysis is multi-pass, returns per-detector measured values, threshold rationale, confidence, false-positive notes, and mitigation advice, and explicitly states that no traffic is generated.

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?

The description is two focused sentences with no wasted wording. It front-loads the core purpose and detector list, then concisely covers return content and the offline constraint.

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 moderately complex analysis tool with no output schema, the description does a good job explaining what the analysis produces and that it performs no active traffic generation. The main gap is the lack of explicit routing guidance relative to sibling PCAP tools.

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 parameters are already documented in the input schema. The description does not add parameter-level detail beyond what the schema provides, so the baseline score of 3 is appropriate.

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?

The description states a specific verb and resource: deep multi-pass PCAP analysis with named detectors (SYN flood, UDP flood, HTTP flood, DNS amplification, beacon regularity). This is clear enough for an agent to understand the tool's core function, though it does not explicitly distinguish itself from sibling PCAP tools such as pcap_dns_analyze or pcap_flow_analyze.

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?

The description does not say when to use this tool versus alternatives. It implies a use case by naming flood and beacon detectors, and notes 'offline analysis only,' but provides no guidance on choosing between this and sibling PCAP or network analysis tools.

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