Skip to main content
Glama
J-MaFf

s2-netbox-mcp

by J-MaFf

get_alarms

Read-only

Retrieve alarm information from a NetBox access-control system, optionally filtered by partition, alarm ID, event ID, activity ID, or owner to inspect active alarms.

Instructions

Returns alarm information from the NetBox system, optionally filtered by partition, alarm ID, event ID, activity ID or owner (wraps NBAPI GetAlarms). Responds with an ALARMS/ALARM collection; a system with no active alarms answers with an empty collection or a documented NOT FOUND.

Input Schema

NameRequiredDescriptionDefault
IDNoOptional. Return the alarm with this alarm ID.
EVENTIDNoOptional. Return alarms raised by this event ID.
OWNERIDNoOptional. Return alarms owned by this operator/person ID.
ACTIVITYIDNoOptional. Return alarms for this activity ID.
PARTITIONKEYNoOptional. Return alarms for this partition key only.
ALLPARTITIONSNoOptional. "TRUE" to return alarms across all partitions.

Schema Changelog

Changes observed during successful MCP inspections.

  1. Addedv0.4.0

TDQS

A3.9/5.0
Behavior4/5

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

The readOnlyHint annotation already confirms this is a safe read. The description adds useful behavior beyond annotations: the response is an ALARMS/ALARM collection, and a system with no active alarms returns an empty collection or a documented NOT FOUND. This clarifies return format and error handling, though it omits permission or pagination details.

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 largely front-loaded and efficient, stating the purpose first and then covering filters and response behavior. It is a bit dense with parentheses and a semicolon, but every clause contributes useful information with no filler.

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?

There is no output schema, so the description must cover return values, which it does by describing the ALARMS/ALARM collection and the empty/NOT FOUND case. Combined with the fully documented input schema and readOnly annotation, the definition is complete enough for correct invocation, though it could mention authentication or pagination if relevant.

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 each of the six optional parameters is fully documented in the schema. The description lists the same filters (partition, alarm ID, event ID, activity ID, owner) but adds no syntax or format detail beyond what the schema already provides, so the baseline of 3 is appropriate.

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 states a specific verb and resource: 'Returns alarm information from the NetBox system.' It also identifies the underlying API wrapper (NBAPI GetAlarms) and the available filters, making it clearly distinguishable from all sibling tools, which deal with access control, network nodes, and events rather than alarms.

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 description implies usage by stating it returns alarm information with optional filters, but it does not explicitly say when to use this tool versus alternatives. No exclusions or alternative tools are named, so the agent must infer that this is the correct tool for retrieving alarms.

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