Skip to main content
Glama
MIRAI Intelligence & Research MCP

MIRAI Intelligence & Research MCP

by Tarant336

Malware attack-module analyze

malware_attack_module_analyze
Read-onlyIdempotent

Analyze authorized malware attack-module source to map functions to roles and identify packet construction, protocol structs, state machines, and config handling without generating attack code.

Instructions

Structurally analyse AUTHORIZED malware attack-module source (e.g. Mirai-style modules) without producing or improving attack code: maps functions to roles, identifies raw-socket/packet-construction approach, protocol structs, state machine, config handling, per-architecture differences and reuse patterns. Network access is never required; it explains what the code does and why.

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": {
      "sourcePath": "<sourcePath>"
    },
    "name": "malware_attack_module_analyze"
  }
}

Input Schema

NameRequiredDescriptionDefault
maxFilesNoMaximum files to scan (default 200).
sourcePathYesWorkspace-relative path to the source directory or file.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.8/5.0
Behavior4/5

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

Annotations already declare readOnly, non-destructive, idempotent and closed-world, so the safety profile is covered. The description adds meaningful context beyond that: no network access, no code generation or improvement, and the output is explanatory ('what the code does and why'). It does not mention truncation behavior when maxFiles is hit or how results are shaped, but the added behavioral framing is genuinely useful.

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?

Two compact sentences, with the constraint (authorized, no code production) front-loaded before the capability list. The enumerated capabilities are dense but each maps to a real analysis dimension. Slight density in the middle list is the only cost.

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?

With no output schema, the description must describe what comes back, and it does so concretely (role mapping, protocol structs, state machine, per-architecture differences). Combined with complete parameter documentation and full annotation coverage, an agent has everything needed to select and call it correctly.

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% and both parameters (sourcePath, maxFiles) are already documented in the schema, including defaults and bounds. The description adds nothing about path semantics or the effect of maxFiles on results, so the schema carries the full burden and the baseline of 3 applies.

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 gives a specific verb ('structurally analyse') and a specific resource ('AUTHORIZED malware attack-module source'), then enumerates the concrete analysis outputs: function-to-role mapping, socket/packet approach, protocol structs, state machine, config handling, per-architecture differences, reuse patterns. It is far more precise than the title alone. It stops short of naming which sibling to use instead (e.g., malware_source_analyze or mirai_variant_analyze), so an agent must infer differentiation.

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?

'AUTHORIZED' and 'without producing or improving attack code' establish an important usage boundary and constraint, and 'Network access is never required' sets expectations. However, there is no explicit when-to-use versus alternatives guidance and no named sibling to route against, leaving the agent to infer that this is the structural-role tool rather than the family/variant or binary-analysis tool.

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