Skip to main content
Glama
utmstack

UTMStack MCP Server

by utmstack

create_correlation_rule

Define correlation detection rules using normalized field matching and optional threshold-based correlation to trigger security alerts.

Instructions

Create a new correlation (detection) rule.

definition: the matching expression (the rule's where). Use ONLY normalized fields, e.g. equals("log.eventCode", 4720), equals("log.eventCode","4104") && contains("log.eventDataScriptBlockText","mimikatz"). Functions: equals, oneOf, contains, startsWith, endsWith, regexMatch, exists, &&, ||, !. data_type: 'wineventlog' (id 1) or 'linux' (id 26). after_events: optional threshold correlation, list of SearchRequest objects with {indexPattern, with:[{field,operator,value}], within:"now-5m", count:N}. server: which configured server to target (default active/default).

NOTE: a newly created rule takes ~5 minutes to load into the correlation engine before it will fire. Trigger the matching event after that delay.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
nameYes
activeNo
serverNo
categoryNoExecution
group_byNo
adversaryNoorigin
data_typeNowineventlog
integrityNo
techniqueNo
definitionYes
referencesNo
descriptionNo
after_eventsNo
availabilityNo
confidentialityNo

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault
resultYes
Behavior4/5

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

Given no annotations, the description covers key behavioral aspects: the rule's delay before firing, allowed functions and normalized fields for definition, and structure of after_events. It does not detail all behaviors (e.g., permissions), but the provided info adds significant value beyond the schema.

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?

The description is well-structured: a clear purpose sentence, followed by line-by-line explanations of key parameters, and a separate note. Despite length, each sentence adds value and the content is front-loaded.

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?

With 15 parameters and no annotations, the description explains core aspects but omits meanings for many parameters (integrity, adversary, etc.). The output schema exists but is not detailed in the description. Overall, adequate but with gaps.

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 0%, so the description must explain parameters. It provides detailed context for definition, data_type, after_events, and server, but leaves 11 parameters unexplained (e.g., integrity, adversary). This partially compensates but is not comprehensive.

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's purpose: 'Create a new correlation (detection) rule.' This distinctively separates it from sibling tools like list_correlation_rules, get_correlation_rule, etc., which are all focused on different operations.

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?

While the name and description make it obvious when to use the tool (to create a rule), there is no explicit guidance on when to avoid it or alternatives. The note about the 5-minute delay is behavioral, not usage guidance.

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/utmstack/MCP'

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