Skip to main content
Glama

List Device Alerts

ninjaone_list_device_alerts
Read-onlyIdempotent

Retrieve active alerts for a specific device to review triggered conditions and troubleshoot issues; supports pagination, time zone, language, and field selection.

Instructions

List one device's active alerts (triggered conditions). For the same data across many devices, use the matching ninjaone_report_* tool with df.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "device_id": "<device_id>"
    },
    "name": "ninjaone_list_device_alerts"
  }
}

Input Schema

NameRequiredDescriptionDefault
tzNoTime zone for timestamps, e.g. "America/Los_Angeles".
langNoLanguage tag for messages, e.g. "en".
limitNoRows per page, 1 to 500. Default 50.
cursorNoOpaque cursor from next_cursor on the previous page. Omit for the first page.
fieldsNoOmit for the compact field set. "all" returns full records; a list of names returns just those fields.
device_idYesDevice id (from ninjaone_list_devices or ninjaone_search_devices).

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.6/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, openWorldHint=false and destructiveHint=false, so the safety profile is covered. The description adds that only *active* alerts are returned and defines alerts as triggered conditions, which is real filtering semantics beyond the annotations, but it says nothing about page size limits, cursor behavior, or what a record contains.

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?

Two short sentences, front-loaded with the purpose before the alternative. Nothing is redundant, though the trailing fragment "with df" is cryptic and could be read as applying to this tool.

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 read-only list tool with a fully documented six-parameter schema, annotations, and no output schema, the description covers scope, result filter, and the cross-device alternative. Remaining gaps (pagination behavior in the response, page-size default) are adequately handled by the schema descriptions.

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% and every parameter (device_id, tz, lang, limit, cursor, fields) is documented in the schema, so the baseline of 3 applies. The description contributes no parameter meaning of its own, and the trailing "with df" reference points at a parameter of a different tool, which adds mild ambiguity rather than clarity.

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?

States a specific verb and resource ("List one device's active alerts") with parenthetical clarification that alerts are triggered conditions, and the wording "one device's" implicitly separates it from the fleet-wide ninjaone_list_alerts/ninjaone_view_alerts siblings. It does not name those siblings directly, so differentiation is implied rather than explicit.

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?

Gives an explicit alternative and the condition that selects it: for the same data across many devices, use the matching ninjaone_report_* tool with df. That is a clear routing rule, though it names a tool family pattern rather than a concrete tool, and offers no exclusion guidance for the remaining sibling variants.

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

Deploy Server

Other Tools