Skip to main content
Glama
legionultramax

Harris HawkEye MCP

convert_sigma_to_kql

Convert Sigma detection rules into Kibana Query Language (KQL) for Elastic Stack, applying ECS field mappings and supporting modifiers, wildcards, and complex conditions.

Instructions

Convert Sigma detection rules to Kibana Query Language (KQL) for Elastic Stack (Kibana, Elasticsearch). Uses Elastic Common Schema (ECS) field mappings and simple field:value syntax. Supports modifiers, wildcards, and complex conditions.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
timeframeNoTime window for the query (default: 24h). Examples: 1h, 7d, 30d
sigma_ruleYesThe full Sigma rule in YAML format
target_platformNoTarget platform: elastic (Elastic Stack/Kibana) - default: elastic
include_commentsNoInclude explanatory comments in KQL output (default: true)

Schema Changelog

Changes observed during successful MCP inspections. Dates show when Glama detected each change.

  1. First observedv1.0.0

TDQS

A3.7/5.0
Behavior3/5

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

With no annotations provided, the description carries the full burden of behavioral disclosure. It usefully mentions ECS field mappings and support for modifiers, wildcards, and complex conditions, but does not state the output format, error behavior for invalid YAML, or effects of parameters like include_comments and timeframe.

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?

Three concise sentences, each adding distinct value: the conversion target, the mapping approach, and supported features. No repetition or filler.

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 description explains the core purpose well, but there is no output schema and no explicit statement of what the tool returns. It also does not describe how the configurable parameters affect the output, leaving moderate gaps for an agent.

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 baseline is 3. The description adds context about ECS mappings and supported syntax, which hints at acceptable sigma_rule input, but it does not provide parameter-specific meaning beyond what the schema already states.

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 transformation: 'Convert Sigma detection rules to Kibana Query Language (KQL) for Elastic Stack (Kibana, Elasticsearch).' It uses a specific verb and resource, and the direction of conversion is unambiguous, distinguishing it from the sibling convert_yara_to_sigma.

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?

The intended use is implied by the tool name and conversion direction, but the description does not explicitly state when to use this tool versus alternatives such as convert_yara_to_sigma, nor does it give any exclusions. An agent can infer usage, but guidance is not explicit.

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/legionultramax/Detection-Engineering-MCP'

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