Skip to main content
Glama
Security Intelligence MCP Server

Security Intelligence MCP Server

by df4u1t

convert_sigma_rule

Convert Sigma YAML rules into target SIEM formats such as Splunk SPL, Elastic EQL/DSL, and QRadar AQL, enabling analysts to reuse detection logic across platforms.

Instructions

Convert a Sigma YAML rule to a target SIEM format (Splunk SPL, Elastic EQL/DSL, QRadar AQL).

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>",
      "target": "<target>"
    },
    "name": "convert_sigma_rule"
  }
}

Input Schema

NameRequiredDescriptionDefault
yamlYesThe Sigma YAML rule content to convert
targetYesTarget SIEM format

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.2/5.0
Behavior2/5

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

With no annotations at all, the description carries the full behavioral burden and does not meet it: it never says what the conversion returns (a query string? a rule object?), how unsupported Sigma constructs are handled, or whether conversion errors are surfaced. Only the input side is characterized.

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?

A single front-loaded sentence with the verb, input, and full target list; there is no filler or redundancy.

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 input schema is fully described, but with no annotations and no output schema the description should have explained the return value and failure behavior for a translation tool whose output is the entire point. As written, an agent knows what goes in but not what comes out.

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 coverage is 100%, so both parameters are already documented in the schema and the baseline is 3. The description adds mild value by mapping the target families to human-readable languages, but it does not clarify the distinction between paired enum values such as splunk vs splunk_alert or qradar vs qradar_rule.

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 (convert) and resource (Sigma YAML rule) and enumerates the concrete target languages (Splunk SPL, Elastic EQL/DSL, QRadar AQL). It does not distinguish itself from the sibling convert_sigma_rules (presumably batch), so an agent must infer single-vs-multiple from the article 'a' alone.

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: 'a Sigma YAML rule' (singular) hints this is the one-rule path versus the plural sibling, and the target list implies when the tool applies. There is no explicit statement about when to prefer it over convert_sigma_rules or parse_sigma_rule, and no prerequisites mentioned.

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