Skip to main content
Glama

List Devices

ninjaone_list_devices
Read-onlyIdempotent

Find and page through NinjaOne devices using filters such as organization, class, status, role, or date; return compact fields or selected details for each device.

Instructions

List devices, compact by default, narrowed with df. Then ninjaone_get_device_profile for detail on one device. For free-text lookup use ninjaone_search_devices.

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

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.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.8/5.0
Behavior3/5

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

Annotations already declare readOnlyHint, idempotentHint, destructiveHint=false and closed-world scope, so the safety profile needs no restating. The description adds only the compact-by-default output trait, which the schema's fields parameter already documents, and says nothing about pagination behavior or result volume beyond what the cursor/limit descriptions supply.

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?

Three terse sentences with the primary behavior front-loaded and both alternative routes named afterward. No filler, no repetition of schema content beyond a short pointer.

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 four-parameter, no-required-arg list tool with a fully documented schema and clear read-only annotations, the description covers purpose, narrowing, and both escape hatches. The only soft spot is that it never mentions result paging or the compact-vs-full tradeoff explicitly, though the schema carries both.

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%, with df, limit, cursor and fields each documented in detail including filter syntax and examples. The description echoes the df narrowing and compact default without adding syntax or semantics the schema lacks, so the 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 ("List devices") and immediately characterizes the output shape ("compact by default, narrowed with df"), which separates it from the profile and search siblings by name. It does not address how it differs from ninjaone_list_devices_detailed or ninjaone_list_org_devices, leaving some ambiguity among the list-family tools.

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 routes two cases: "ninjaone_get_device_profile for detail on one device" and "For free-text lookup use ninjaone_search_devices." It also implies the narrowing mechanism via df. It stops short of stating exclusions for the other list variants, so it is clear context rather than a full when/when-not map.

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