Skip to main content
Glama

Report Device Health

ninjaone_report_device_health
Read-onlyIdempotent

Report device health status—healthy, needs attention, or unhealthy—with reasons across your fleet. Filter by device criteria and page through results to identify at-risk devices for follow-up.

Instructions

Report device health status (healthy, needs attention, unhealthy) with the reasons across devices, one row per item, cursor paged. Narrow with df (device filter). Use it for fleet questions; follow up on one device with ninjaone_get_device_profile.

Tool call template

This tool declares no required parameters. Add optional parameters from the input schema as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {},
    "name": "ninjaone_report_device_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
dfNoNinjaOne device filter. Combine terms with AND. Examples: "org = 12", "class = WINDOWS_SERVER AND offline", "status = APPROVED", "role in (1,10)", "created after 2026-01-01", "group = 5". Omit for every device in scope.
limitNoRows per page, 1 to 1000. 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.
healthNoHealth filter, e.g. "UNHEALTHY", "NEEDS_ATTENTION", "HEALTHY", "UNKNOWN".

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.1/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive and closed-world, so safety needs no restating. The description adds genuinely non-structured behavior: results are cursor paged, one row per item, and include the reasons behind each health verdict, which tells the agent what to expect from the payload.

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 core action and ending on routing advice, with no filler. The first sentence is dense with comma-appended clauses (reasons, row granularity, paging) and would read more cleanly if split.

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?

With five optional parameters, no enums in the schema and no output schema, the description carries the necessary load by naming the health values and describing row shape and paging. Only the overlap with the fleet-health sibling is left unresolved.

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 coverage is 100%, so df, limit, cursor, fields and health are all documented in structured form. The description only reinforces df as the narrowing lever and cursor as the paging mechanism; it adds no syntax or semantics the schema does not already carry, so the baseline 3 applies.

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?

States a specific verb and resource (report device health status), enumerates the possible values (healthy, needs attention, unhealthy) and adds the output shape ('one row per item, cursor paged'), which lets an agent distinguish it from a single-device lookup. The closing pointer to ninjaone_get_device_profile further sharpens the boundary.

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?

Explicit when-to-use ('fleet questions') plus a named follow-up alternative for the single-device case, and a concrete narrowing instruction ('Narrow with df'). It stops short of ruling out the obvious overlapping sibling ninjaone_report_fleet_health, so the agent must infer which fleet view to take.

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