Skip to main content
Glama
MIRAI Intelligence & Research MCP

MIRAI Intelligence & Research MCP

by Tarant336

Attack detection recommend

attack_detection_recommend
Read-onlyIdempotent

Generates defensive detection recommendations for documented attack methods: detection signals, rule structures, logging/metrics, false-positive tuning, and persisted network detection rules.

Instructions

Generate DEFENSIVE detection recommendations for documented methods: concrete detection signals (rate thresholds described qualitatively), Suricata/Sigma rule SHAPES (structure only, non-destructive), logging/metrics to collect and false-positive tuning advice. Persists network_detection_rule records.

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

Input Schema

NameRequiredDescriptionDefault
contextNoDeployment context to bias recommendations.
methodIdsNoCatalogue method ids to cover.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior1/5

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

The final sentence, 'Persists network_detection_rule records.', describes a state-mutating write, while annotations declare readOnlyHint=true and destructiveHint=false. That is a direct conflict on the single most consequential behavioral question for an agent deciding whether to call it. The otherwise useful clarifications (rule shapes are structural only, thresholds are qualitative) cannot offset a contradiction about side effects.

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?

A single dense sentence, front-loaded with the action, with the output inventory following in a compact list. Capitalized emphasis on DEFENSIVE and SHAPES aids scanning. Slight cost: cramming four distinct output types plus a persistence note into one sentence makes it harder to parse than a short bulleted structure would be.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness2/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The output-side content is reasonably complete for a tool with no output schema, and there are only two fully documented parameters. However, for a tool annotated as read-only that also claims to persist records, the description leaves the actual state-effect, and whether results survive the call, unresolved, which is precisely the information an agent needs before invoking it.

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 the description's parameter-relevant content ('documented methods', context biasing) merely restates what the schema already says ('Catalogue method ids to cover', 'Deployment context to bias recommendations'). No format, cardinality, or default semantics are added, so the baseline 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?

States a specific verb and resource ('Generate DEFENSIVE detection recommendations for documented methods') and enumerates the concrete artifacts produced: detection signals, Suricata/Sigma rule shapes, logging/metrics guidance, and false-positive tuning. An agent knows exactly what it gets back. It stops short of a 5 because it never distinguishes itself from plausible siblings such as detection_rule_generate or ddos_detection_design.

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 only implied through the phrase 'for documented methods', which suggests methodIds should come from a documented catalogue, but there is no explicit when-to-use statement, no when-not-to-use condition, and no named alternative for the closely related rule-generation tools. The agent must infer the selection boundary from the sibling list.

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