Skip to main content
Glama
MIRAI Intelligence & Research MCP

MIRAI Intelligence & Research MCP

by Tarant336

Defense architecture analyze

defense_architecture_analyze
Read-onlyIdempotent

Analyze nginx, haproxy, Suricata, Zeek, iptables/nftables, and WAF/CDN JSON local configs read-only to report present and missing protections, misconfigurations, concrete hardening recommendations.

Instructions

Read-only analysis of LOCAL defensive configuration (nginx, haproxy, suricata, zeek, iptables/nftables, WAF/CDN JSON). Reports protections PRESENT, protections MISSING, misconfigurations and concrete hardening recommendations based on defensive keywords.

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": "defense_architecture_analyze"
  }
}

Input Schema

NameRequiredDescriptionDefault
pathNoWorkspace-relative file or directory to scan.
configFilesNoExplicit list of workspace-relative configuration files.

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 establish readOnlyHint=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety profile is covered. The description still adds real value beyond that: it scopes analysis to LOCAL files (no network reach-out), lists the supported config formats, and states the report shape (protections present, protections missing, misconfigurations, hardening recommendations). It does not say what happens when no path or configFiles is supplied, which is the main remaining behavioral gap.

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?

Two sentences, front-loaded with the read-only local scope and then the report contents; there is no filler. The format enumeration in parentheses is dense but earns its place by pinning down scope.

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 analyzer with no output schema, the description covers the essential ground: input domain (local config files), supported formats, and the categories of findings returned. Missing only edge-case behavior for an empty call and any note on scan depth or size limits.

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 ('path' and 'configFiles') are documented in the schema, so the baseline of 3 applies. The description adds no guidance on how path and configFiles interact or which takes precedence, and with zero required parameters it does not clarify the default scan target when neither is provided.

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 names a specific verb and resource ('Read-only analysis of LOCAL defensive configuration') and enumerates the concrete artifact types it handles (nginx, haproxy, suricata, zeek, iptables/nftables, WAF/CDN JSON), which clearly separates it from broader siblings like architecture_analyze or defense_performance_analyze. It stops short of explicitly naming a contrasting sibling, so it lands just under the top mark.

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?

Usage is implied by the phrase 'LOCAL defensive configuration' and the file-type list, which tells an agent this is for on-disk defensive config rather than traffic or architecture review. There is no explicit when-to-use/when-not-to-use statement and no named alternative for cases such as runtime defense performance, which is exactly what sibling defense_performance_analyze appears to cover.

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