Skip to main content
Glama
NinjaOne MCP Server

NinjaOne MCP Server

get_device_alerts

Retrieve active alerts for a specific device by device ID to identify current issues and respond to device problems.

Instructions

Get active alerts for a specific device

Input Schema

NameRequiredDescriptionDefault
device_idYesThe device ID

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv1.0.0

TDQS

B3.1/5.0
Behavior2/5

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

No annotations exist, so the description carries the full behavioral burden. The word 'active' hints at a filter (excluding resolved/dismissed alerts) but this is never defined, and nothing is said about permissions, pagination, or what the response contains for a read tool with no output schema.

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?

A single short sentence with the scope constraint front-loaded and no filler. Nothing could be removed without losing information.

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

Completeness3/5

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

For a simple one-parameter read this is close to adequate, but with no annotations and no output schema the description should say what 'active' means and roughly what comes back. It leaves the return shape and the definition of 'active' entirely unspecified.

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?

Only one parameter (device_id) with 100% schema description coverage, so the schema already covers it. The description adds nothing beyond confirming the alert scope is device-level; baseline 3 applies.

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 ('Get active alerts') scoped to a device, which implicitly separates it from the sibling get_all_alerts. It never names that sibling explicitly, so the differentiation is left partly to inference.

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?

There is no when-to-use guidance, no mention of get_all_alerts as the alternative for cross-device queries, and no preconditions stated. The agent must infer routing from the word 'specific device' alone.

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