Skip to main content
Glama

alerts_get

Read-onlyIdempotent

Retrieve network alerts with filters for state, severity, alert rule, and ordering from LibreNMS.

Instructions

Get alerts from LibreNMS with optional filters.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
stateNoFilter the alerts by state: 0 = ok, 1 = alert, 2 = ack. Optional.
severityNoFilter the alerts by severity. Valid values: ok, warning, critical. Optional.
alert_ruleNoFilter alerts by alert rule ID. Optional.
orderNoHow to order the output, default is by timestamp (descending). Can be appended by DESC or ASC to change the order. Optional.

Output Schema

TableJSON Schema
NameRequiredDescriptionDefault

No arguments

Behavior2/5

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

Annotations already indicate readOnlyHint=true, destructiveHint=false, idempotentHint=true. The description adds no behavioral information beyond stating the operation is a 'Get'. It does not disclose traits like pagination, limits, or response structure.

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 a single concise sentence that communicates the essential purpose and key feature (optional filters). No extraneous information.

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?

For a simple list retrieval tool with an output schema and fully documented parameters, the description is adequate. It covers the main function and optional filters, though it could mention default order or that it returns multiple alerts.

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% with detailed descriptions for each parameter. The tool description adds no new meaning beyond 'with optional filters', so baseline 3 is appropriate.

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

Purpose4/5

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

The description clearly states the action ('Get alerts') and resource ('alerts from LibreNMS'), with optional filters. It is specific and effective, though it does not explicitly distinguish from 'alert_get_by_id' which retrieves a single alert by ID.

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?

The description mentions optional filters but provides no guidance on when to use this tool versus sibling tools like 'alert_get_by_id' or alternative approaches. It lacks explicit when-to-use, when-not-to-use, or prerequisites.

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/mhajder/librenms-mcp'

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