Skip to main content
Glama

List Device Software Patches

ninjaone_list_device_software_patches
Read-onlyIdempotent

Retrieve a single device's pending, failed, or rejected third-party software patches to troubleshoot update issues. Filter by status, impact, or product and page through results.

Instructions

List one device's pending, failed and rejected third-party software patches. 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_software_patches"
  }
}

Input Schema

NameRequiredDescriptionDefault
typeNoPatch type.
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.
impactNoImpact filter.
statusNoPatch status filter, e.g. "PENDING", "FAILED", "REJECTED", "APPROVED", "INSTALLED".
device_idYesDevice id (from ninjaone_list_devices or ninjaone_search_devices).
product_identifierNoProduct id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A3.9/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 profile is fully covered by structured data. The description adds scope information (single device, third-party patches only, three status states) which is useful, but says nothing about rate limits, auth requirements or result volume. With annotations doing most of the behavioral work, a 3 is appropriate.

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 sentences, zero filler, with the primary scope statement front-loaded ahead of the alternative-tool routing. The trailing 'with df' is cryptic enough to slightly undercut the otherwise clean structure.

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 an 8-parameter, read-only list tool with full schema coverage and complete annotations but no output schema, the description supplies what structured data cannot: single-device scope, third-party-only domain and the cross-device alternative. It does not address the OS-patch sibling or summarize the compact field set, but nothing essential to correct invocation is missing.

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%, including a documented status filter with example values, cursor/limit pagination and the fields selector, so the baseline is 3. The description adds no parameter meaning beyond the schema and its only parameter-like reference ('df') belongs to a different tool, so it cannot compensate or extend anything here.

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?

The description gives a specific verb and resource ('List ... third-party software patches') and narrows the scope to a single device and to the pending, failed and rejected states. An agent can immediately distinguish this from the report_* aggregation tools and from the OS-patch sibling (ninjaone_list_device_os_patches), which addresses a different patch family.

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 explicitly names the alternative for the cross-device case ('use the matching ninjaone_report_* tool with df'), which is real routing guidance rather than implied usage. The gap is that 'df' is unexplained jargon — it is not a parameter of this tool, so the agent must guess what to pass to the sibling.

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