Skip to main content
Glama
MIRAI Intelligence & Research MCP

MIRAI Intelligence & Research MCP

by Tarant336

Analyze a binary for vulnerability markers

binary_vulnerability_analyze
Read-onlyIdempotent

Perform read-only binary triage by detecting container format and architecture, then scanning extracted strings for dangerous libc sinks, shell primitives, and weak crypto without executing the sample.

Instructions

Read-only binary triage: detect container format/architecture and scan extracted strings for dangerous libc sinks, shell primitives and weak crypto. Never executes the sample.

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": "binary_vulnerability_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.8/5.0
Behavior4/5

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

Annotations already declare readOnlyHint, idempotentHint and destructiveHint=false, so safety is partly covered; the description still adds real value by stating 'Never executes the sample', which is a critical behavioral fact the annotations do not convey. Remaining undisclosed traits are minor: the effect of maxBytes truncation on findings and any workspace-path validation behavior.

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?

A single front-loaded sentence: the analysis mode and safety guarantee come first, the concrete scan targets follow. No filler, no repetition of the name or title.

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 static analysis tool with rich annotations, the definition covers purpose, scope and the no-execution guarantee adequately. The main residual gap is that with no output schema, the shape of the result (format/arch record plus matched string findings) is only loosely implied rather than stated.

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 both filePath and maxBytes are already documented in the schema, setting the baseline at 3. The description adds no semantics beyond that — notably it does not explain that maxBytes limits the scanned region and can therefore reduce findings.

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?

Names a concrete verb and resource: triage of a binary, covering container/architecture detection and string scanning for libc sinks, shell primitives and weak crypto. The word 'binary' implicitly separates it from the sibling source_/firmware_vulnerability_analyze tools, but the description does not name any alternative explicitly.

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?

The opening 'Read-only binary triage' implies the operative context (a compiled binary artifact in the workspace), which is useful selection signal. However, there is no explicit when-to-use versus when-not, and no routing to sibling tools such as firmware_vulnerability_analyze for firmware images or source_vulnerability_analyze for source code.

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