Skip to main content
Glama
monitoringartist

LogicMonitor MCP Server

list_alert_rules

Read-only

List alert rules to audit notification routing, troubleshoot missed alerts, and understand which alerts go to which escalation chains.

Instructions

List all alert rules in LogicMonitor (LM) monitoring.

Returns: Array of alert rules with: id, name, priority, enabled status, matching conditions (device/datasource/severity filters), escalation chain assigned, suppression settings.

What are alert rules: The ROUTING LOGIC that determines "which alerts go to which people." Act as traffic directors: "IF alert matches these conditions, THEN send to this escalation chain." Rules are evaluated in priority order (1st match wins).

When to use:

  • Audit who gets notified for different alert types

  • Understand notification routing logic

  • Find rule IDs for modifications

  • Troubleshoot "why didn't I get alerted?"

  • Document alert notification policies

How alert rules work: Alert triggers → Rules evaluated in priority order → First matching rule wins → Routes alert to that rule's escalation chain → Escalation chain notifies recipients

Common alert rule patterns:

  • Priority 1 (Critical Production): IF resource/device in "Production" group AND severity = critical → Route to "Critical On-Call" escalation chain

  • Priority 2 (Database Team): IF datasource contains "MySQL" OR "PostgreSQL" → Route to "Database Team" escalation chain

  • Priority 3 (Business Hours): IF severity = warning → Route to "Business Hours Email" chain (no pages)

  • Priority 99 (Catch-All): IF any alert not matched above → Route to "Default NOC" escalation chain

Use cases:

  • "Who gets paged for production CPU alerts?" → Find rule matching prod resources/devices+ CPU datasource

  • "Update team notifications" → Modify alert rule to route to different escalation chain

  • "Stop getting low-priority pages" → Check which rule routes those alerts, adjust severity or chain

Critical for notification troubleshooting: If alerts aren't reaching people, check:

  • Does alert match any rule?

  • Is matched rule enabled?

  • Is escalation chain configured correctly?

Important: A negative "total" value in the response indicates incomplete results. Use pagination (size/offset parameters) or set autoPaginate: true to retrieve all items.

Related tools: "get_alert_rule" (detailed conditions), "list_escalation_chains" (destination chains), "update_alert_rule" (modify routing).

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
sizeNoNumber of results per page (default: 50, max: 1000).
offsetNoStarting offset for pagination (default: 0). Use this to skip a specific number of results.
autoPaginateNoAutomatically fetch all pages (default: false). When true, fetches all results across multiple pages. When false, returns only the requested page. Use false for large result sets to avoid long response times.
filterNoFilter expression using LogicMonitor query syntax. Examples: name:*prod*, displayName~*server*, id>100, hostStatus:normal. Available operators: : (equals), ~ (includes), !: (not equals), !~ (not includes), >: (greater than or equals), <: (less than or equals), > (greater than), < (less than). Multiple conditions: Use comma (,) for AND, use || for OR. Do NOT use &&.
fieldsNoComma-separated list of fields to include in response. Examples: "id,displayName,hostStatus" or use "*" for all fields. Omit this parameter to receive a curated set of commonly used fields.
Behavior5/5

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

Annotations already set readOnlyHint=true, but the description adds valuable behavioral details: explaining that a negative 'total' indicates incomplete results, that pagination with size/offset or autoPaginate should be used, and describing how rules are evaluated in priority order. This goes well beyond the annotations.

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 long but well-organized with sections, bullet points, and examples. Every section adds value, including common patterns and troubleshooting. It front-loads the core purpose. A slight reduction in length could improve conciseness, but the structure is excellent.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness5/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

The description covers the tool's purpose, usage scenarios, behavioral notes, parameter hints, response structure (array of alert rules with fields), and troubleshooting tips. It is comprehensive despite lacking an output schema, and addresses potential pitfalls like negative totals and pagination.

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

Parameters4/5

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

The input schema has 100% coverage with clear descriptions for each parameter. The description adds extra value by explaining the filter syntax with specific examples and the significance of autoPaginate for large result sets. It does not repeat schema content but supplements it effectively.

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 'List all alert rules in LogicMonitor (LM) monitoring' and explains what alert rules are, distinguishing from siblings like get_alert_rule and list_escalation_chains. The verb 'list' and resource 'alert rules' are specific, and the additional context about routing logic and priority order makes the purpose unmistakable.

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?

The 'When to use' section provides explicit scenarios such as auditing notifications, understanding routing, troubleshooting, and documentation. It also lists related tools. However, it does not explicitly state when not to use this tool (e.g., for detailed rule inspection vs. list overview), but the context is clear enough for an agent.

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/monitoringartist/logicmonitor-mcp-server'

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