Skip to main content
Glama

Report Software Patches

ninjaone_report_software_patches
Read-onlyIdempotent

Report pending, failed, and rejected third-party software patches across devices, one row per item, with cursor paging and device filtering. Use it for fleet patch questions and device follow-up.

Instructions

Report pending, failed and rejected third-party software patches 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_software_patches"
  }
}

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.
tsNoMonitoring timestamp filter, e.g. "ts > 1767225600" (epoch seconds).
typeNoPatch type.
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.
impactNoImpact filter.
statusNoPatch status filter, e.g. "PENDING", "FAILED", "REJECTED", "APPROVED", "INSTALLED".
product_identifierNoProduct id.

Schema Changelog

Changes observed during successful MCP inspections.

  1. First observedv0.1.0

TDQS

A4/5.0
Behavior4/5

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

Annotations already cover the read-only, idempotent, non-destructive safety profile, so the description's added value is in disclosing output shape and paging: 'one row per item, cursor paged' tells the agent to expect a flat row stream and to iterate with cursors. It does not state the default page size or what a row contains, but the paging contract is the key behavioral detail and it is disclosed.

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?

Two sentences with no waste: the first front-loads resource, statuses, row granularity, and paging; the second gives the routing guidance. Nothing is repeated or padded.

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 nine-parameter, all-optional reporting tool with no output schema, the description supplies the essentials an agent needs: fleet scope, row granularity, cursor paging, and a drill-down alternative. Minor gaps remain — no mention of the limit/page-size default or how statuses interact with the filter — but the rich schema annotations cover most of that.

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 every parameter including df, ts, limit, cursor, fields, and status is already documented in the schema. The description only restates the df narrowing concept ('Narrow with df (device filter)'), adding no syntax or semantics beyond what the schema provides. Baseline 3 applies when the schema carries the parameter burden.

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 ('Report ... third-party software patches across devices') and adds the statuses covered (pending, failed, rejected) plus row granularity. The fleet-wide scope implicitly separates it from the device-level siblings, though the nearest alternatives (list_device_software_patches, report_software_patch_installs) are never named.

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?

Gives an explicit use condition ('Use it for fleet questions') and a named follow-up path ('follow up on one device with ninjaone_get_device_profile'), which tells the agent when to switch tools. The named alternative is more of a drill-down than a true substitute, so the closest competing report tools are left unaddressed.

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