Skip to main content
Glama

Report Fleet Health

ninjaone_report_fleet_health
Read-onlyIdempotent

Summarize fleet health across organizations in one row per org, with device counts, offline devices, health status, pending/failed patches, alerts, and antivirus threats; optionally limit by org.

Instructions

Health across organizations, one row per organization: device count, offline devices, devices by health status, pending and failed OS patches, active alerts, and antivirus threats. Runs per organization with a concurrency cap (NINJAONE_MAX_CONCURRENCY); a failing organization is reported on its own row. Pass org to limit it to one client. Then ninjaone_list_devices with df "org = AND offline" to drill in.

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_fleet_health"
  }
}

Input Schema

NameRequiredDescriptionDefault
orgNoOne organization (id or unique name part). Omit for every organization in scope.
max_orgsNoStop after this many organizations. Default 100.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4.2/5.0
Behavior4/5

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

Annotations already cover read-only, idempotent, non-destructive safety. The description adds real behavior beyond that: per-organization execution with a concurrency cap (NINJAONE_MAX_CONCURRENCY) and failure isolation where a failing organization gets its own row. It doesn't discuss latency or result volume, but the key operational traits are disclosed.

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?

Front-loads the output shape in the first sentence, then operational behavior, then the scoping/drill-down hint. Dense but every sentence carries information; the drill-down tip is the only element that could be trimmed.

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

Completeness5/5

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

With no output schema, the description takes on the burden of describing the returned columns and does so thoroughly, plus failure handling and scoping. An agent knows what it will get and how to follow up without further documentation.

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 both parameters are already documented. The description reinforces that org limits to a single client and that omission means all in-scope organizations, but adds no syntax or semantics beyond the schema and never mentions max_orgs or its default.

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 the resource (fleet health), the aggregation granularity (one row per organization), and enumerates the exact metrics produced. This clearly separates it from per-device siblings like ninjaone_report_device_health and metric-specific reports like ninjaone_report_antivirus_status.

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?

Explicitly says to pass org to limit to one client and names a concrete drill-down path (ninjaone_list_devices with the offline device filter). It gives clear usage context but stops short of stating when NOT to use this versus a per-device or metric-specific report.

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