Skip to main content
Glama
MIRAI Intelligence & Research MCP

MIRAI Intelligence & Research MCP

by Tarant336

Malware sample static triage

malware_sample_analyze
Read-onlyIdempotent

Statically triage malware binaries without execution: identify format and architecture, parse ELF headers, extract string offsets, flag suspicious strings and packers, and hash samples.

Instructions

Statically triage a malware binary: detect container format and architecture, parse the ELF header, extract printable strings with offsets, flag security-relevant strings and packer signatures, and hash the sample. Read-only analysis; the sample is never executed.

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": {
      "filePath": "<filePath>"
    },
    "name": "malware_sample_analyze"
  }
}

Input Schema

NameRequiredDescriptionDefault
filePathYesPath to the artifact, relative to the authorized workspace root.
maxBytesNoMaximum bytes to read from the artifact.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

A3.7/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 largely covered and 'Read-only analysis' is somewhat redundant. However, 'the sample is never executed' is a meaningful analyst-facing guarantee for a malware tool (no detonation risk), and the enumerated analysis stages tell the agent what work is actually performed. It omits error/failure behavior on non-ELF or non-binary inputs, which keeps it below 5.

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?

A single front-loaded sentence that leads with verb and resource, then lists concrete outputs, and closes with the no-execution caveat. Every clause contributes substantive information with no filler. Slightly run-on and could be split for scannability, which keeps it from a 5.

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?

There is no output schema, so the description correctly compensates by enumerating what is produced (format, architecture, ELF header, strings with offsets, security-relevant strings, packer signatures, hash). Parameters are documented in the schema, so nothing is missing there. It falls short of complete by not noting behavioral limits such as handling of non-ELF inputs, truncation when maxBytes is hit, or how strings are delimited.

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 carry their own descriptions, so the schema does the heavy lifting. The description adds no meaning beyond the schema for filePath (workspace-relative) or maxBytes (read cap), and does not connect maxBytes to string-extraction completeness. Baseline 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?

States a specific verb ('statically triage') and resource ('a malware binary') and then enumerates the concrete operations: container/architecture detection, ELF header parsing, string extraction with offsets, packer signature flagging, and hashing. This is far more specific than a tautology. It does not, however, distinguish itself from plausible siblings such as elf_analyze or static_analysis_run, so an agent cannot rule out overlap from the description alone.

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?

No explicit when-to-use or when-not-to-use guidance, and no named alternatives despite several sibling tools covering adjacent ground. The word 'triage' implies a first-pass screening step before deeper analysis, which is a usable but only implied signal. An agent must infer sequencing from the term 'triage' rather than being told.

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