Skip to main content
Glama
Security Intelligence MCP Server

Security Intelligence MCP Server

by df4u1t

parse_sigma_rule

Parse Sigma YAML rules into structured analysis, extracting indicators, detection logic, and validation warnings for security rule review.

Instructions

Parse a Sigma YAML rule string and return a structured analysis including extracted indicators, detection logic, and validation warnings.

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": {
      "yaml": "<yaml>"
    },
    "name": "parse_sigma_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
yamlYesThe Sigma YAML rule content to parse

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior3/5

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

With no annotations, the description carries the full disclosure burden. It does useful work by naming the outputs (extracted indicators, detection logic, validation warnings), which implies parsing is tolerant and surfaces warnings rather than failing hard. However, it says nothing about whether the operation has side effects, how malformed YAML is handled, or error behavior.

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 front-loaded sentence with the verb and resource first and the return contents second; no filler. Slightly compressed into one long clause, but nothing is wasted.

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 low-complexity single-parameter parse tool with no output schema, the description covers both the input expectation and the shape of the result. The main remaining gap is sibling disambiguation and failure-mode behavior, which are modest omissions at this complexity level.

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 exists and schema coverage is 100%, so the schema already documents 'yaml' as the Sigma rule content. The description reinforces that it must be a YAML rule string rather than a file path or URL, which is a small but real clarification beyond the schema.

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 (parse) and resource (Sigma YAML rule string) and previews the return contents: indicators, detection logic, validation warnings. It does not distinguish itself from the similarly named siblings parse_sigma_rules (plural) or analyze_sigma_rules, so an agent cannot be fully certain which one to pick from the description alone.

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?

There is no explicit when-to-use guidance, no exclusions, and no named alternative. The phrase 'a Sigma YAML rule string' hints at single-rule scope, which implicitly contrasts with the plural sibling, but that inference is left entirely to the agent rather than stated.

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