Skip to main content
Glama
Security Intelligence MCP Server

Security Intelligence MCP Server

by df4u1t

parse_sigma_rules

Parse multiple Sigma YAML rules separated by --- and return structured analysis for each to help security analysts inspect and validate detections.

Instructions

Parse multiple Sigma YAML rules (separated by ---) and return structured analysis for each.

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

Input Schema

NameRequiredDescriptionDefault
yamlYesMulti-document Sigma YAML content (rules separated by ---)

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.3/5.0
Behavior2/5

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

No annotations are supplied, so the description carries the full behavioral burden, yet it discloses almost nothing beyond the one-line purpose. It does not say whether parsing is read-only and side-effect free, how malformed YAML or a missing '---' separator is handled, or what 'structured analysis' actually contains (fields, validation results, MITRE mapping, errors).

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

One sentence with the input format constraint front-loaded alongside the purpose and return summary; no filler or hedging. It is appropriately sized for a single-parameter tool.

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?

The tool is simple (one required string, no nesting, no output schema), so the minimal description is nearly adequate. The remaining gap is that with no output schema, the vague phrase 'structured analysis for each' leaves the agent unable to anticipate the response shape or per-rule error reporting.

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?

There is a single required parameter with 100% schema description coverage, and the schema already documents the multi-document '---' convention. The description repeats that constraint but adds no new meaning such as size limits, encoding expectations, or whether a single rule is accepted. Baseline 3 is appropriate when the schema does the work.

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 ('Parse multiple Sigma YAML rules') and pins the input format ('separated by ---') plus the return shape ('structured analysis for each'). The plural scope implicitly separates it from the sibling parse_sigma_rule, though no sibling is named explicitly.

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 by the word 'multiple' and the '---' separator convention — an agent can infer this is the batch variant rather than parse_sigma_rule, but there is no explicit when-to-use or when-not-to-use statement. Alternatives such as analyze_sigma_rules or convert_sigma_rules are left unaddressed.

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