Skip to main content
Glama

Report OS Patch Installs

ninjaone_report_os_patch_installs
Read-onlyIdempotent

Report OS patch install history across devices with device, status, and date filters. Use it for fleet-wide patch questions, then check a single device with the device profile tool.

Instructions

Report OS patch install history 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_os_patch_installs"
  }
}

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.
statusNoPatch status filter, e.g. "PENDING", "FAILED", "REJECTED", "APPROVED", "INSTALLED".
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

A4/5.0
Behavior4/5

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

Annotations already declare readOnly, idempotent, non-destructive, closed-world behavior, so the safety profile is covered. The description adds genuinely useful behavior beyond that: result granularity ('one row per item') and the fact that results are cursor paged, which tells the agent to expect iterative retrieval. It does not mention default page size or result volume, but the schema covers paging parameters.

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 tight sentences, front-loaded with purpose and output shape, then usage and the alternative. Every clause carries information; nothing is repetitive filler.

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 seven-parameter, fully documented, read-only reporting tool with no output schema, the description supplies what the schema cannot: row granularity, pagination model, and fleet-vs-device routing. It is nearly complete, with only the default field set behavior not restated from the schema.

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, fields, status, and the date bounds all documented in detail with examples. The description only echoes the df hint ('Narrow with df'), so it adds emphasis but no meaning beyond the schema. Baseline 3 is appropriate when the schema does all the work.

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 ('Report OS patch install history across devices') and adds the output granularity ('one row per item, cursor paged'), so an agent knows exactly what comes back. It also frames the scope as fleet-wide, which implicitly distinguishes it from the device-scoped list sibling, though it never names ninjaone_list_device_os_patch_installs directly.

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?

'Use it for fleet questions; follow up on one device with ninjaone_get_device_profile' gives explicit when-to-use guidance and routes to an alternative for the single-device case. It stops short of stating when NOT to use it versus the closely named report_os_patches or list_device_os_patch_installs variants, so the routing is helpful but not exhaustive.

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