Skip to main content
Glama
MIRAI Intelligence & Research MCP

MIRAI Intelligence & Research MCP

by Tarant336

Extracted filesystem analysis

firmware_filesystem_analyze
Read-onlyIdempotent

Analyze extracted firmware filesystems or cpio/tar archives to identify init systems, enumerate services and scripts, inspect credentials and SSH/telnet/HTTP configs, and summarize hardening gaps.

Instructions

Inspect an already-extracted firmware filesystem directory or a cpio/tar archive: identify the init system (BusyBox, systemd, OpenWrt procd, SysV), enumerate init/rc scripts and services, inspect default credential files (/etc/passwd, /etc/shadow), SSH/dropbear host keys, telnet and HTTP configuration, flag hardcoded credentials in config files, and summarise hardening gaps. Read-only.

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": {
      "path": "<path>"
    },
    "name": "firmware_filesystem_analyze"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesWorkspace path to an extracted directory or a cpio/tar archive.

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 supply readOnlyHint, idempotentHint, destructiveHint=false and openWorldHint=false, so safety is covered; the description nonetheless adds value by disclosing what the tool inspects (credential files, shadow, host keys, telnet/HTTP config) and what it produces (flagged hardcoded credentials, a hardening-gap summary). The trailing 'Read-only' is redundant with annotations but not contradictory.

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 sentence, front-loaded with the verb and input type, then a tight comma-delimited enumeration of checks — no filler, and the read-only qualifier is placed last as a scope note.

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?

With no output schema, the description carries the burden of describing results, and it does so by listing the findings it reports and the hardening summary. It stops short of stating output structure or limits (e.g., unsupported/encrypted filesystems, recursion depth), which keeps it from a 5.

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?

Only one parameter and schema description coverage is 100%, so the schema already documents that path accepts an extracted directory or a cpio/tar archive. The description restates the same input flexibility without adding format, size, or path-resolution details beyond the schema.

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 concrete verb (inspect) and resource (already-extracted firmware filesystem directory or cpio/tar archive), then enumerates the specific artefacts it targets: init system identification, rc scripts, /etc/passwd and /etc/shadow, host keys, telnet/HTTP config, hardcoded credentials, hardening gaps. The phrase 'already-extracted' implicitly separates it from extraction siblings like firmware_extract.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines4/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

The 'already-extracted' qualifier gives clear context on the precondition — the agent must have a directory or archive in hand, implying extraction happens elsewhere — but no alternative is named explicitly and there is no statement of when this tool is a poor fit versus, say, firmware_component_scan or firmware_vulnerability_analyze.

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