Skip to main content
Glama
Security Intelligence MCP Server

Security Intelligence MCP Server

by df4u1t

generate_sigma_rules

Generates Sigma YAML detection rules from threat indicators like IPs, domains, hashes, and CVEs for security monitoring.

Instructions

Generate Sigma detection rules (YAML) from threat indicators such as IPs, domains, URLs, file hashes, CVEs, emails, registry keys, mutexes, IP ranges, or keywords

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": {
      "indicators": "<indicators>"
    },
    "name": "generate_sigma_rules"
  }
}

Input Schema

NameRequiredDescriptionDefault
levelNoSeverity level (default: high)
authorNoRule author name
fieldsNoJSON array of additional log fields to include in the rule
ruleIdNoCustom rule ID (UUID). If omitted, a deterministic ID is generated from indicator values.
statusNoRule status (default: test)
relatedNoJSON array of related rule IDs for the "related" field
platformNoTarget platform for logsource (default: windows)
conditionNoCustom detection condition expression (e.g., "selection1 and not selection2"). Only used in "single" mode.
indicatorsYesJSON string of threat indicators array. Each object: { "type": "ip|domain|url|hash|cve|email|registry|mutex|ip_range|keyword", "value": "...", "description?": "...", "references?": ["..."], "tags?": ["..."], "matchType?": "exact|contains|startswith|endswith", "keywordFields?": ["field1","field2"], "selectionName?": "custom_name" }
mitreAttackNoJSON array of MITRE ATT&CK technique IDs to add as tags (e.g., ["attack.t1566.001","attack.t1204"])
outputFormatNo"single" combines all indicators into one rule, "separate" creates one rule per indicator (default: separate)
falsepositivesNoJSON array of false positive references (default: ["Unknown"])

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

C2.9/5.0
Behavior2/5

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

No annotations are provided, so the description carries the full behavioral burden. It mentions YAML output but does not disclose whether rules are returned as strings, written to files, how multiple indicators are handled, or whether any side effects or permissions are involved.

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?

The definition is a single front-loaded sentence with no filler or redundant preamble. The long indicator list is useful but partly duplicates schema enum values, which slightly reduces conciseness.

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?

For a twelve-parameter tool with no annotations and no output schema, the one-sentence description is thin. It gives the basic purpose but omits return behavior, multiple-rule handling, and any operational context an agent would need for confident invocation.

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 the schema already defines all twelve parameters and their enums. The description restates the supported indicator categories but adds no additional semantics for the other eleven optional parameters.

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 Sigma detection rules (YAML)" — and lists the indicator types it consumes. It is clear what the tool does, but it does not differentiate itself from similar siblings such as sigma_enrich_and_generate or sigma_from_intelligence.

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

Usage Guidelines2/5

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

The description provides no explicit when-to-use guidance, prerequisites, or alternatives. It implies usage only through the indicator list, leaving the agent to infer when this tool should be selected over related Sigma tools.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.