Skip to main content
Glama

List Device OS Patch Installs

ninjaone_list_device_os_patch_installs
Read-onlyIdempotent

Retrieve a single device's OS patch install history with status and date filters to audit patch compliance or troubleshoot failed installs.

Instructions

List one device's OS patch install history. 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_os_patch_installs"
  }
}

Input Schema

NameRequiredDescriptionDefault
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.
statusNoPatch status filter, e.g. "PENDING", "FAILED", "REJECTED", "APPROVED", "INSTALLED".
device_idYesDevice id (from ninjaone_list_devices or ninjaone_search_devices).
installed_afterNoOnly items installed after this date (YYYY-MM-DD).
installed_beforeNoOnly items installed before this date (YYYY-MM-DD).

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=true, idempotentHint=true, destructiveHint=false and openWorldHint=false, so the safety and purity profile is fully covered upstream. The description adds only the single-device scope; it says nothing about paging behavior, ordering of results, empty-history handling, or what a record contains. With annotations carrying the behavioral burden, this is adequate but thin.

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, with the primary purpose front-loaded before the routing hint — good structure with no redundant restatement of the title. The dangling 'with df' phrase is the only wasted/confusing element and costs it a point.

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 read-only, fully schema-documented list tool with no output schema, the description covers the essentials an agent needs to call it. However, it leaves the reader to infer the response shape and pagination semantics from the schema, and the truncated 'df' reference makes the one piece of cross-tool routing it does offer incomplete.

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 every one of the seven parameters (device_id, status, installed_after/before, fields, limit, cursor) is already self-documenting, including the status examples and date format. The description adds no parameter-level meaning at all, so the baseline 3 applies; the 'df' fragment is not a usable parameter hint.

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?

The description names a specific verb and resource with clear scope: 'List one device's OS patch install history.' The 'one device' scoping and the 'OS' qualifier separate it from the fleet-wide report sibling and from the software-patch sibling, though the Software vs OS distinction is only implied by the resource name rather than stated.

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?

It gives an explicit alternative and the condition that selects it: use the matching ninjaone_report_* tool when the same data is needed across many devices. The guidance is slightly undermined by the trailing fragment 'with df', which is opaque and leaves the agent guessing which parameter of the report tool to use.

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