Skip to main content
Glama
MIRAI Intelligence & Research MCP

MIRAI Intelligence & Research MCP

by Tarant336

IOC extraction from capture

ioc_extract
Read-onlyIdempotent

Extract IPv4s, domains, URLs, JA3 fingerprints, and hash-like strings from packet captures; filter private/reserved IPs unless requested, then deduplicate and classify for defensive ingestion.

Instructions

Extract indicators of compromise from a capture: IPv4 addresses (private/reserved filtered unless requested), domains (from DNS queries, TLS SNI and HTTP Host), URLs (from HTTP), JA3 fingerprints and hash-like strings. Results are deduplicated and classified for defensive ingestion.

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

Input Schema

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

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

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 openWorldHint=false, so the safety profile is covered. The description adds genuinely new behavioral context: private/reserved addresses are filtered by default, extraction sources are named (DNS queries, TLS SNI, HTTP Host), and results are deduplicated and classified. It stops short of stating output structure or volume limits, but that is a minor gap for a read-only tool.

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 action and resource, then the substrate detail. Every clause carries information — extraction sources, filter default, dedup/classification — with no filler or restatement of the tool name.

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 two-parameter read-only tool with no output schema, the description covers what is extracted, from where, and how results are conditioned. A brief note on the return shape (flat list vs. grouped by IOC type) or that 'classified' means a category label would close the last gap.

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?

Schema coverage is only 50%, and the undocumented parameter is includePrivate; the description compensates by explaining that private/reserved addresses are excluded 'unless requested', which effectively defines that flag. pcapPath is well covered by its own schema description, so the description does not need to repeat it. The added meaning is real but the tie between the phrase and the flag name is implicit rather than explicit.

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?

Names a specific verb ('Extract') and resource ('indicators of compromise from a capture') and then enumerates exactly what counts as an IOC: IPv4, domains, URLs, JA3 fingerprints, hash-like strings. That enumeration distinguishes it from analysis siblings like c2_beacon_detect or ai_malware_indicator_analyze without needing to name them.

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?

Usage is implied by the resource ('from a capture', requires a pcapPath), and the private/reserved-IP filtering default is a useful operational note. However, there is no explicit when-to-use vs when-not-to-use guidance, no mention of prerequisites such as the authorized workspace root, and no routing to alternative tools if the caller wants beacon or protocol analysis instead.

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