Skip to main content
Glama
MIRAI Intelligence & Research MCP

MIRAI Intelligence & Research MCP

by Tarant336

Vulnerable component scan

firmware_component_scan
Read-onlyIdempotent

Scans firmware images or extracted directories for known components and versions, then cross-references version strings with curated CVE hints. Matches are indicative, not exploitability proof.

Instructions

Scan a firmware image or extracted directory for known components and their versions (busybox, dropbear, openssl, openssh, libupnp, miniupnpd, lighttpd, boa, goahead, dnsmasq, wpa_supplicant, hostapd, samba, avahi, glibc/uClibc/musl) and cross-reference a curated table of widely-documented version→CVE hints. Version-string matches are INDICATIVE only, not proof of exploitability.

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_component_scan"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathYesWorkspace path to a firmware image or extracted directory.
componentsNoRestrict to these component names.

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 covered. Beyond that, the description adds genuinely useful behavioral context not in the annotations: the CVE table is 'curated' and limited to 'widely-documented' entries, and version-string matches are 'INDICATIVE only, not proof of exploitability' — a false-positive disclaimer that directly shapes how results should be reported. It does not describe result shape or cost/runtime, which keeps it below a 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?

Front-loaded with the action and scope in the first clause, followed by a single high-value caveat sentence. The long parenthetical component list is lengthy but earns its place by supplying the filter vocabulary; otherwise the wording is tight with no redundant restatement of the title.

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 no output schema, the description should carry more of the return-value burden; it hints at 'matches' and CVE hints but never states the response shape, whether unmatched components are reported, or how findings are ranked. For a read-only scan tool with full schema coverage, what exists is adequate but leaves a gap on the result contract.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schema coverage is 100%, so the baseline is 3, but the description adds real value above the schema by enumerating the component vocabulary (busybox, dropbear, openssl, samba, glibc/uClibc/musl, etc.), which effectively serves as an informal value list for the 'components' filter that the schema lacks via enums. It still does not clarify accepted path forms or case sensitivity for the filter.

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?

Uses a specific verb ('Scan') on a specific resource ('firmware image or extracted directory') and names the two outputs: component/version identification and cross-referencing a curated version→CVE table. This is clearly narrower than a full vulnerability analysis, but it never names a sibling to contrast against, so differentiation is inferred 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 Guidelines3/5

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

The description implies usage (component inventory plus CVE hints on a firmware image) and gives an important interpretive caveat, but it offers no explicit when-to-use versus when-not-to-use guidance relative to tools like firmware_vulnerability_analyze or cve_search. The agent must infer routing from the phrasing alone.

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