Skip to main content
Glama

list_rules

List Wazuh security detection rules filtered by severity level and group name.

Instructions

List all Wazuh rules with optional level and group filtering

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sortNoSort field with direction prefix (e.g., '-level')
groupNoFilter by rule group name
levelNoFilter by rule severity level
limitNoMaximum number of items to return (1-100)
offsetNoPagination offset

Schema Changelog

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

  1. Changed7 schema fields changedv1.1.0
    • removedInput schema / $schema
      Removed value: -"http://json-schema.org/draft-07/schema#"
    • addedInput schema / properties / group / maxLength
      Added value: +256
    • addedInput schema / properties / group / minLength
      Added value: +1
    • addedInput schema / properties / group / pattern
      Added value: +"^[\\p{L}\\p{N}\\s._:@/+,\\-#()[\\]]+$"
    • changedInput schema / properties / limit / description
      Previous value: -"Maximum number of rules to return (1-100)"New value: +"Maximum number of items to return (1-100)"
    • changedInput schema / properties / offset / maximum
      Previous value: -9007199254740991New value: +100000
    • addedInput schema / properties / sort / enum
      Added value: +[
      +  "level",
      +  "-level",
      +  "+level",
      +  "id",
      +  "-id",
      +  "+id"
      +]
  2. Changed3 schema fields changed
    • removedInput schema / additionalProperties
      Removed value: -false
    • addedInput schema / properties / level / maximum
      Added value: +9007199254740991
    • addedInput schema / properties / offset / maximum
      Added value: +9007199254740991
  3. First observedv1.0.0

TDQS

B3/5.0
Behavior2/5

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

No annotations provided, so description must cover behavior. Does not mention pagination, sorting, or read-only nature, leaving gaps.

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

Conciseness3/5

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

Single sentence conveys core purpose but omits important behavioral details; too brief for full clarity.

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?

Does not address pagination, sorting, or result structure despite having limit/offset/sort params. Incomplete given lack of output schema and annotations.

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 baseline 3. Description adds no new info beyond schema descriptions for level and group filtering.

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?

Description explicitly states 'List all Wazuh rules' with filtering options, clearly distinguishing from get_rule (single) and search_rules (full-text).

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

Usage Guidelines2/5

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

No guidance on when to use this vs. alternatives like search_rules. Implies filtering use but lacks explicit context.

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

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/lidless-labs/wazuh-mcp'

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