Skip to main content
Glama
WRG-11

wrg-sigma-rules

draft_rule

Drafts a Sigma detection YAML rule from a plain-English threat description. Returns validated YAML body, MITRE technique IDs, and draft notes.

Instructions

Draft a sigma detection YAML rule from a natural-language threat description.

Use when the caller needs a starting-point sigma rule and only has a plain-English threat summary plus optional MITRE TTP hints. Returns a structured envelope with the YAML body, a pySigma round-trip validation result, the inferred MITRE technique IDs, and draft notes covering redactions + open issues. Tool is deterministic and local -- no network, no LLM call.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
descriptionYes
rule_typeNoprocess_creation
referencesNo
target_platformNowindows
severityNomedium
mitre_ttpsNo
titleNo
authorNoWRG sigma-rule-writer

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior4/5

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

No annotations provided, so description carries full burden. Discloses determinism, local operation, and return structure (YAML body, validation result, MITRE IDs, draft notes). No side effects or failure modes mentioned, but sufficient for a tool with this scope.

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?

The description is concise, front-loaded with the main purpose, and efficiently covers usage, returns, and behavioral traits in a single paragraph.

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?

Given 8 parameters with 0% schema description and an existing output schema, the description adequately covers the tool's purpose, when to use, and return envelope. However, it lacks parameter-level guidance, which the output schema likely compensates for.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters2/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Schemas have 0% description coverage. The description only hints at 'description' and 'mitre_ttps' parameters via 'plain-English threat summary plus optional MITRE TTP hints'. Other parameters (rule_type, references, target_platform, severity, title, author) are not addressed, leaving the agent to infer from names alone.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose5/5

Does the description clearly state what the tool does and how it differs from similar tools?

The description clearly states the tool drafts a sigma detection YAML rule from a natural-language threat description, distinguishing it from siblings convert_rule and validate_rule.

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

Usage Guidelines4/5

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

Explicitly states when to use: when caller needs a starting-point sigma rule with plain-English summary and optional MITRE hints. Lacks explicit when-not-to-use or alternatives, but context is clear.

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

Install Server

Other Tools

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/WRG-11/wrg-sigma-rules'

If you have feedback or need assistance with the MCP directory API, please join our Discord server