Skip to main content
Glama
MIRAI Intelligence & Research MCP

MIRAI Intelligence & Research MCP

by Tarant336

AI-usage indicator analysis (§B5)

ai_malware_indicator_analyze
Read-onlyIdempotent

Classify malware evidence into five AI-usage categories by detecting embedded LLM prompts, model API endpoints, API-key patterns, and AI SDK imports; flag conventional automation as non-AI.

Instructions

Classify evidence into the five §B5 AI-usage categories: (1) AI-assisted malware development, (2) AI-generated components, (3) runtime AI integration, (4) AI-assisted botnet analysis (researcher side), (5) conventional automation mislabelled as AI. Detects indicators such as embedded LLM prompts, model API endpoints, API-key patterns and AI SDK imports. Plain rule-based automation is explicitly defaulted to Category 5 and never classified as AI.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ai_malware_indicator_analyze"
  }
}

Input Schema

NameRequiredDescriptionDefault
filePathNoBinary sample inside the workspace.
indicatorsNoAnalyst-supplied candidate indicators to confirm against the evidence.
sourcePathNoAuthorized source directory inside the workspace.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile is covered. The description adds genuine behavioral content beyond that: the five-category taxonomy, the concrete indicator classes inspected, and the conservative default that rule-based automation must land in Category 5. It does not say what is returned or what happens when no evidence is supplied, which matters because zero parameters are required.

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?

Three sentences, front-loaded with the taxonomy and followed by the detection signals and the tie-breaking rule. The category enumeration is lengthy but load-bearing for an agent that must reason about the output labels; only the trailing default rule borders on redundant after Category 5 is listed.

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?

With 100% schema coverage and annotations covering safety, the description is close to sufficient, but it never explains the zero-required-parameter design — whether supplying neither path is legal, and whether indicators are optional refinements. Since there is no output schema, a hint about the shape of the classification result would also help, leaving it merely adequate.

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 coverage is 100%, so filePath, sourcePath and indicators are already documented as binary sample, authorized source directory, and analyst-supplied candidates. The description adds nothing about how those three relate (e.g. whether filePath and sourcePath are alternatives and how indicators modify the result), so the baseline 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 (classify) and resource (evidence into the five §B5 AI-usage categories), and enumerates the categories plus the indicator types it looks for, so the agent knows exactly what this produces. It stops short of naming a sibling such as malware_sample_analyze or static_analysis_run to contrast against, so differentiation is inferable from topic rather than stated.

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 statement of when to pick this tool over the many other malware/source analysis siblings, and no preconditions or exclusions. The rule that plain automation defaults to Category 5 is a classification policy, not usage guidance, so the agent must infer the invocation context.

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